Org card: lead with the consultancy, then the inference work
Browse files
README.md
CHANGED
|
@@ -9,56 +9,74 @@ pinned: false
|
|
| 9 |
|
| 10 |
# SG Systems
|
| 11 |
|
| 12 |
-
|
| 13 |
-
actually decide whether a model runs on a laptop or a phone:
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Projects
|
| 26 |
|
| 27 |
-
**FORGE** — mixed-precision post-training quantization.
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
|
| 32 |
**HELIX** — a Metal prefill kernel for the SSM scan in Mamba-2 hybrids,
|
| 33 |
integrated into `llama.cpp` through a 42-line patch. Chunk-parallel
|
| 34 |
-
decomposition; ~3x on the isolated op for
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
## Models
|
| 38 |
|
| 39 |
| | |
|
| 40 |
|---|---|
|
| 41 |
-
| [`Falcon-H1-7B-FORGE-v2`](https://huggingface.co/sgsystems/Falcon-H1-7B-FORGE-v2) | `Falcon-H1-7B-Instruct` at 2.06 bpw / 3.48 GB. Runs on Apple Silicon in 3.73 GB resident at 75 tok/s decode. |
|
| 42 |
|
| 43 |
-
**Read the model card before using it.**
|
| 44 |
-
|
| 45 |
-
these models fall into, and
|
| 46 |
-
|
| 47 |
|
| 48 |
## How we report numbers
|
| 49 |
|
| 50 |
-
Measurements
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
Some things we published that were not what we first assumed:
|
| 54 |
|
| 55 |
- On M5, `simdgroup_matrix` at bf16 is **slower** than at fp32 (10.88 vs 16.12
|
| 56 |
TFLOP/s). It is not the matrix hardware. Reduced precision only pays through
|
| 57 |
`MetalPerformancePrimitives`, and only with both operands bf16.
|
| 58 |
- Adding a repetition penalty did **not** fix our repetition loops. The penalty
|
| 59 |
-
*window* did, and only above 2048 tokens. Within-turn repetition was 0%
|
| 60 |
-
|
| 61 |
-
- The quantized
|
| 62 |
-
|
| 63 |
|
| 64 |
Where a claim is not measured, we say so rather than rounding it up.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# SG Systems
|
| 11 |
|
| 12 |
+
**Consulting & forward-deployed engineering for Southeast Asian applied AI.**
|
|
|
|
| 13 |
|
| 14 |
+
We embed senior engineers with client teams and ship working systems in weeks
|
| 15 |
+
rather than producing strategy decks. Fixed scope, outcome-based pricing, no
|
| 16 |
+
hourly billing.
|
| 17 |
|
| 18 |
+
Serving banking, insurance, fintech, healthcare, retail, government and
|
| 19 |
+
mid-market commerce across SEA — where a deployment has to be PDPA-compliant,
|
| 20 |
+
locally tuned, and native to the channels people actually use.
|
| 21 |
|
| 22 |
+
[sg-systems.co](https://www.sg-systems.co/)
|
| 23 |
+
|
| 24 |
+
## Why we publish inference work
|
| 25 |
+
|
| 26 |
+
Regional deployment runs into two constraints that a general-purpose API does
|
| 27 |
+
not solve.
|
| 28 |
+
|
| 29 |
+
**Data residency.** PDPA and its neighbours make "send the customer's data to a
|
| 30 |
+
US endpoint" a compliance conversation before it is an engineering one.
|
| 31 |
+
Inference that never leaves the device sidesteps that conversation entirely.
|
| 32 |
+
|
| 33 |
+
**Hardware reality.** SEA deployments run on the devices people have, not on
|
| 34 |
+
datacentre accelerators. A model that needs 15 GB is not a product; one that
|
| 35 |
+
fits in 3.7 GB is.
|
| 36 |
+
|
| 37 |
+
So we work on making capable models run locally. What we publish here are the
|
| 38 |
+
artifacts and measurements from that work.
|
| 39 |
|
| 40 |
## Projects
|
| 41 |
|
| 42 |
+
**FORGE** — mixed-precision post-training quantization. The result depends less
|
| 43 |
+
on the average bit width than on which tensor families are excluded from it:
|
| 44 |
+
crushing a Mamba-2 state projection to ternary yields a model that is fluent and
|
| 45 |
+
confidently wrong.
|
| 46 |
|
| 47 |
**HELIX** — a Metal prefill kernel for the SSM scan in Mamba-2 hybrids,
|
| 48 |
integrated into `llama.cpp` through a 42-line patch. Chunk-parallel
|
| 49 |
+
decomposition; ~3x on the isolated op for shapes upstream's fast path declines.
|
| 50 |
+
|
| 51 |
+
Source: [github.com/sg-systems-co/forge-helix](https://github.com/sg-systems-co/forge-helix)
|
| 52 |
|
| 53 |
## Models
|
| 54 |
|
| 55 |
| | |
|
| 56 |
|---|---|
|
| 57 |
+
| [`Falcon-H1-7B-FORGE-v2`](https://huggingface.co/sgsystems/Falcon-H1-7B-FORGE-v2) | `Falcon-H1-7B-Instruct` at 2.06 bpw / 3.48 GB. Runs on Apple Silicon in 3.73 GB resident at 75 tok/s decode. **English only** — this is an engineering artifact from the compression work, not a SEA-language model. |
|
| 58 |
|
| 59 |
+
**Read the model card before using it.** It needs `repeat_last_n = 2048`;
|
| 60 |
+
llama.cpp's default of 64 is too small to suppress the cross-turn repetition
|
| 61 |
+
these models fall into, and the usual sampling triple without it reproduces the
|
| 62 |
+
bug.
|
| 63 |
|
| 64 |
## How we report numbers
|
| 65 |
|
| 66 |
+
Measurements come with their conditions attached, and with the cases that did
|
| 67 |
+
not work. Things we published that contradicted our own assumptions:
|
|
|
|
|
|
|
| 68 |
|
| 69 |
- On M5, `simdgroup_matrix` at bf16 is **slower** than at fp32 (10.88 vs 16.12
|
| 70 |
TFLOP/s). It is not the matrix hardware. Reduced precision only pays through
|
| 71 |
`MetalPerformancePrimitives`, and only with both operands bf16.
|
| 72 |
- Adding a repetition penalty did **not** fix our repetition loops. The penalty
|
| 73 |
+
*window* did, and only above 2048 tokens. Within-turn repetition was 0%
|
| 74 |
+
throughout; the failure was entirely cross-turn.
|
| 75 |
+
- The quantized model still loses meta-instruction following, and no perplexity
|
| 76 |
+
comparison against fp16 has been run.
|
| 77 |
|
| 78 |
Where a claim is not measured, we say so rather than rounding it up.
|
| 79 |
+
|
| 80 |
+
## Contact
|
| 81 |
+
|
| 82 |
+
sebastian@sg-systems.co
|