Lokale Bereitstellungsanleitung

HeartMuLa Installieren

Führen Sie den Open-Source KI-Musikgenerator auf Ihrer eigenen Hardware aus

24GB VRAMRTX 3090+Apache 2.0~12GB

Systemanforderungen

KomponenteMinimumEmpfohlen
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+

Unterstützte GPUs

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

Empfohlen (16-24GB)

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

Minimum (16GB mit Quantisierung)

RTX 4080 Super16GB VRAM
RTX 4070 Ti16GB VRAM

Cloud GPU Dienste

Keine leistungsstarke GPU? Mieten Sie eine bei diesen Anbietern

Empfohlen

RunPod

GPU cloud platform with easy deployment and competitive pricing

Preis:$0.39 - $1.99/hr

Funktionen:

  • RTX 4090 and A100 available
  • Pre-built templates
  • Persistent storage
  • Serverless option
Seite Besuchen

Vast.ai

Marketplace for GPU rentals with lowest prices

Preis:$0.20 - $2.00/hr

Funktionen:

  • Bid-based pricing
  • Wide GPU selection
  • Docker support
  • Community instances
Seite Besuchen

Lambda Labs

ML-focused cloud with high-end GPUs

Preis:$0.50 - $2.49/hr

Funktionen:

  • H100 and A100 available
  • Pre-installed ML stack
  • On-demand and reserved
  • Enterprise support
Seite Besuchen

Google Colab

Free tier available, good for testing

Preis:Free - $49.99/mo

Funktionen:

  • Free T4 GPU tier
  • Jupyter notebook
  • Google Drive integration
  • A100 on Pro+ plan
Seite Besuchen

Paperspace

Developer-friendly GPU cloud platform

Preis:$0.45 - $3.09/hr

Funktionen:

  • Gradient notebooks
  • A100 available
  • Persistent storage
  • Team collaboration
Seite Besuchen

Installationsmethoden

ComfyUI Workflow

Einfach

Visual node-based interface for music generation

Schritte:

  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

Befehle:

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

Python Package

Mittel

Direct Python API for programmatic access

Schritte:

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

Befehle:

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

Fortgeschritten

Containerized deployment for production use

Schritte:

  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

Befehle:

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

Von Hugging Face Herunterladen

Holen Sie sich die HeartMuLa 3B Modellgewichte direkt von Hugging Face. Apache 2.0 Lizenz für kommerzielle Nutzung.

Häufig Gestellte Fragen

Kann ich HeartMuLa mit weniger als 24GB VRAM ausführen?

Ja, mit FP16-Quantisierung können Sie auf 16GB VRAM GPUs wie RTX 4080 ausführen. Die Qualität kann leicht reduziert sein.

Funktioniert HeartMuLa auf Mac mit Apple Silicon?

Derzeit nein. HeartMuLa benötigt CUDA (NVIDIA GPU). macOS mit Apple Silicon wird noch nicht unterstützt.

Wie lange dauert es, einen Song zu generieren?

Auf RTX 4090 dauert ein 3-minütiger Song etwa 2-3 Minuten. Die Generierungszeit skaliert mit der Dauer.

Kann ich die generierte Musik kommerziell nutzen?

Ja! HeartMuLa ist unter Apache 2.0 lizenziert. Sie besitzen alle Rechte an der Musik, die Sie generieren.

Brauchen Sie Hilfe beim Einstieg?

Testen Sie HeartMuLa zuerst online, oder durchsuchen Sie die Stil-Tags, um die Möglichkeiten zu entdecken.