Upload aoti.py
Browse files
aoti.py
CHANGED
|
@@ -1,6 +1,10 @@
|
|
| 1 |
"""
|
| 2 |
AOTI (Ahead-of-Time Compilation) Utilities for ZeroGPU
|
| 3 |
Loads pre-compiled model blocks from HuggingFace Hub
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
"""
|
| 5 |
|
| 6 |
from typing import cast
|
|
|
|
| 1 |
"""
|
| 2 |
AOTI (Ahead-of-Time Compilation) Utilities for ZeroGPU
|
| 3 |
Loads pre-compiled model blocks from HuggingFace Hub
|
| 4 |
+
|
| 5 |
+
Source: Based on zerogpu-aoti implementation
|
| 6 |
+
https://huggingface.co/spaces/zerogpu-aoti/wan2-2-fp8da-aoti-faster
|
| 7 |
+
Credits: ZeroGPU AoTI Team (Charles Bensimon, Sayak Paul, Linoy Tsaban, Apolinário Passos)
|
| 8 |
"""
|
| 9 |
|
| 10 |
from typing import cast
|