Instructions to use QuantFactory/MagicPrompt-Stable-Diffusion-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use QuantFactory/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 QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/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 QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: llama cli -hf QuantFactory/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 QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./llama-cli -hf QuantFactory/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 QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
Use Docker
docker model run hf.co/QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- LM Studio
- Jan
- Ollama
How to use QuantFactory/MagicPrompt-Stable-Diffusion-GGUF with Ollama:
ollama run hf.co/QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- Unsloth Studio
How to use QuantFactory/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 QuantFactory/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 QuantFactory/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 QuantFactory/MagicPrompt-Stable-Diffusion-GGUF to start chatting
- Atomic Chat new
- Docker Model Runner
How to use QuantFactory/MagicPrompt-Stable-Diffusion-GGUF with Docker Model Runner:
docker model run hf.co/QuantFactory/MagicPrompt-Stable-Diffusion-GGUF:Q4_K_M
- Lemonade
How to use QuantFactory/MagicPrompt-Stable-Diffusion-GGUF with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull QuantFactory/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
File size: 2,206 Bytes
7fd032b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
---
license: mit
---
[](https://hf.co/QuantFactory)
# QuantFactory/MagicPrompt-Stable-Diffusion-GGUF
This is quantized version of [Gustavosta/MagicPrompt-Stable-Diffusion](https://huggingface.co/Gustavosta/MagicPrompt-Stable-Diffusion) created using llama.cpp
# Original Model Card
# MagicPrompt - Stable Diffusion
This is a model from the MagicPrompt series of models, which are [GPT-2](https://huggingface.co/gpt2) models intended to generate prompt texts for imaging AIs, in this case: [Stable Diffusion](https://huggingface.co/CompVis/stable-diffusion).
## 🖼️ Here's an example:
<img src="https://files.catbox.moe/ac3jq7.png">
This model was trained with 150,000 steps and a set of about 80,000 data filtered and extracted from the image finder for Stable Diffusion: "[Lexica.art](https://lexica.art/)". It was a little difficult to extract the data, since the search engine still doesn't have a public API without being protected by cloudflare, but if you want to take a look at the original dataset, you can have a look here: [datasets/Gustavosta/Stable-Diffusion-Prompts](https://huggingface.co/datasets/Gustavosta/Stable-Diffusion-Prompts).
If you want to test the model with a demo, you can go to: "[spaces/Gustavosta/MagicPrompt-Stable-Diffusion](https://huggingface.co/spaces/Gustavosta/MagicPrompt-Stable-Diffusion)".
## 💻 You can see other MagicPrompt models:
- For Dall-E 2: [Gustavosta/MagicPrompt-Dalle](https://huggingface.co/Gustavosta/MagicPrompt-Dalle)
- For Midjourney: [Gustavosta/MagicPrompt-Midourney](https://huggingface.co/Gustavosta/MagicPrompt-Midjourney) **[⚠️ In progress]**
- MagicPrompt full: [Gustavosta/MagicPrompt](https://huggingface.co/Gustavosta/MagicPrompt) **[⚠️ In progress]**
## ⚖️ Licence:
[MIT](https://huggingface.co/models?license=license:mit)
When using this model, please credit: [Gustavosta](https://huggingface.co/Gustavosta)
**Thanks for reading this far! :)**
|