Skip to content

Adds explicit weights_only flag in model loading#75

Merged
miguelgondu merged 1 commit intomainfrom
updates-lambo2-to-new-torch
Feb 2, 2025
Merged

Adds explicit weights_only flag in model loading#75
miguelgondu merged 1 commit intomainfrom
updates-lambo2-to-new-torch

Conversation

@miguelgondu
Copy link
Collaborator

In torch==2.6, they changed to a default weights_only=True in the torch.load function. Since the LaMBO2 model stores configs we need to impose weights_only=False.

@miguelgondu miguelgondu merged commit e4161b7 into main Feb 2, 2025
7 checks passed
@miguelgondu miguelgondu deleted the updates-lambo2-to-new-torch branch February 2, 2025 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant