Spaces:
Sleeping

Cursor Agent AHAD commited on
Commit
7b0cf07
·
unverified ·
1 Parent(s): 7a6eba8

Fix PyTorch 2.6 checkpoint loading for Diac Lightning models

Browse files

Register yacs CfgNode safe globals and default weights_only=False when
loading from_pretrained checkpoints (PyTorch 2.6 weights_only=True default).

Co-authored-by: AHAD <ahad-m@users.noreply.github.com>

2 files changed +79
Files changed (2)
backend/app/checkpoint_compat.pyAdded+76
backend/app/services/model_service.py+3