Describe the bug
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.
Material
How to Fix
pip install the latest sample-factory:
!pip install sample-factory==2.1.3