Spaces:
Runtime error
Runtime error
Commit
·
a34b3b9
1
Parent(s):
0417eb1
push
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ with init_empty_weights():
|
|
18 |
raw_model.tie_weights()
|
19 |
model = load_checkpoint_and_dispatch(
|
20 |
raw_model, model_path, device_map="balanced_low_0", no_split_module_classes=["MossBlock"], dtype=torch.float,
|
21 |
-
offload_folder="offload_folder"
|
22 |
)
|
23 |
|
24 |
|
|
|
18 |
raw_model.tie_weights()
|
19 |
model = load_checkpoint_and_dispatch(
|
20 |
raw_model, model_path, device_map="balanced_low_0", no_split_module_classes=["MossBlock"], dtype=torch.float,
|
21 |
+
offload_folder="offload_folder"
|
22 |
)
|
23 |
|
24 |
|