Instructions to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mradermacher/MagicPrompt-Stable-Diffusion-GGUF", dtype="auto", device_map="auto") - llama-cpp-python
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="mradermacher/MagicPrompt-Stable-Diffusion-GGUF", filename="MagicPrompt-Stable-Diffusion.IQ4_XS.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 mradermacher/MagicPrompt-Stable-Diffusion-GGUF with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
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 mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
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 mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
Use Docker
docker model run hf.co/mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with Ollama:
ollama run hf.co/mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- Unsloth Studio
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF 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 mradermacher/MagicPrompt-Stable-Diffusion-GGUF 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 mradermacher/MagicPrompt-Stable-Diffusion-GGUF to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for mradermacher/MagicPrompt-Stable-Diffusion-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with Docker Model Runner:
docker model run hf.co/mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- Lemonade
How to use mradermacher/MagicPrompt-Stable-Diffusion-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull mradermacher/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
Run and chat with the model
lemonade run user.MagicPrompt-Stable-Diffusion-GGUF-Q4_K_M
List all available models
lemonade list
uploaded from leia
Browse files- .gitattributes +12 -0
- MagicPrompt-Stable-Diffusion.IQ4_XS.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q2_K.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q3_K_L.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q3_K_M.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q3_K_S.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q4_K_M.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q4_K_S.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q5_K_M.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q5_K_S.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q6_K.gguf +3 -0
- MagicPrompt-Stable-Diffusion.Q8_0.gguf +3 -0
- MagicPrompt-Stable-Diffusion.f16.gguf +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,15 @@ 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 |
+
MagicPrompt-Stable-Diffusion.IQ4_XS.gguf filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
MagicPrompt-Stable-Diffusion.Q2_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
MagicPrompt-Stable-Diffusion.Q3_K_L.gguf filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
MagicPrompt-Stable-Diffusion.Q3_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
MagicPrompt-Stable-Diffusion.Q3_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
MagicPrompt-Stable-Diffusion.Q4_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
MagicPrompt-Stable-Diffusion.Q4_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
MagicPrompt-Stable-Diffusion.Q5_K_M.gguf filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
MagicPrompt-Stable-Diffusion.Q5_K_S.gguf filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
MagicPrompt-Stable-Diffusion.Q6_K.gguf filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
MagicPrompt-Stable-Diffusion.Q8_0.gguf filter=lfs diff=lfs merge=lfs -text
|
| 47 |
+
MagicPrompt-Stable-Diffusion.f16.gguf filter=lfs diff=lfs merge=lfs -text
|
MagicPrompt-Stable-Diffusion.IQ4_XS.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:65fceefe76aff9ca46d076eded9793b2767e984c4b5093a306ddd55da938fe0c
|
| 3 |
+
size 103063776
|
MagicPrompt-Stable-Diffusion.Q2_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e51fd1282bc9a5df8f6d5869721c46b74ac71dadfdef7442d227263c0b92def3
|
| 3 |
+
size 81196928
|
MagicPrompt-Stable-Diffusion.Q3_K_L.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:86171879aff674f47a50c294146a7c124ad9e1bce7ab4c5a0c066fe4acf2e64d
|
| 3 |
+
size 102092864
|
MagicPrompt-Stable-Diffusion.Q3_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0cd1a0bb828f024ecdb7bfd17677b0b745d09499b2cfd8178764942d396f9d59
|
| 3 |
+
size 97669184
|
MagicPrompt-Stable-Diffusion.Q3_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:faf0c86733aa83f8de26bba1e12beade32ee55ec1968bb9840950a1c3037702d
|
| 3 |
+
size 90148928
|
MagicPrompt-Stable-Diffusion.Q4_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cc6b9cff2aaecba563c8a00e60b31472ca89f673d5fe697d01492cec6b32cf38
|
| 3 |
+
size 112859264
|
MagicPrompt-Stable-Diffusion.Q4_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4bb175187a5808c39b7b9a29c633e7450090b26e3e2ecf9c6d846e388b82dfbf
|
| 3 |
+
size 106850432
|
MagicPrompt-Stable-Diffusion.Q5_K_M.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1288b432789b44dff15cdb4272fdfa4b164784b67ea0e2d48abdfa2954a74fc2
|
| 3 |
+
size 126697184
|
MagicPrompt-Stable-Diffusion.Q5_K_S.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ea432e27df16906165fd9977cb238898f831faf51c8a22b865868e060afb6ff4
|
| 3 |
+
size 121997024
|
MagicPrompt-Stable-Diffusion.Q6_K.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1335ff8d6ca68d515bfba60e3c803e3c2de85b1d3b36c59340f57d4f05a36b38
|
| 3 |
+
size 138403616
|
MagicPrompt-Stable-Diffusion.Q8_0.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9db9b1997737d53d006abe0d32d8af94baa7a0ac0082ce5fc8582232acca79fc
|
| 3 |
+
size 177669344
|
MagicPrompt-Stable-Diffusion.f16.gguf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28fa8f7a87219bc88ee230894d00ef83b782e15d22027018bc89c0eab5c44fe7
|
| 3 |
+
size 329665632
|