Commit Graph

4 Commits

Author SHA1 Message Date
74f69707b8 Pin transformers<4.40.0 for PyTorch 2.1 compatibility
transformers 4.40+ uses serialized_type_name kwarg in _register_pytree_node()
which doesn't exist in PyTorch 2.1. Pin to older version.

Also removes the ineffective pytree shim.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 14:34:37 +01:00
f27ac50f1d Pin PyTorch <2.4.0 for AudioCraft compatibility
AudioCraft requires PyTorch 2.1.x. PyTorch 2.4+ changed the
torch.utils._pytree API (serialized_type_name parameter), breaking
AudioCraft's model loading.

- Pin torch>=2.1.0,<2.4.0
- Pin torchaudio>=2.1.0,<2.4.0
- Remove broken pytree monkey-patch attempt

After pulling, reinstall with:
  pip install -r requirements.txt --force-reinstall torch torchaudio

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-27 13:43:26 +01:00
1513f1fefa Fix import errors and NumPy compatibility
- Rename create_theme() to create_audiocraft_theme() to match imports
- Add missing get_custom_css() function
- Pin numpy<2.0.0 for PyTorch compatibility
- Replace deprecated pynvml with nvidia-ml-py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 23:11:18 +01:00
ffbf02b12c Initial implementation of AudioCraft Studio
Complete web interface for Meta's AudioCraft AI audio generation:

- Gradio UI with tabs for all 5 model families (MusicGen, AudioGen,
  MAGNeT, MusicGen Style, JASCO)
- REST API with FastAPI, OpenAPI docs, and API key auth
- VRAM management with ComfyUI coexistence support
- SQLite database for project/generation history
- Batch processing queue for async generation
- Docker deployment optimized for RunPod with RTX 4090

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 19:34:27 +01:00