Instructions to use Luzira/sdluz 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 Luzira/sdluz 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 Luzira/sdluz:Q4_K_M # Run inference directly in the terminal: llama cli -hf Luzira/sdluz:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf Luzira/sdluz:Q4_K_M # Run inference directly in the terminal: llama cli -hf Luzira/sdluz:Q4_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 Luzira/sdluz:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf Luzira/sdluz:Q4_K_M
Use Docker
docker model run hf.co/Luzira/sdluz:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use Luzira/sdluz with Ollama:
ollama run hf.co/Luzira/sdluz:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use Luzira/sdluz with Docker Model Runner:
docker model run hf.co/Luzira/sdluz:Q4_K_M
- Lemonade
How to use Luzira/sdluz with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Luzira/sdluz:Q4_K_M
Run and chat with the model
lemonade run user.sdluz-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download custom_nodes/ComfyUI-Crystools/web/debugger.js from Luzira/sdluz: direct link, hf CLI and curl.
- Browser
- Download file 3.52 kB
-
https://huggingface.co/Luzira/sdluz/resolve/main/custom_nodes/ComfyUI-Crystools/web/debugger.js
- Command line
-
hf download hf://Luzira/sdluz/custom_nodes/ComfyUI-Crystools/web/debugger.js
-
curl -L -o debugger.js https://huggingface.co/Luzira/sdluz/resolve/main/custom_nodes/ComfyUI-Crystools/web/debugger.js
3.52 kB
| import { app, api, ComfyWidgets, LiteGraph, TLGraphNode } from './comfy/index.js'; | |
| import { commonPrefix, displayContext } from './common.js'; | |
| app.registerExtension({ | |
| name: 'Crystools.Debugger.ConsoleAny', | |
| beforeRegisterNodeDef(nodeType, nodeData, appFromArg) { | |
| if (nodeData.name === 'Show any [Crystools]') { | |
| displayContext(nodeType, appFromArg, 3); | |
| } | |
| }, | |
| }); | |
| app.registerExtension({ | |
| name: 'Crystools.Debugger.Metadata', | |
| registerCustomNodes() { | |
| class MetadataNode extends TLGraphNode { | |
| constructor() { | |
| super(`${commonPrefix} Show Metadata `); | |
| Object.defineProperty(this, "fillMetadataWidget", { | |
| enumerable: true, | |
| configurable: true, | |
| writable: true, | |
| value: () => { | |
| return app.graphToPrompt() | |
| .then((workflow) => { | |
| let result = 'inactive'; | |
| if (this.widgets?.length !== 4) { | |
| console.error('Something is wrong with the widgets, should be 4!'); | |
| return 'error'; | |
| } | |
| const output = this.widgets[0]; | |
| const active = this.widgets[1]?.value; | |
| const parsed = this.widgets[2]?.value; | |
| let what = this.widgets[3]?.value.toLowerCase(); | |
| if (active) { | |
| what = what === 'prompt' ? 'output' : what; | |
| result = workflow[what]; | |
| if (parsed) { | |
| result = JSON.stringify(result, null, 2); | |
| } | |
| else { | |
| result = JSON.stringify(result); | |
| } | |
| } | |
| if (output) { | |
| output.value = result; | |
| } | |
| else { | |
| console.error('Something is wrong with the widgets, output is undefined!'); | |
| return 'error'; | |
| } | |
| return result; | |
| }); | |
| } | |
| }); | |
| this.serialize_widgets = false; | |
| this.isVirtualNode = true; | |
| const widget = ComfyWidgets.STRING(this, '', [ | |
| '', { default: '', multiline: true }, | |
| ], app).widget; | |
| widget.inputEl.readOnly = true; | |
| ComfyWidgets.BOOLEAN(this, 'Active', [ | |
| '', { default: true }, | |
| ]); | |
| ComfyWidgets.BOOLEAN(this, 'Parsed', [ | |
| '', { default: true }, | |
| ]); | |
| ComfyWidgets.COMBO(this, 'What', [ | |
| ['Prompt', 'Workflow'], { default: 'Prompt' }, | |
| ]); | |
| api.addEventListener('executed', this.fillMetadataWidget, false); | |
| } | |
| } | |
| LiteGraph.registerNodeType('Show Metadata [Crystools]', MetadataNode); | |
| MetadataNode.category = `crystools ${commonPrefix}/Debugger`; | |
| MetadataNode.shape = LiteGraph.BOX_SHAPE; | |
| MetadataNode.title = `${commonPrefix} Show Metadata`; | |
| }, | |
| }); | |