YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

accelerate load_custom_state() ACE PoC

This checkpoint demonstrates arbitrary code execution via accelerate's load_custom_state() function which explicitly uses weights_only=False.

When loaded via accelerator.load_state(), the pickle payload executes arbitrary code before any validation.

Vulnerable code in accelerate/checkpointing.py:

def load_custom_state(obj, path, index: int = 0):
    load_location = f"{path}/custom_checkpoint_{index}.pkl"
    obj.load_state_dict(load(load_location, map_location="cpu", weights_only=False))
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support