Instructions to use CreativeHub008/MusicGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- llama-cpp-python
How to use CreativeHub008/MusicGen with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="CreativeHub008/MusicGen", filename="Qwen3-Embedding-0.6B-Q8_0.gguf", )
output = llm( "Once upon a time,", max_tokens=512, echo=True ) print(output)
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use CreativeHub008/MusicGen with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf CreativeHub008/MusicGen:Q8_0 # Run inference directly in the terminal: llama-cli -hf CreativeHub008/MusicGen:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf CreativeHub008/MusicGen:Q8_0 # Run inference directly in the terminal: llama-cli -hf CreativeHub008/MusicGen:Q8_0
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf CreativeHub008/MusicGen:Q8_0 # Run inference directly in the terminal: ./llama-cli -hf CreativeHub008/MusicGen:Q8_0
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf CreativeHub008/MusicGen:Q8_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf CreativeHub008/MusicGen:Q8_0
Use Docker
docker model run hf.co/CreativeHub008/MusicGen:Q8_0
- LM Studio
- Jan
- Ollama
How to use CreativeHub008/MusicGen with Ollama:
ollama run hf.co/CreativeHub008/MusicGen:Q8_0
- Unsloth Studio
How to use CreativeHub008/MusicGen with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CreativeHub008/MusicGen to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for CreativeHub008/MusicGen to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for CreativeHub008/MusicGen to start chatting
- Atomic Chat new
- Docker Model Runner
How to use CreativeHub008/MusicGen with Docker Model Runner:
docker model run hf.co/CreativeHub008/MusicGen:Q8_0
- Lemonade
How to use CreativeHub008/MusicGen with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull CreativeHub008/MusicGen:Q8_0
Run and chat with the model
lemonade run user.MusicGen-Q8_0
List all available models
lemonade list
Upload folder using huggingface_hub
Browse files- .gitattributes +4 -0
- Qwen3-Embedding-0.6B-Q8_0.gguf +3 -0
- musicGen-5Hz-4B-Q8_0.gguf +3 -0
- musicGen-v15-turbo-Q8_0.gguf +3 -0
- vae-BF16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
musicGen-5Hz-4B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
musicGen-v15-turbo-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
Qwen3-Embedding-0.6B-Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
vae-BF16.gguf filter=lfs diff=lfs merge=lfs -text
|
Qwen3-Embedding-0.6B-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972f23255e46adfe744a0eb9a0039f3c63988f65753b0968d776e8b27168c321
|
| 3 |
+
size 784144960
|
musicGen-5Hz-4B-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:972f91147a167f0c041f1b158d67985a82c0f6a852e68cdf70e46030cf08b1bc
|
| 3 |
+
size 4457323648
|
musicGen-v15-turbo-Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:288f708a61cfc241013a98a62f98ba331f83fe34d0d3559acdd9b0f6a2f7cd6b
|
| 3 |
+
size 2549528000
|
vae-BF16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0599862ac5d15cd308e1d2e368373aea6c02e25ebd1737ad4a4562a0901b0ef8
|
| 3 |
+
size 337420928
|