Spaces:
Runtime error
Runtime error
init
Browse files
app.py
CHANGED
|
@@ -66,7 +66,7 @@ def load(
|
|
| 66 |
# ), f"Loading a checkpoint for MP={len(checkpoints)} but world size is {world_size}"
|
| 67 |
# ckpt_path = checkpoints[local_rank]
|
| 68 |
print("Loading")
|
| 69 |
-
checkpoint = torch.load(ckpt_path, map_location="
|
| 70 |
instruct_adapter_checkpoint = torch.load(
|
| 71 |
instruct_adapter_path, map_location="cpu")
|
| 72 |
caption_adapter_checkpoint = torch.load(
|
|
|
|
| 66 |
# ), f"Loading a checkpoint for MP={len(checkpoints)} but world size is {world_size}"
|
| 67 |
# ckpt_path = checkpoints[local_rank]
|
| 68 |
print("Loading")
|
| 69 |
+
checkpoint = torch.load(ckpt_path, map_location="cuda")
|
| 70 |
instruct_adapter_checkpoint = torch.load(
|
| 71 |
instruct_adapter_path, map_location="cpu")
|
| 72 |
caption_adapter_checkpoint = torch.load(
|