Instructions to use singularity-layer/Singularity-xMESH-0.8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use singularity-layer/Singularity-xMESH-0.8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="singularity-layer/Singularity-xMESH-0.8B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("singularity-layer/Singularity-xMESH-0.8B") model = AutoModelForMultimodalLM.from_pretrained("singularity-layer/Singularity-xMESH-0.8B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use singularity-layer/Singularity-xMESH-0.8B 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 singularity-layer/Singularity-xMESH-0.8B:BF16 # Run inference directly in the terminal: llama cli -hf singularity-layer/Singularity-xMESH-0.8B:BF16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf singularity-layer/Singularity-xMESH-0.8B:BF16 # Run inference directly in the terminal: llama cli -hf singularity-layer/Singularity-xMESH-0.8B:BF16
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 singularity-layer/Singularity-xMESH-0.8B:BF16 # Run inference directly in the terminal: ./llama-cli -hf singularity-layer/Singularity-xMESH-0.8B:BF16
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 singularity-layer/Singularity-xMESH-0.8B:BF16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf singularity-layer/Singularity-xMESH-0.8B:BF16
Use Docker
docker model run hf.co/singularity-layer/Singularity-xMESH-0.8B:BF16
- LM Studio
- Jan
- vLLM
How to use singularity-layer/Singularity-xMESH-0.8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "singularity-layer/Singularity-xMESH-0.8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "singularity-layer/Singularity-xMESH-0.8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/singularity-layer/Singularity-xMESH-0.8B:BF16
- SGLang
How to use singularity-layer/Singularity-xMESH-0.8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "singularity-layer/Singularity-xMESH-0.8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "singularity-layer/Singularity-xMESH-0.8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "singularity-layer/Singularity-xMESH-0.8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "singularity-layer/Singularity-xMESH-0.8B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Ollama
How to use singularity-layer/Singularity-xMESH-0.8B with Ollama:
ollama run hf.co/singularity-layer/Singularity-xMESH-0.8B:BF16
- Unsloth Desktop
- Pi
How to use singularity-layer/Singularity-xMESH-0.8B with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf singularity-layer/Singularity-xMESH-0.8B:BF16
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": "singularity-layer/Singularity-xMESH-0.8B:BF16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use singularity-layer/Singularity-xMESH-0.8B with Docker Model Runner:
docker model run hf.co/singularity-layer/Singularity-xMESH-0.8B:BF16
- Lemonade
How to use singularity-layer/Singularity-xMESH-0.8B with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull singularity-layer/Singularity-xMESH-0.8B:BF16
Run and chat with the model
lemonade run user.Singularity-xMESH-0.8B-BF16
List all available models
lemonade list
- Hermes Agent
How to use singularity-layer/Singularity-xMESH-0.8B with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf singularity-layer/Singularity-xMESH-0.8B:BF16
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 singularity-layer/Singularity-xMESH-0.8B:BF16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use singularity-layer/Singularity-xMESH-0.8B with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf singularity-layer/Singularity-xMESH-0.8B:BF16
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 "singularity-layer/Singularity-xMESH-0.8B:BF16" \ --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"
Bind portability claims to the proven release path
Browse filesRecord the production Vulkan distributions running at zero GPU layers on Windows and Linux, publish the 8 GB memory floor, and preserve mixed upstream dataset attribution in the release package.
- ATTRIBUTION.md +1 -1
- MANIFEST.json +11 -11
- PLATFORM_CANARIES.json +12 -6
- PORTABILITY.md +5 -3
- README.md +2 -2
- THIRD_PARTY_NOTICES.md +9 -0
|
@@ -1,3 +1,3 @@
|
|
| 1 |
# Attribution
|
| 2 |
|
| 3 |
-
Singularity xMESH 0.8B was trained and evaluated with Singularity Training Lab. It derives from the Apache-2.0 Qwen3.5 0.8B model and uses the Apache-2.0 Cloudflare Clef joint-schema architecture for typed decisions. Singularity Layer supplies the x402 specialization, calibrated weights, evaluation, deterministic policy, packaging, and runtime integration.
|
|
|
|
| 1 |
# Attribution
|
| 2 |
|
| 3 |
+
Singularity xMESH 0.8B was trained and evaluated with Singularity Training Lab. It derives from the Apache-2.0 Qwen3.5 0.8B model and uses the Apache-2.0 Cloudflare Clef joint-schema architecture for typed decisions. General decision warm-up used `MaziyarPanahi/AgentToolDecisions-180K`, which retains mixed CC BY 4.0, Apache-2.0, and MIT source terms per row. Singularity Layer supplies the x402 specialization, calibrated weights, evaluation, deterministic policy, packaging, and runtime integration.
|
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"algorithm": "sha256",
|
| 4 |
"base_model": "Qwen/Qwen3.5-0.8B@2fc06364715b967f1860aea9cf38778875588b17",
|
| 5 |
"file_count": 46,
|
| 6 |
-
"total_bytes":
|
| 7 |
"files": [
|
| 8 |
{
|
| 9 |
"path": ".gitignore",
|
|
@@ -12,8 +12,8 @@
|
|
| 12 |
},
|
| 13 |
{
|
| 14 |
"path": "ATTRIBUTION.md",
|
| 15 |
-
"bytes":
|
| 16 |
-
"sha256": "
|
| 17 |
},
|
| 18 |
{
|
| 19 |
"path": "FINAL_EVALUATION.json",
|
|
@@ -52,18 +52,18 @@
|
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"path": "PLATFORM_CANARIES.json",
|
| 55 |
-
"bytes":
|
| 56 |
-
"sha256": "
|
| 57 |
},
|
| 58 |
{
|
| 59 |
"path": "PORTABILITY.md",
|
| 60 |
-
"bytes":
|
| 61 |
-
"sha256": "
|
| 62 |
},
|
| 63 |
{
|
| 64 |
"path": "README.md",
|
| 65 |
-
"bytes":
|
| 66 |
-
"sha256": "
|
| 67 |
},
|
| 68 |
{
|
| 69 |
"path": "Singularity-xMESH-0.8B-BF16.gguf",
|
|
@@ -77,8 +77,8 @@
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"path": "THIRD_PARTY_NOTICES.md",
|
| 80 |
-
"bytes":
|
| 81 |
-
"sha256": "
|
| 82 |
},
|
| 83 |
{
|
| 84 |
"path": "VALIDATION.md",
|
|
|
|
| 3 |
"algorithm": "sha256",
|
| 4 |
"base_model": "Qwen/Qwen3.5-0.8B@2fc06364715b967f1860aea9cf38778875588b17",
|
| 5 |
"file_count": 46,
|
| 6 |
+
"total_bytes": 4246358346,
|
| 7 |
"files": [
|
| 8 |
{
|
| 9 |
"path": ".gitignore",
|
|
|
|
| 12 |
},
|
| 13 |
{
|
| 14 |
"path": "ATTRIBUTION.md",
|
| 15 |
+
"bytes": 518,
|
| 16 |
+
"sha256": "2277a70986ac418718256b0b5dc604a0d60e97ec9084e81b546c9d04f47536ec"
|
| 17 |
},
|
| 18 |
{
|
| 19 |
"path": "FINAL_EVALUATION.json",
|
|
|
|
| 52 |
},
|
| 53 |
{
|
| 54 |
"path": "PLATFORM_CANARIES.json",
|
| 55 |
+
"bytes": 2516,
|
| 56 |
+
"sha256": "c7e1035e539162534bf852d2eb4c094460a35f062cd06f414face3067b54864e"
|
| 57 |
},
|
| 58 |
{
|
| 59 |
"path": "PORTABILITY.md",
|
| 60 |
+
"bytes": 2672,
|
| 61 |
+
"sha256": "9e8b1ff94a3c5ab96ae094332d62d93f9d7890f8a0fca38884b1b530be9ee3d1"
|
| 62 |
},
|
| 63 |
{
|
| 64 |
"path": "README.md",
|
| 65 |
+
"bytes": 7667,
|
| 66 |
+
"sha256": "862414dd044146022e8cbcd0bdea6ff9cf16e3cce18d980cd35dff65acee1e4c"
|
| 67 |
},
|
| 68 |
{
|
| 69 |
"path": "Singularity-xMESH-0.8B-BF16.gguf",
|
|
|
|
| 77 |
},
|
| 78 |
{
|
| 79 |
"path": "THIRD_PARTY_NOTICES.md",
|
| 80 |
+
"bytes": 927,
|
| 81 |
+
"sha256": "bbf4dec8f637ab3af8e196f74e723ad3852f5b2852d4207bfab200191c280498"
|
| 82 |
},
|
| 83 |
{
|
| 84 |
"path": "VALIDATION.md",
|
|
@@ -35,21 +35,27 @@
|
|
| 35 |
},
|
| 36 |
"linux_x64_cpu": {
|
| 37 |
"status": "passed",
|
| 38 |
-
"environment": "GitHub Actions ubuntu-24.04 x64, libgomp1",
|
| 39 |
-
"workflow_run": "Singularity-Layer/sgl-network-node/actions/runs/
|
|
|
|
|
|
|
|
|
|
| 40 |
"fixture_input_tokens": 1012,
|
| 41 |
"expected_decisions": 9,
|
| 42 |
"matching_decisions": 9,
|
| 43 |
-
"latency_ms":
|
| 44 |
},
|
| 45 |
"windows_x64_cpu": {
|
| 46 |
"status": "passed",
|
| 47 |
-
"environment": "GitHub Actions windows-2025-vs2026 x64",
|
| 48 |
-
"workflow_run": "Singularity-Layer/sgl-network-node/actions/runs/
|
|
|
|
|
|
|
|
|
|
| 49 |
"fixture_input_tokens": 1012,
|
| 50 |
"expected_decisions": 9,
|
| 51 |
"matching_decisions": 9,
|
| 52 |
-
"latency_ms":
|
| 53 |
}
|
| 54 |
}
|
| 55 |
}
|
|
|
|
| 35 |
},
|
| 36 |
"linux_x64_cpu": {
|
| 37 |
"status": "passed",
|
| 38 |
+
"environment": "GitHub Actions ubuntu-24.04 x64, Vulkan distribution with -ngl 0, libgomp1 and libvulkan1",
|
| 39 |
+
"workflow_run": "Singularity-Layer/sgl-network-node/actions/runs/39158899243",
|
| 40 |
+
"archive": "llama-b11719-bin-ubuntu-vulkan-x64.tar.gz",
|
| 41 |
+
"archive_sha256": "9a09cce245acf8823feb99fb7ba8ddd3e878e3827564888131e0185044aa4429",
|
| 42 |
+
"gpu_layers": 0,
|
| 43 |
"fixture_input_tokens": 1012,
|
| 44 |
"expected_decisions": 9,
|
| 45 |
"matching_decisions": 9,
|
| 46 |
+
"latency_ms": 17155.671278
|
| 47 |
},
|
| 48 |
"windows_x64_cpu": {
|
| 49 |
"status": "passed",
|
| 50 |
+
"environment": "GitHub Actions windows-2025-vs2026 x64, Vulkan distribution with -ngl 0",
|
| 51 |
+
"workflow_run": "Singularity-Layer/sgl-network-node/actions/runs/39158899243",
|
| 52 |
+
"archive": "llama-b11719-bin-win-vulkan-x64.zip",
|
| 53 |
+
"archive_sha256": "08dde7f4133443ac629431c35f0435e267ca73251fc002cb95e10625424e2963",
|
| 54 |
+
"gpu_layers": 0,
|
| 55 |
"fixture_input_tokens": 1012,
|
| 56 |
"expected_decisions": 9,
|
| 57 |
"matching_decisions": 9,
|
| 58 |
+
"latency_ms": 10955.597100000006
|
| 59 |
}
|
| 60 |
}
|
| 61 |
}
|
|
@@ -8,6 +8,8 @@ Singularity Node must serve xMESH through the same `/v1/systemone` request and r
|
|
| 8 |
- Context: 2,048 tokens per request.
|
| 9 |
- Physical batch: 2,048 tokens. The llama.cpp default of 512 rejects normal multi-field requests.
|
| 10 |
- Default concurrency: one slot. Higher concurrency requires a platform-specific canary.
|
|
|
|
|
|
|
| 11 |
|
| 12 |
## Artifacts
|
| 13 |
|
|
@@ -23,9 +25,9 @@ Q8 passes the full Metal decision-parity suite but crashes in llama.cpp `b11719`
|
|
| 23 |
| Surface | Target | Artifact | Status |
|
| 24 |
| --- | --- | --- | --- |
|
| 25 |
| Desktop | macOS Apple silicon | BF16 | Local CPU and Metal canaries passed; packaged-app canary pending |
|
| 26 |
-
| Desktop / Node | Windows x64 CPU | BF16 |
|
| 27 |
-
| Node CLI | Linux x64 CPU
|
| 28 |
-
| Node CLI | Linux ARM64 CPU
|
| 29 |
|
| 30 |
The desktop release workflow does not currently publish Linux or Intel Mac packages. The Node CLI covers Linux; Intel Mac desktop support requires a separate release target.
|
| 31 |
|
|
|
|
| 8 |
- Context: 2,048 tokens per request.
|
| 9 |
- Physical batch: 2,048 tokens. The llama.cpp default of 512 rejects normal multi-field requests.
|
| 10 |
- Default concurrency: one slot. Higher concurrency requires a platform-specific canary.
|
| 11 |
+
- Portable Node execution: CPU (`-ngl 0`). GPU offload remains disabled until accelerator-specific decision parity passes.
|
| 12 |
+
- System memory: 8 GB minimum; 16 GB recommended.
|
| 13 |
|
| 14 |
## Artifacts
|
| 15 |
|
|
|
|
| 25 |
| Surface | Target | Artifact | Status |
|
| 26 |
| --- | --- | --- | --- |
|
| 27 |
| Desktop | macOS Apple silicon | BF16 | Local CPU and Metal canaries passed; packaged-app canary pending |
|
| 28 |
+
| Desktop / Node | Windows x64 CPU | BF16 | Production Vulkan distribution with `-ngl 0` passed 9/9 decisions |
|
| 29 |
+
| Node CLI | Linux x64 CPU | BF16 | Production Vulkan distribution with `-ngl 0` passed 9/9 decisions on Ubuntu 24.04 |
|
| 30 |
+
| Node CLI | Linux ARM64 CPU | BF16 | CPU load and real decision canary passed in Ubuntu 24.04 ARM64 |
|
| 31 |
|
| 32 |
The desktop release workflow does not currently publish Linux or Intel Mac packages. The Node CLI covers Linux; Intel Mac desktop support requires a separate release target.
|
| 33 |
|
|
@@ -47,7 +47,7 @@ Output: candidate selection or abstention, calibrated confidence, approval requi
|
|
| 47 |
|
| 48 |
## Training data
|
| 49 |
|
| 50 |
-
The general decision warm-up used licensed rows from [`MaziyarPanahi/AgentToolDecisions-180K`](https://huggingface.co/datasets/MaziyarPanahi/AgentToolDecisions-180K). Singularity-curated x402 rows supplied the routing specialization. Frozen evaluation cases and resources were excluded from training.
|
| 51 |
|
| 52 |
## Hardware compatibility
|
| 53 |
|
|
@@ -57,7 +57,7 @@ The general decision warm-up used licensed rows from [`MaziyarPanahi/AgentToolDe
|
|
| 57 |
| CPU | **Verified**; portable but slower |
|
| 58 |
| llama.cpp Metal | **Verified** with the Q8 GGUF on an Apple M4 |
|
| 59 |
| llama.cpp Windows/Linux x64 CPU | **Verified**; native canaries passed 9/9 expected decisions on both platforms |
|
| 60 |
-
| NVIDIA CUDA |
|
| 61 |
| AMD ROCm | Not verified |
|
| 62 |
|
| 63 |
The checkpoint contains 873M BF16 parameters. An 8 GB system is the practical minimum; 16 GB is recommended for comfortable local loading and inference.
|
|
|
|
| 47 |
|
| 48 |
## Training data
|
| 49 |
|
| 50 |
+
The general decision warm-up used licensed rows from [`MaziyarPanahi/AgentToolDecisions-180K`](https://huggingface.co/datasets/MaziyarPanahi/AgentToolDecisions-180K). That dataset retains mixed CC BY 4.0, Apache-2.0, and MIT source terms per row; see `THIRD_PARTY_NOTICES.md`. Singularity-curated x402 rows supplied the routing specialization. Frozen evaluation cases and resources were excluded from training.
|
| 51 |
|
| 52 |
## Hardware compatibility
|
| 53 |
|
|
|
|
| 57 |
| CPU | **Verified**; portable but slower |
|
| 58 |
| llama.cpp Metal | **Verified** with the Q8 GGUF on an Apple M4 |
|
| 59 |
| llama.cpp Windows/Linux x64 CPU | **Verified**; native canaries passed 9/9 expected decisions on both platforms |
|
| 60 |
+
| NVIDIA CUDA | PyTorch runtime support only; Singularity Node GPU offload is disabled pending decision-parity canaries |
|
| 61 |
| AMD ROCm | Not verified |
|
| 62 |
|
| 63 |
The checkpoint contains 873M BF16 parameters. An 8 GB system is the practical minimum; 16 GB is recommended for comfortable local loading and inference.
|
|
@@ -12,3 +12,12 @@
|
|
| 12 |
- Pinned revision: `0b331204bb13fbd2ca93a64df1956f5b55478ce5`
|
| 13 |
- License: Apache-2.0
|
| 14 |
- The complete notice and license are included with this repository.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
- Pinned revision: `0b331204bb13fbd2ca93a64df1956f5b55478ce5`
|
| 13 |
- License: Apache-2.0
|
| 14 |
- The complete notice and license are included with this repository.
|
| 15 |
+
|
| 16 |
+
## Agent Tool Decisions 180K
|
| 17 |
+
|
| 18 |
+
- Upstream: `MaziyarPanahi/AgentToolDecisions-180K`
|
| 19 |
+
- Use: general typed-decision warm-up rows
|
| 20 |
+
- License: mixed upstream terms recorded per row
|
| 21 |
+
- Sources: pinned revisions of `nvidia/Nemotron-SFT-Agentic-v2` and `nvidia/When2Call`
|
| 22 |
+
- Terms: When2Call is CC BY 4.0. The Nemotron source card lists CC BY 4.0, Apache-2.0, and MIT terms across its components.
|
| 23 |
+
- Attribution and source-license metadata are retained in the upstream dataset. Review the linked source cards before redistributing the training rows.
|