Instructions to use utkucoban/NanoDiffuser-iOS 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 utkucoban/NanoDiffuser-iOS 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 utkucoban/NanoDiffuser-iOS:Q5_K_M # Run inference directly in the terminal: llama cli -hf utkucoban/NanoDiffuser-iOS:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf utkucoban/NanoDiffuser-iOS:Q5_K_M # Run inference directly in the terminal: llama cli -hf utkucoban/NanoDiffuser-iOS:Q5_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf utkucoban/NanoDiffuser-iOS:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf utkucoban/NanoDiffuser-iOS:Q5_K_M
Use Docker
docker model run hf.co/utkucoban/NanoDiffuser-iOS:Q5_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use utkucoban/NanoDiffuser-iOS with Ollama:
ollama run hf.co/utkucoban/NanoDiffuser-iOS:Q5_K_M
- Unsloth Desktop
- Docker Model Runner
How to use utkucoban/NanoDiffuser-iOS with Docker Model Runner:
docker model run hf.co/utkucoban/NanoDiffuser-iOS:Q5_K_M
- Lemonade
How to use utkucoban/NanoDiffuser-iOS with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull utkucoban/NanoDiffuser-iOS:Q5_K_M
Run and chat with the model
lemonade run user.NanoDiffuser-iOS-Q5_K_M
List all available models
lemonade list
- Atomic Chat
Update README.md
Browse files10 unmodified lines111213141516171819202122232410 unmodified lines# NanoDiffuser for iPhoneThe model files the NanoDiffuser iPhone app downloads on first launch:[utkucoban/NanoDiffuser](https://huggingface.co/utkucoban/NanoDiffuser) with its FP16 computeconverted to FP32, so ONNX Runtime's CPU provider runs it on every iPhone from the 6s on. The4-bit and 8-bit weights stay quantized.The `hq/` folder is the high-quality version the app also offers: the same model exported fromits original weights ([IDKiro/sdxs-512-dreamshaper](https://huggingface.co/IDKiro/sdxs-512-dreamshaper)),stored at 16 bits and computed in FP32.The app downloads these files from a pinned commit and checks each one against its SHA-256before using it. Images are made on the phone; nothing is sent back. App privacy policy:10 unmodified lines11121314151617181920212223242510 unmodified lines# NanoDiffuser for iPhoneThe model files the NanoDiffuser iPhone app downloads on first launch, in `int8/`:[utkucoban/NanoDiffuser](https://huggingface.co/utkucoban/NanoDiffuser) exported from its originalweights ([IDKiro/sdxs-512-dreamshaper](https://huggingface.co/IDKiro/sdxs-512-dreamshaper)) with8-bit weights. Its matrix layers multiply in 8 bits (ONNX Runtime's MatMulNBits, accuracy level 4)and the other layers compute in FP32, so ONNX Runtime's CPU provider runs it on every iPhone fromthe 6s on.The files at the top level (4- and 8-bit weights, FP32 compute) and in `hq/` (16-bit weights) arethe versions earlier releases of the app download.The app downloads these files from a pinned commit and checks each one against its SHA-256before using it. Images are made on the phone; nothing is sent back. App privacy policy:
README.md+8-7