MCPcopy
hub / github.com/ace-step/ACE-Step-1.5

github.com/ace-step/ACE-Step-1.5 @v0.1.8 sqlite

repository ↗ · DeepWiki ↗ · release v0.1.8 ↗
4,834 symbols 19,528 edges 610 files 3,749 documented · 78%
README

ACE-Step 1.5 - Intel XPU Setup Guide

Quick start guide for running ACE-Step on Intel Arc GPUs and integrated graphics.

🎯 What You Need

  • Intel Arc GPU: A770, A750, A580, A380, or Intel integrated graphics
  • Python 3.11: Download from python.org
  • Latest Intel GPU drivers: Install from Intel's website
  • Internet connection: For first-time setup
  • Disk space: ~5-10 GB for dependencies

🚀 Quick Start

Option 1: Automatic Setup (Recommended)

  1. Run the setup script: bat setup_xpu.bat

  2. Wait for installation (takes a few minutes on first run)

  3. Launch the Gradio UI: bat start_gradio_ui_xpu.bat

  4. Open your browser: http://127.0.0.1:7860

Option 2: Manual Setup

  1. Create virtual environment: bat python -m venv venv_xpu

  2. Activate it: bat call venv_xpu\Scripts\activate

  3. Upgrade pip: bat python -m pip install --upgrade pip

  4. Install XPU dependencies: bat pip install -r requirements-xpu.txt

  5. Launch: bat start_gradio_ui_xpu.bat

📁 Model Configuration

Models should be placed in the checkpoints folder. If you already have models from a previous installation, they will be automatically detected.

Default Models

  • DiT Model: acestep-v15-turbo (fast generation)
  • LM Model: acestep-5Hz-lm-4B (best quality, uses CPU offload)

Launch Options

  1. Automatic (uses defaults): bat start_gradio_ui_xpu.bat

  2. Manual (choose models interactively): bat start_gradio_ui_xpu_manual.bat

  3. API Server (REST API access): bat start_api_server_xpu.bat

⚙️ XPU Environment Variables

The bat files automatically set these performance optimizations:

set SYCL_CACHE_PERSISTENT=1
set SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
set PYTORCH_DEVICE=xpu
set TORCH_COMPILE_BACKEND=eager

These settings improve XPU performance and are based on verified working configurations.

🔧 Configuration (.env file)

Create a .env file in the root directory to customize settings:

# Gradio UI Settings
PORT=7860
SERVER_NAME=127.0.0.1
LANGUAGE=en

# Model Settings
ACESTEP_CONFIG_PATH=acestep-v15-turbo
ACESTEP_LM_MODEL_PATH=acestep-5Hz-lm-4B
ACESTEP_OFFLOAD_TO_CPU=true

# API Settings
ACESTEP_API_KEY=your-secret-key

🛠️ Troubleshooting

"venv_xpu not found"

Run setup_xpu.bat to create the virtual environment.

"Intel XPU not detected"

  1. Check that your GPU drivers are up to date
  2. Verify PyTorch XPU installation: bat call venv_xpu\Scripts\activate python -c "import torch; print(torch.xpu.is_available())"

"torch.xpu.is_available() returns False"

Reinstall PyTorch XPU:

call venv_xpu\Scripts\activate
pip uninstall torch torchaudio torchvision
pip install --pre torch torchaudio torchvision --index-url https://download.pytorch.org/whl/nightly/xpu

Out of memory errors

  1. Use a smaller LM model (0.6B or 1.7B instead of 4B)
  2. Enable CPU offload in the UI
  3. Close other GPU-intensive applications

Audio loading issues

  • MP3/Opus/AAC files use torchaudio with ffmpeg backend (bundled)
  • FLAC/WAV files use soundfile (fastest)
  • If issues occur, try converting to WAV format

📊 Launch Scripts

Script Description
setup_xpu.bat One-command environment setup
start_gradio_ui_xpu.bat Launch Gradio web UI (automatic)
start_gradio_ui_xpu_manual.bat Launch Gradio UI with model selection
start_api_server_xpu.bat Launch REST API server

🎵 Audio Support

  • WAV/FLAC: Native support via soundfile (fastest)
  • MP3: Supported via torchaudio with ffmpeg backend
  • Opus/AAC: Supported via torchaudio

No additional codec installation needed!

📝 Notes

  1. First launch takes longer as models are initialized
  2. CPU offload is recommended for 4B LM on GPUs with <=16GB VRAM
  3. torch.compile is disabled (not fully supported on XPU yet)
  4. Python 3.11 is recommended for best compatibility

🆘 Need Help?

  • Check the main documentation: README.md
  • Verify XPU installation: Run verification commands above
  • Update check: Bat files automatically check for updates on startup

🎉 You're Ready!

Once setup is complete, simply run:

start_gradio_ui_xpu.bat

And start creating music with ACE-Step on your Intel GPU!

Core symbols most depended-on inside this repo

get
called by 1035
acestep/api/jobs/store.py
append
called by 594
acestep/training_v2/fixed_lora_module.py
t
called by 517
acestep/ui/gradio/i18n/i18n.py
get
called by 442
acestep/local_cache.py
time
called by 192
profile_inference.py
exists
called by 123
acestep/local_cache.py
float
called by 70
acestep/api/http/release_task_param_parser.py
norm
called by 61
acestep/third_parts/nano-vllm/nanovllm/models/qwen3.py

Shape

Method 2,628
Function 1,399
Class 716
Route 91

Languages

Python99%
TypeScript1%

Modules by API surface

acestep/core/generation/handler/init_service_test.py88 symbols
acestep/models/xl_turbo/modeling_acestep_v15_xl_turbo.py59 symbols
acestep/models/xl_sft/modeling_acestep_v15_xl_base.py59 symbols
acestep/models/xl_base/modeling_acestep_v15_xl_base.py59 symbols
acestep/models/turbo/modeling_acestep_v15_turbo.py59 symbols
acestep/models/sft/modeling_acestep_v15_base.py59 symbols
acestep/models/base/modeling_acestep_v15_base.py59 symbols
acestep/llm_inference.py55 symbols
acestep/constrained_logits_processor.py50 symbols
acestep/model_downloader_test.py49 symbols
acestep/ui/gradio/events/generation_handlers_test.py48 symbols
acestep/core/generation/handler/generate_music_decode_test.py40 symbols

Dependencies from manifests, versioned

vitepress1.6.3 · 1×
accelerate1.12.0 · 1×
diffusers0.37.0 · 1×
diskcache
einops0.8.1 · 1×
fastapi0.110.0 · 1×
gradio6.2.0 · 1×
lightning2.0.0 · 1×
loguru0.7.3 · 1×
matplotlib3.7.5 · 1×
mlx0.25.2 · 1×
mlx-lm0.20.0 · 1×

For agents

$ claude mcp add ACE-Step-1.5 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact