Spaces:
Building
Building
Commit History
-
Enhance GPU support with stronger enforcement
- Added spacy.require_gpu() for stronger GPU enforcement in base_analyzer.py - Created gpu_init.py module to initialize GPU before any SpaCy imports - Import gpu_init at the very start of app.py to ensure early GPU setup - Enhanced GPU debugging scripts for HuggingFace Spaces These changes ensure that when deployed to HuggingFace Spaces with GPU: 1. GPU is initialized before any model loading 2. SpaCy is forced to use GPU with require_gpu() 3. All model components are explicitly moved to GPU 4. GPU usage is verified and reportedbb65e54