Skip to content

Commit

Permalink
Currently causing this error: (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
mergennachin authored Apr 16, 2024
1 parent 6b455c6 commit 32fdb5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _load_model_not_gguf(builder_args):
checkpoint[key] = cps[0][key]
else:
checkpoint = torch.load(
builder_args.checkpoint_path,
str(builder_args.checkpoint_path),
map_location=builder_args.device,
mmap=True,
weights_only=True,
Expand Down

0 comments on commit 32fdb5a

Please sign in to comment.