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
|
Download README.md from utkucoban/NanoDiffuser-iOS: direct link, hf CLI and curl.
- Browser
- Download file 1.15 kB
-
https://huggingface.co/utkucoban/NanoDiffuser-iOS/resolve/main/README.md
- Command line
-
hf download hf://utkucoban/NanoDiffuser-iOS/README.md
-
curl -L -o README.md https://huggingface.co/utkucoban/NanoDiffuser-iOS/resolve/main/README.md
1.15 kB
| license: openrail++ | |
| base_model: utkucoban/NanoDiffuser | |
| pipeline_tag: text-to-image | |
| library_name: onnx | |
| tags: | |
| - onnx | |
| - ios | |
| - text-to-image | |
| # NanoDiffuser for iPhone | |
| The model files the NanoDiffuser iPhone app downloads on first launch, in `int8/`: | |
| [utkucoban/NanoDiffuser](https://huggingface.co/utkucoban/NanoDiffuser) exported from its original | |
| weights ([IDKiro/sdxs-512-dreamshaper](https://huggingface.co/IDKiro/sdxs-512-dreamshaper)) with | |
| 8-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 from | |
| the 6s on. | |
| The files at the top level (4- and 8-bit weights, FP32 compute) and in `hq/` (16-bit weights) are | |
| the versions earlier releases of the app download. | |
| The app downloads these files from a pinned commit and checks each one against its SHA-256 | |
| before using it. Images are made on the phone; nothing is sent back. App privacy policy: | |
| [PRIVACY.md](PRIVACY.md). | |
| License: CreativeML Open RAIL++-M ([MODEL_LICENSE.md](MODEL_LICENSE.md)), including the | |
| use-based restrictions in Attachment A. | |