ComfyUI/comfy/weight_adapter
Xiao Ji Ji 47414ffa45 fix: replace bare except with specific exception types
Replace bare except clauses with specific exception types in:
- comfy/sd.py: VAE.spacial_compression_decode/encode and temporal_compression_decode
- comfy/sd1_clip.py: token_weights and load_embed functions
- comfy/weight_adapter/lora.py: LoRAAdapter.load

This ensures that:
- Only relevant exceptions are caught (not SystemExit, KeyboardInterrupt)
- Debugging is easier as unexpected errors will propagate
- Follows Python best practices for exception handling
2026-03-18 14:39:46 +00:00
..
__init__.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00
base.py MPDynamic: force load flux img_in weight (Fixes flux1 canny+depth lora crash) (#12446) 2026-02-15 20:30:09 -05:00
boft.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00
bypass.py [Trainer] training with proper offloading (#12189) 2026-02-10 21:45:19 -05:00
glora.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00
loha.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00
lokr.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00
lora.py fix: replace bare except with specific exception types 2026-03-18 14:39:46 +00:00
oft.py [Weight-adapter/Trainer] Bypass forward mode in Weight adapter system (#11958) 2026-01-24 22:56:22 -05:00