Spaces:
Build error
Build error
Commit History
-
Fix proxy crash when torch not installed (kompress lazy imports)
The proxy startup crashed with `ModuleNotFoundError: No module named 'torch'` when installed with just `[proxy]` extras because kompress_compressor.py had unconditional top-level torch imports. Moved torch/transformers imports to be lazy so the module is safely importable without the [ml] extra. Added tests for import safety. Bumped version to 0.4.580f8f0d