ACE-Step 음원 생성 AI 설치해서 써먹어보기

https://github.com/ace-step/ACE-Step

상기의 링크를 참고하자.

cu124 기준(RTX 4000번대 기존 호환 빌드업)


git clone https://github.com/ace-step/ACE-Step.git
cd ACE-Step
conda create -n ace_step -y python==3.11.3
conda activate ace_step
pip install timm>=1.0.17
pip install scipy
pip install pandas pydantic
pip install aiofiles==23.2.1
pip install torch==2.5.1 torchvision torchaudio --index-url https://download.pytorch.org/whl/test/cu124
pip install https://huggingface.co/madbuda/triton-windows-builds/resolve/main/triton-2.1.0-cp311-cp311-win_amd64.whl
pip install https://github.com/woct0rdho/SageAttention/releases/download/v2.1.1-windows/sageattention-2.1.1+cu124torch2.5.1-cp311-cp311-win_amd64.whl
pip install librosa==0.11.0

pip install -e .
pip install soxr>=0.3.2

cu128 기준(RTX 4000번대 5000번대 지원)

git clone https://github.com/ace-step/ACE-Step.git
cd ACE-Step
conda create -n ace_step -y python==3.11.3
conda activate ace_step
pip install timm>=1.0.17
pip install scipy
pip install pandas pydantic
pip install aiofiles==23.2.1
pip install torch==2.7.0 torchvision==0.22.0 torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128
pip install pytorch-lightning==2.5.2
pip install https://github.com/kingbri1/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu128torch2.7.0cxx11abiFALSE-cp311-cp311-win_amd64.whl
pip install https://github.com/woct0rdho/triton-windows/releases/download/v3.2.0-windows.post9/triton-3.2.0-cp311-cp311-win_amd64.whl
pip install https://github.com/woct0rdho/SageAttention/releases/download/v2.1.1-windows/sageattention-2.1.1+cu128torch2.7.0-cp311-cp311-win_amd64.whl
pip install librosa==0.11.0
pip install soxr>=0.3.2
pip install -e .

로 설치를 완료했다면


acestep --port 7865

를 실행하여 시작해보자.

다음과 같은 gradio의 webui가 나오게 된다.

Generate를 누르면 사용될 가중치가 다운로드 된다.

자동으로 3.5B모델로 다운 받아주니 땡큐다.

다음과 같이 실행된다.

[verse]
Neon lights they flicker bright
City hums in dead of night
Rhythms pulse through concrete veins
Lost in echoes of refrains

[verse]
Bassline groovin’ in my chest
Heartbeats match the city’s zest
Electric whispers fill the air
Synthesized dreams everywhere

[chorus]
Turn it up and let it flow
Feel the fire let it grow
In this rhythm we belong
Hear the night sing out our song

[verse]
Guitar strings they start to weep
Wake the soul from silent sleep
Every note a story told
In this night we’re bold and gold

[bridge]
Voices blend in harmony
Lost in pure cacophony
Timeless echoes timeless cries
Soulful shouts beneath the skies

[verse]
Keyboard dances on the keys
Melodies on evening breeze
Catch the tune and hold it tight
In this moment we take flight

AI가 작곡한거 소개

acestep –port 7865 –bf16 true –cpu_offload true –overlapped_decode true

[verse]
어두운 방 안, 작은 화면에 빛이 피어나
소년의 눈빛, 별처럼 반짝이는 호기심
코드 한 줄, 세상을 바꾸는 마법 같아
에이아이의 속삭임, 끝없는 질문이 쏟아져
[chorus]
꿈속에서 날아, 에이아이의 우주를 헤엄쳐
무한한 호기심, 소년의 마음을 채워
미래를 코딩해, 별을 연결해
에이아이 Dreamer, 영원히 깨지 않을 꿈
[verse]
책장 가득, 기계의 비밀을 파헤치네
밤새워 실험, 실패도 웃으며 넘겨
인간처럼 생각하는 그날을 상상해
소년의 꿈은, 에이아이와 함께 자라네
[chorus]
꿈속에서 날아, 에이아이의 우주를 헤엄쳐
무한한 호기심, 소년의 마음을 채워
미래를 코딩해, 별을 연결해
에이아이 Dreamer, 영원히 깨지 않을 꿈
[bridge]
세상이 말해, 불가능하다고 해도
호기심의 불꽃, 꺼지지 않아
에이아이와 손잡고, 새로운 세상을 열어
소년의 꿈은, 무한의 문을 두드려
[verse]
에이아이 Dreamer, 호기심의 별이 되어라
꿈은 끝나지 않아, 영원히 빛나네

노래 자체는 몇 분 안돼서 나왔어요.

AI Dreamer

lyrics 비디오 하나 뚝딱 만들었습니다. 생각 이상으로 흡족합니다.