Files
mlx-knife/requirements.txt
T
The BROKE Team cbd25c658d Release MLX Knife 1.0.2 - HF_HOME Cache Consistency & Corruption Fixes │
│                                                                                                      │
│   Major bug fixes addressing cache path inconsistencies and silent failures:                         │
│   - Fix Issue #11: HF_HOME environment variable handling - unified cache logic ensures consistent    │
│   /hub subdirectory usage                                                                            │
│   - Fix Issue #9: Silent failure on corrupted models with empty snapshots directories                │
│   - Enhanced download throttling with adaptive delays (512KB chunks, 2-3s for large files)           │
│   - Added migration warnings for legacy cache locations with clear user guidance                     │
│   - Improved corruption detection and deletion workflow consistency                                  │
│                                                                                                      │
│   Technical improvements:                                                                            │
│   - Unified cache architecture: CACHE_ROOT/hub for both default and HF_HOME scenarios                │
│   - Exception-safe memory management with enhanced baseline tracking                                 │
│   - Updated dependencies to latest tested versions (Python 3.9-3.13 support)                         │
│   - All 105 tests passing with real MLX model verification
2025-08-18 14:02:30 +02:00

14 lines
388 B
Plaintext

# mlx_knife requirements
# Core dependencies for HuggingFace model management
huggingface-hub>=0.34.0
requests>=2.32.0
mlx-lm>=0.26.0 # For running MLX models with streaming support
mlx>=0.28.0 # Core MLX library
# API Server dependencies (for 'mlxk server' command)
fastapi>=0.116.0
uvicorn>=0.35.0
pydantic>=2.11.0
# Note: Python 3.9+ supported, tested on Apple Silicon M1/M2/M3