Spaces:
Running
on
Zero
Running
on
Zero
File size: 2,729 Bytes
ca80d1d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 |
# SceneWeaver Hugging Face Spaces Deployment Requirements # Optimized for ZeroGPU environment with safe version ranges # ============================================ # Core Deep Learning Framework # ============================================ # PyTorch 2.x series - compatible with SDXL and xformers torch>=2.0.0,<2.5.0 torchvision>=0.15.0,<0.20.0 torchaudio>=2.0.0,<2.5.0 # ============================================ # Diffusion Models and Transformers # ============================================ # Diffusers 0.25+ has better SDXL support, <0.32 for stability diffusers>=0.25.0,<0.32.0 # Transformers compatible with diffusers and open_clip transformers>=4.35.0,<4.46.0 # Accelerate for model loading optimizations accelerate>=0.24.0,<0.35.0 # xformers for memory efficient attention (optional, may fail on some systems) # xformers>=0.0.22,<0.0.29 # ============================================ # Computer Vision and Image Processing # ============================================ # OpenCV for image processing opencv-python>=4.8.0,<4.11.0 # opencv-contrib-python for guided filter (cv2.ximgproc) opencv-contrib-python>=4.8.0,<4.11.0 # Pillow for image I/O Pillow>=9.5.0,<11.0.0 # SciPy for scientific computing scipy>=1.10.0,<1.15.0 # ============================================ # Background Removal # ============================================ # rembg for foreground extraction (CPU version for compatibility) rembg>=2.0.50,<2.1.0 # ============================================ # Multi-modal Understanding (CLIP) # ============================================ # OpenCLIP for image analysis open_clip_torch>=2.20.0,<2.27.0 # Sentence transformers (dependency) sentence-transformers>=2.2.0,<3.1.0 # ============================================ # Web Interface # ============================================ # Gradio 4.x for modern UI gradio>=4.0.0,<5.0.0 # ============================================ # Core Scientific Computing # ============================================ # NumPy 1.x for compatibility numpy>=1.24.0,<2.0.0 # ============================================ # Hugging Face Integration # ============================================ # HuggingFace Hub for model downloads huggingface_hub>=0.19.0,<0.27.0 # Safetensors for efficient model loading safetensors>=0.4.0,<0.5.0 # ============================================ # System Utilities # ============================================ # psutil for memory monitoring psutil>=5.9.0,<6.1.0 # requests for HTTP operations requests>=2.28.0,<2.33.0 # ============================================ # Hugging Face Spaces (auto-installed on Spaces) # ============================================ # spaces # ZeroGPU support - auto-available on HF Spaces |