-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequirements_macos.txt
More file actions
49 lines (40 loc) · 1.35 KB
/
requirements_macos.txt
File metadata and controls
49 lines (40 loc) · 1.35 KB
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
# HeartMuLa Studio - macOS Requirements
# Optimized for PyInstaller bundling with Apple Metal GPU support
# Core Dependencies
fastapi>=0.115.2
uvicorn>=0.27.0
sqlmodel>=0.0.16
python-multipart>=0.0.18
python-dotenv>=1.0.0
requests>=2.32.2
aiofiles>=23.2.1
pydantic>=2.6.1
httpx>=0.27.0
sse-starlette>=2.0.0
huggingface_hub>=0.20.0
# PyTorch for Apple Metal
# Use conda or pip install torch for macOS with Metal support:
# pip install torch torchvision torchaudio
torch>=2.0.0
torchvision>=0.15.0
torchaudio>=2.0.0
# HeartLib - AI Music Generation Engine
heartlib @ git+https://github.com/HeartMuLa/heartlib.git
# Transformers
transformers>=4.35.0
# Audio Processing
soundfile>=0.12.0
librosa>=0.10.0
# Optional: Triton for torch.compile optimization (Linux/macOS Intel)
# Required for optimal performance with torch.compile
# Note: Not available on Apple Silicon - will be skipped gracefully
triton>=2.0.0; platform_machine != "arm64"
# Optional: Advanced ML dependencies
# These are optional for the application and imported with try/except in the codebase
# Uncomment only if you encounter import errors during runtime
# mamba-ssm # Uncomment if heartlib requires mamba-ssm for specific features
# tensorboard # Uncomment if you need TensorBoard logging capabilities
# PyInstaller for macOS App Bundle
pyinstaller>=6.0,<7.0
# PyWebView for native macOS UI
pywebview>=4.0