Instructions to use TechCarbasa/MyModels 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 TechCarbasa/MyModels 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 TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: llama cli -hf TechCarbasa/MyModels:Q5_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: llama cli -hf TechCarbasa/MyModels:Q5_0
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 TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: ./llama-cli -hf TechCarbasa/MyModels:Q5_0
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 TechCarbasa/MyModels:Q5_0 # Run inference directly in the terminal: ./build/bin/llama-cli -hf TechCarbasa/MyModels:Q5_0
Use Docker
docker model run hf.co/TechCarbasa/MyModels:Q5_0
- LM Studio
- Jan
- Ollama
How to use TechCarbasa/MyModels with Ollama:
ollama run hf.co/TechCarbasa/MyModels:Q5_0
- Unsloth Desktop
- Pi
How to use TechCarbasa/MyModels with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "TechCarbasa/MyModels:Q5_0" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use TechCarbasa/MyModels with Docker Model Runner:
docker model run hf.co/TechCarbasa/MyModels:Q5_0
- Lemonade
How to use TechCarbasa/MyModels with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull TechCarbasa/MyModels:Q5_0
Run and chat with the model
lemonade run user.MyModels-Q5_0
List all available models
lemonade list
- Hermes Agent
How to use TechCarbasa/MyModels with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default TechCarbasa/MyModels:Q5_0
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use TechCarbasa/MyModels with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf TechCarbasa/MyModels:Q5_0
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "TechCarbasa/MyModels:Q5_0" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
Upload flux-API.json
Browse files- workflows/flux-API.json +139 -0
workflows/flux-API.json
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"6": {
|
| 3 |
+
"inputs": {
|
| 4 |
+
"text": "INPUTPROMPT",
|
| 5 |
+
"clip": [
|
| 6 |
+
"38",
|
| 7 |
+
1
|
| 8 |
+
]
|
| 9 |
+
},
|
| 10 |
+
"class_type": "CLIPTextEncode",
|
| 11 |
+
"_meta": {
|
| 12 |
+
"title": "CLIP Text Encode (Positive Prompt)"
|
| 13 |
+
}
|
| 14 |
+
},
|
| 15 |
+
"8": {
|
| 16 |
+
"inputs": {
|
| 17 |
+
"samples": [
|
| 18 |
+
"31",
|
| 19 |
+
0
|
| 20 |
+
],
|
| 21 |
+
"vae": [
|
| 22 |
+
"30",
|
| 23 |
+
2
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"class_type": "VAEDecode",
|
| 27 |
+
"_meta": {
|
| 28 |
+
"title": "VAE Decode"
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"9": {
|
| 32 |
+
"inputs": {
|
| 33 |
+
"filename_prefix": "flux",
|
| 34 |
+
"images": [
|
| 35 |
+
"8",
|
| 36 |
+
0
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
"class_type": "SaveImage",
|
| 40 |
+
"_meta": {
|
| 41 |
+
"title": "Save Image"
|
| 42 |
+
}
|
| 43 |
+
},
|
| 44 |
+
"27": {
|
| 45 |
+
"inputs": {
|
| 46 |
+
"width": "INPUTWIDTH",
|
| 47 |
+
"height": "INPUTHEIGHT",
|
| 48 |
+
"batch_size": 1
|
| 49 |
+
},
|
| 50 |
+
"class_type": "EmptySD3LatentImage",
|
| 51 |
+
"_meta": {
|
| 52 |
+
"title": "EmptySD3LatentImage"
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"30": {
|
| 56 |
+
"inputs": {
|
| 57 |
+
"ckpt_name": "flux1-dev-fp8.safetensors"
|
| 58 |
+
},
|
| 59 |
+
"class_type": "CheckpointLoaderSimple",
|
| 60 |
+
"_meta": {
|
| 61 |
+
"title": "Load Checkpoint"
|
| 62 |
+
}
|
| 63 |
+
},
|
| 64 |
+
"31": {
|
| 65 |
+
"inputs": {
|
| 66 |
+
"seed": 336875418695761,
|
| 67 |
+
"steps": 20,
|
| 68 |
+
"cfg": 1,
|
| 69 |
+
"sampler_name": "euler",
|
| 70 |
+
"scheduler": "simple",
|
| 71 |
+
"denoise": 1,
|
| 72 |
+
"model": [
|
| 73 |
+
"38",
|
| 74 |
+
0
|
| 75 |
+
],
|
| 76 |
+
"positive": [
|
| 77 |
+
"35",
|
| 78 |
+
0
|
| 79 |
+
],
|
| 80 |
+
"negative": [
|
| 81 |
+
"33",
|
| 82 |
+
0
|
| 83 |
+
],
|
| 84 |
+
"latent_image": [
|
| 85 |
+
"27",
|
| 86 |
+
0
|
| 87 |
+
]
|
| 88 |
+
},
|
| 89 |
+
"class_type": "KSampler",
|
| 90 |
+
"_meta": {
|
| 91 |
+
"title": "KSampler"
|
| 92 |
+
}
|
| 93 |
+
},
|
| 94 |
+
"33": {
|
| 95 |
+
"inputs": {
|
| 96 |
+
"text": "",
|
| 97 |
+
"clip": [
|
| 98 |
+
"38",
|
| 99 |
+
1
|
| 100 |
+
]
|
| 101 |
+
},
|
| 102 |
+
"class_type": "CLIPTextEncode",
|
| 103 |
+
"_meta": {
|
| 104 |
+
"title": "CLIP Text Encode (Negative Prompt)"
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
"35": {
|
| 108 |
+
"inputs": {
|
| 109 |
+
"guidance": 3.5,
|
| 110 |
+
"conditioning": [
|
| 111 |
+
"6",
|
| 112 |
+
0
|
| 113 |
+
]
|
| 114 |
+
},
|
| 115 |
+
"class_type": "FluxGuidance",
|
| 116 |
+
"_meta": {
|
| 117 |
+
"title": "FluxGuidance"
|
| 118 |
+
}
|
| 119 |
+
},
|
| 120 |
+
"38": {
|
| 121 |
+
"inputs": {
|
| 122 |
+
"lora_name": "amateurphoto-v6-forcu.safetensors",
|
| 123 |
+
"strength_model": 0.5,
|
| 124 |
+
"strength_clip": 0.5,
|
| 125 |
+
"model": [
|
| 126 |
+
"30",
|
| 127 |
+
0
|
| 128 |
+
],
|
| 129 |
+
"clip": [
|
| 130 |
+
"30",
|
| 131 |
+
1
|
| 132 |
+
]
|
| 133 |
+
},
|
| 134 |
+
"class_type": "LoraLoader",
|
| 135 |
+
"_meta": {
|
| 136 |
+
"title": "Load LoRA"
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
}
|