Update to new version of base image
This commit is contained in:
@@ -90,6 +90,6 @@ def load_peft_weights(model_id: str,
|
||||
adapters_weights = safe_load_file(filename, device=device)
|
||||
else:
|
||||
adapters_weights = torch.load(filename,
|
||||
map_location=torch.device(device))
|
||||
map_location=torch.device(device), weights_only=True)
|
||||
|
||||
return adapters_weights
|
||||
|
||||
Reference in New Issue
Block a user