Spaces:
Running on Zero
Remove incompatible unused TorchAO dependency
Remove the unused torchao 0.11.0 dependency, its inactive quantization imports, and the associated commented-out call. TorchAO is not used by the active pipeline, but its presence causes PEFT to reject the obsolete version while loading the LoRA adapter. This narrowly removes the startup failure without changing model selection or active inference behavior.
Automated repair proposed by the scheduled Space monitor for revision 051af795b50052300ff4846d7e739358e42df705.
Findings: The Space runtime traceback shows PEFT aborting during LoRA loading because requirements pin torchao 0.11.0, while the installed PEFT requires torchao 0.16.0 or newer.; TorchAO is not used by the active application: its only source references are imports and a commented-out quantization call. Removing those references avoids PEFT's incompatible TorchAO dispatch witho…; The complete repaired source compiles successfully. Resolution for Python 3.10 with Gradio 6.26.0 and the Space requirements succeeds with PEFT 0.20.0 and no TorchAO installation.; The final Hub check remained at revision 051af795b50052300ff4846d7e739358e42df705 and still reported RUNTIME_ERROR with the same TorchAO incompatibility traceback.