Skip to content

Update sample-factory version to 2.1.3 to no pytorch 2.6+ error occurs #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

B-ramB
Copy link

@B-ramB B-ramB commented Jun 24, 2025

Sample-factory has an updated version which allows it to work with Pytroch2.6+

Sample-factory utilizes a pytorch function:
checkpoint_dict = torch.load(latest_checkpoint, map_location=device)

Pytorch 2.6+ requires an additional weights_only=False variable for the function.

This function is called correctly in sample-factory 2.1.3

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