Spaces:
Running
on
Zero
Running
on
Zero
Update aoti.py
Browse files
aoti.py
CHANGED
|
@@ -32,4 +32,4 @@ def aoti_blocks_load(module: torch.nn.Module, repo_id: str, variant: str | None
|
|
| 32 |
block_ = _shallow_clone_module(block)
|
| 33 |
unwrap_tensor_subclass_parameters(block_)
|
| 34 |
weights = ZeroGPUWeights(block_.state_dict())
|
| 35 |
-
block.forward = ZeroGPUCompiledModel(aoti_file, weights)
|
|
|
|
| 32 |
block_ = _shallow_clone_module(block)
|
| 33 |
unwrap_tensor_subclass_parameters(block_)
|
| 34 |
weights = ZeroGPUWeights(block_.state_dict())
|
| 35 |
+
block.forward = ZeroGPUCompiledModel(aoti_file, weights)
|