You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(security): harden checkpoint loading and fix LoRA initialization bugs
- loader: use precise .pt detection (glob: *.pt, suffix: .pt)
- loader: enforce torch.load on CPU with weights_only for safety
- lora: use torch.rand for float dtype in random() to avoid runtime error
- code cleanup: remove unused code and simplify operations
0 commit comments