Copy
import
torch
# Loading the model triggers the __reduce__ payload.
torch.load(
"malicious_model.pth"
)