Guide de Déploiement Local

Installer HeartMuLa

Exécutez le générateur de musique IA open source sur votre propre matériel

24GB VRAMRTX 3090+Apache 2.0~12GB

Configuration Requise

ComposantMinimumRecommandé
GPU16GB VRAM (FP16 quantized)24GB+ VRAM
RAM32GB64GB
Storage20GB free space50GB+ SSD
OSLinux / Windows 10+Ubuntu 22.04 / Windows 11
Python3.103.10 - 3.11
CUDA11.812.1+

GPUs Compatibles

Optimal (24GB+ VRAM)

NVIDIA A100 80GB80GB VRAM
NVIDIA A100 40GB40GB VRAM
NVIDIA H10080GB VRAM
RTX 409024GB VRAM
RTX 309024GB VRAM
RTX 3090 Ti24GB VRAM
RTX A600048GB VRAM
RTX A500024GB VRAM
RTX 5000 Ada32GB VRAM

Recommandé (16-24GB)

RTX 408016GB VRAM
RTX 4070 Ti Super16GB VRAM
RTX A450020GB VRAM

Minimum (16GB avec quantification)

RTX 4080 Super16GB VRAM
RTX 4070 Ti16GB VRAM

Services GPU Cloud

Pas de GPU puissant ? Louez-en un chez ces fournisseurs

Recommandé

RunPod

GPU cloud platform with easy deployment and competitive pricing

Prix:$0.39 - $1.99/hr

Fonctionnalités:

  • RTX 4090 and A100 available
  • Pre-built templates
  • Persistent storage
  • Serverless option
Visiter le Site

Vast.ai

Marketplace for GPU rentals with lowest prices

Prix:$0.20 - $2.00/hr

Fonctionnalités:

  • Bid-based pricing
  • Wide GPU selection
  • Docker support
  • Community instances
Visiter le Site

Lambda Labs

ML-focused cloud with high-end GPUs

Prix:$0.50 - $2.49/hr

Fonctionnalités:

  • H100 and A100 available
  • Pre-installed ML stack
  • On-demand and reserved
  • Enterprise support
Visiter le Site

Google Colab

Free tier available, good for testing

Prix:Free - $49.99/mo

Fonctionnalités:

  • Free T4 GPU tier
  • Jupyter notebook
  • Google Drive integration
  • A100 on Pro+ plan
Visiter le Site

Paperspace

Developer-friendly GPU cloud platform

Prix:$0.45 - $3.09/hr

Fonctionnalités:

  • Gradient notebooks
  • A100 available
  • Persistent storage
  • Team collaboration
Visiter le Site

Méthodes d'Installation

ComfyUI Workflow

Facile

Visual node-based interface for music generation

Étapes:

  1. 1Install ComfyUI following official guide
  2. 2Install HeartMuLa custom nodes from ComfyUI Manager
  3. 3Download HeartMuLa model from Hugging Face
  4. 4Place model in ComfyUI/models/heartmula/
  5. 5Load the example workflow and start creating

Commandes:

cd ComfyUI/custom_nodes git clone https://github.com/m-a-p/ComfyUI-HeartMuLa pip install -r ComfyUI-HeartMuLa/requirements.txt

Python Package

Moyen

Direct Python API for programmatic access

Étapes:

  1. 1Create a virtual environment
  2. 2Install PyTorch with CUDA support
  3. 3Install HeartMuLa from pip
  4. 4Download model weights
  5. 5Run inference script

Commandes:

python -m venv heartmula-env source heartmula-env/bin/activate pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 pip install heartmula heartmula download --model 3b

Docker Container

Avancé

Containerized deployment for production use

Étapes:

  1. 1Install Docker and NVIDIA Container Toolkit
  2. 2Pull the official HeartMuLa Docker image
  3. 3Run container with GPU access
  4. 4Access the web UI or API endpoint

Commandes:

docker pull heartmula/heartmula:latest docker run --gpus all -p 7860:7860 heartmula/heartmula:latest

Télécharger depuis Hugging Face

Obtenez les poids du modèle HeartMuLa 3B directement depuis Hugging Face. Licence Apache 2.0 pour usage commercial.

Questions Fréquentes

Puis-je exécuter HeartMuLa avec moins de 24GB de VRAM ?

Oui, avec la quantification FP16, vous pouvez exécuter sur des GPUs 16GB VRAM comme la RTX 4080. La qualité peut être légèrement réduite.

HeartMuLa fonctionne-t-il sur Mac avec Apple Silicon ?

Actuellement non. HeartMuLa nécessite CUDA (GPU NVIDIA). macOS avec Apple Silicon n'est pas encore supporté.

Combien de temps faut-il pour générer une chanson ?

Sur RTX 4090, une chanson de 3 minutes prend environ 2-3 minutes. Le temps de génération varie avec la durée.

Puis-je utiliser la musique générée commercialement ?

Oui ! HeartMuLa est sous licence Apache 2.0. Vous avez tous les droits sur la musique que vous générez.

Besoin d'Aide pour Commencer ?

Essayez HeartMuLa en ligne d'abord, ou parcourez les tags de style pour découvrir les possibilités.