sparse-transformer-experiments / exp5_mechanism.py

Commit History

Fix: backward() inside @torch .no_grad() — use torch.enable_grad() for dense gradient computation
39301d6
verified

theapemachine commited on

Upload exp5_mechanism.py with huggingface_hub
aafd87e
verified

theapemachine commited on