Jr23xd23 commited on
Commit
708a220
·
verified ·
1 Parent(s): 1e45d35

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -69
README.md CHANGED
@@ -15,139 +15,137 @@ tags:
15
 
16
  ![RightNow Mini, a new model built on Inkling 2 Mini: same weights, new results. Tokens per second on one stream and one GPU: Inkling 2 Mini with the plain engine 257, RightNow Mini 729. Coding tasks fixed of 100: Inkling 2 Mini with one attempt 75, RightNow Mini with 32 attempts 92.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/announce.png)
17
 
18
- **The same open weights as Inkling 2 Mini, at 2.83 times the speed on one GPU, and 92 of 100 SWE-bench Verified tasks fixed with deep mode, where one attempt fixes 75.**
19
 
20
- <sub>Built on [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab. Apache-2.0. Released by RightNow AI.</sub>
21
 
22
- - **729.6 tokens per second on one stream.** The plain engine gives 257.7 and vLLM's own fast recipe 548.0, on the same GPU.
23
- - **92 of 100 coding tasks fixed with deep mode.** It runs 32 attempts and returns one answer. One attempt fixes 75. Opus 5.5 fixes 94 in one attempt.
24
- - **Open and checkable.** Apache-2.0, one command to serve it, and every script and raw result in this repository.
25
 
26
- Everything here was measured on 2026-12-01 on one node with NVIDIA B300 GPUs, one GPU per model server. The files that produced each number are in `results/`.
27
 
28
- ## RightNow Mini and Inkling 2 Mini, side by side
29
 
30
- | | Inkling 2 Mini | RightNow Mini | Change |
31
  |---|---|---|---|
32
- | Weights | 20.19 GB | the same file, unchanged | Same |
33
- | Tokens per second, one stream | 257.7 | **729.6** | 2.83 times |
34
- | Tokens per second, 64 streams in total | 6,579 | **10,323** | 1.56 times |
35
- | Coding tasks fixed of 100, one attempt | 75 | 75 | Same |
36
- | Coding tasks fixed of 100, deep mode with 8 attempts | no deep mode | **90** | 15 more tasks |
37
- | Coding tasks fixed of 100, deep mode with 32 attempts | no deep mode | **92** | 17 more tasks |
38
- | Time to first token | 42.0 ms | 47.8 ms | 5.8 ms slower |
39
- | Same tokens as the plain engine | yes | no, 6 of 200 prompts | See Speed |
40
 
41
- The Inkling 2 Mini column is the stock setup: the plain engine its card names. One attempt is the median of 32 passes at temperature 0.8, and it is the same for both because the weights are the same.
42
 
43
- **What this is, plainly.** The model's weights are Inkling 2 Mini's, unchanged: you download them from the base repository. This repository holds no weights. It adds the engine line, deep mode, and the scripts and raw results behind every number. Two changes to the weights were tried, a fine-tune and removing rarely used experts. Neither passed its gate, so neither is shipped. The gap to a frontier model is published: Opus 5.5 resolves 94 of the same 100 tasks in one attempt.
 
 
 
 
 
 
 
 
44
 
45
  ## Speed
46
 
47
  ![729 tokens per second for RightNow Mini on one stream. Inkling 2 Mini on public engines: 257 with the plain engine and 548 with its own fast recipe.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/speed.png)
48
 
49
- One B300, greedy decoding, 64 fixed coding prompts, 512 new tokens each, tokens counted by the server (`results/speed.md`).
50
 
51
  | Engine line | One stream, tokens per second | 64 streams, tokens per second in total |
52
  |---|---|---|
53
- | vLLM, no drafting | 257.7 | 6,579 |
54
- | SGLang, no drafting | 224.9 | 4,983 |
55
- | SGLang with the draft head in the checkpoint | 422.5 | 5,888 |
56
- | vLLM with the draft head in the checkpoint | 548.0 | 8,437 |
57
  | **RightNow Mini engine** | **729.6** | **10,323** |
58
 
59
- The engine is vLLM with a published draft model ([Inkling 2 Mini DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by incoai) that `engine/build_drafter.py` prepares in three small ways: it is given the model's normalized embeddings, the right layer list, and its logit cap is switched off. Nothing is trained. The model checks every drafted token.
60
 
61
- **It is not token-identical to the plain engine.** On 200 prompts captured one at a time, the plain engine repeats itself on 200 of 200. With drafting, 6 of 200 prompts give the same tokens as the plain engine, for vLLM's own draft-head recipe and for ours alike: on this model the engine's arithmetic for a token depends slightly on what is checked together with it, and a near tie can flip. Against vLLM's own draft-head recipe our line gives the same tokens on 123 of 200 prompts. The tables are in `results/speed.md`.
62
 
63
  ## Coding
64
 
65
  ![92 percent of 100 SWE-bench Verified tasks fixed by RightNow Mini deep mode with 32 attempts. One attempt: 75 percent. 8 attempts: 90 percent.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/coding.png)
66
 
67
- 100 tasks of SWE-bench Verified (a fixed draw, `eval/subset.json`), the bash-only agent mini-swe-agent 2.4.6, scored by the SWE-bench harness with the benchmark's own tests. One B300 per model server. Every score is out of 100 tasks.
68
 
69
- | Setup | Attempts per task | Resolved of 100 |
70
  |---|---|---|
71
- | Opus 5.5, through OpenRouter | 1 | 94 |
72
- | Inkling 2 Mini, greedy decoding, plain vLLM | 1 | 56, 51, 45 (3 passes) |
73
- | Inkling 2 Mini, temperature 0.8, RightNow Mini engine | 1 | 70 to 83, median 75 (32 passes) |
74
- | **Deep mode** | 2 | **81** |
75
- | | 4 | **86** |
76
- | | 8 | **90** |
77
- | | 16 | **90** |
78
  | | 32 | **92** |
79
- | Deep mode with a reviewing session | 8, and one more session for 63 of the tasks | **88** |
80
 
81
  ![More attempts, more tasks fixed, of 100: 75 with 1 attempt, 81 with 2, 86 with 4, 90 with 8, 90 with 16, 92 with 32.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/attempts.png)
82
 
83
- Deep mode runs N attempts of the model at temperature 0.8 and returns one patch without seeing the benchmark's tests. If more than half of the attempts wrote the same patch, that patch wins. Otherwise the patch most attempts share wins, then the shortest (`deep/select.py`). A further step was measured: on the tasks where the attempts disagree, one more session of the model with tools reads the candidate patches, writes a reproduction, tries each candidate in the task's container and submits the final patch (`deep/review.yaml`, `tools/review_run.sh`). It resolves 88 against 90 at N=8 for plain agreement, so it is not the default.
 
 
 
 
84
 
85
- - At least one of the N attempts resolves the task for 83, 90, 94, 95, 97 of the 100 tasks at N = 2, 4, 8, 16, 32. That is an upper bound, known only from the benchmark's tests; choosing without them keeps 81, 86, 90, 90, 92.
86
- - Having the model read the candidate patches and vote did worse than plain agreement (79 at N=2, 84 at N=4, 85 at N=8, 86 at N=16), so deep mode does not use it.
87
- - Time: with the GPU to itself, one task with 8 attempts side by side took 1.1 to 8.4 minutes (median 4.9) on the first 5 tasks of the subset. Larger N was not timed alone. `results/deep.md` has the times of the batch runs, where each GPU served 60 sessions at once.
88
- - Scores at temperature 0.8 move from pass to pass; the table gives the range. Opus 5.5 was run once, with the provider's default sampling.
 
89
 
90
  ## Run it
91
 
 
 
92
  ```bash
93
- # the model's weights (unchanged Inkling 2 Mini), the published draft model, and this repository
94
  hf download thinkingmachines/Inkling-2-Mini --local-dir model
95
  hf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafter
96
  hf download RightNowAI/RightNow-Mini --local-dir rightnow-mini
97
 
98
- # one GPU, an OpenAI-compatible server on port 8000 (model id: rightnow-mini)
99
- # the first start prepares the draft model next to its folder (about a minute), later starts reuse it
100
  MODEL_DIR=$PWD/model DRAFTER_DIR=$PWD/drafter bash rightnow-mini/engine/serve.sh
101
  ```
102
 
103
- For agent work, sample: send `temperature` 0.8 (the model's own default is 1.0). With greedy decoding this model often repeats one command until its step limit.
104
 
105
- Deep mode for coding agents, as scored above, is N runs of your agent against that server and then one call:
106
 
107
  ```bash
108
  # attempts/att-1/preds.json ... attempts/att-8/preds.json, in the SWE-bench predictions format
109
  python rightnow-mini/deep/select.py --attempts attempts --n 8 --mode agree --url http://127.0.0.1:8000 --model rightnow-mini --out chosen
110
  ```
111
 
112
- `deep/server.py` wraps the same idea for a single chat request as the model id `rightnow-mini-deep` (N sampled answers, the shared one wins, otherwise the model votes). It is tested for function (`tests/test_deep.py`) and was not scored.
113
 
114
  ## What is in this repository
115
 
116
- | Path | What |
117
  |---|---|
118
- | `engine/` | One command that serves the model with an OpenAI-compatible API (`engine/serve.sh`) |
119
- | `deep/` | Deep mode: N attempts, then one answer |
120
- | `demo/` | A side-by-side page: the same coding task on two models, with live speed and a clock |
121
- | `eval/`, `train/`, `tools/` | The scripts behind every number here |
122
- | `results/` | Five result files, and every raw file behind them in `results/data.zip` |
123
  | `assets/` | The pictures on this page |
124
 
125
- ## What did not pass
126
 
127
- This release was built against gates set before the work started. These failed, as measured.
128
 
129
- - **Token-identical speed-up** (gate: 200 prompts, no token difference from the plain engine). 6 of 200 prompts are identical with drafting. vLLM's own draft-head recipe fails the same way (6 of 200). The engine is published with this said; `DRAFT=0` gives the plain engine.
130
- - **1,000 tokens per second on one stream** (target). Measured: 729.6.
131
- - **Faster than Strata on the same GPU** (gate). Not measured: Strata is a desktop engine with its own re-quantized packs and was not run on this node.
132
- - **A fine-tune that beats the stock model** (gate: every fine-tuned greedy pass above every stock pass). The stock passes scored 56, 51, 45; fine-tuning on the model's own passing attempts, round 1 scored 40, 50, 48 and round 2 scored 45, 35. The fine-tuned weights are not shipped (`results/train.md`).
133
- - **A smaller model with the same score** (gate: within the unpruned model's range). Keeping 96 of 128 experts per layer (16.3 GB instead of 20.2) scored 67, 66 against 70 to 83; keeping 64 (12.4 GB) scored 5, 5. Nothing was retrained after pruning. The pruned weights are not shipped (`results/size.md`).
134
- - **Matching Opus 5.5** on this subset. One attempt: 75 at the median. Deep mode: 92 at best (32 attempts). Opus 5.5: 94.
135
 
136
- ## Limits
137
-
138
- - **Measured on one day.** One node, one GPU type, one benchmark subset of 100 tasks. A different subset or agent will move the scores. Opus 5.5 was run once.
139
- - **The weights are the base model's.** What is new here is how the model is served and used.
140
- - **Drafting changes the tokens.** The model still decides each one, but the text is not the plain engine's text (see Speed).
141
- - **Deep mode costs N times the compute**, and it chooses by agreement between attempts: it cannot see the task's tests.
142
- - **Speed was measured on short coding prompts.** Agent sessions with long contexts ran at 1,000 to 1,700 output tokens per second per GPU, summed over the sessions sharing it, on the plain engine in our own runs.
143
- - The base model's limits apply: see its card, including its Model Acceptable Use Policy.
144
 
145
  ## Licence and credit
146
 
147
- Apache-2.0. RightNow Mini is built on Inkling 2 Mini by Thinking Machines Lab, whose licence and notices are kept (`LICENSE`, `NOTICE`). The engine runs vLLM and uses the draft model Inkling 2 Mini DFlash2 by incoai (Apache-2.0), which it prepares on your machine; neither is redistributed here. Measured with mini-swe-agent, the SWE-bench harness and SWE-smith. `docs/licenses.md` lists each source with its licence and revision.
148
 
149
  ## About RightNow AI
150
 
 
 
151
  Bring any Hugging Face model. RightNow AI tunes it down to the GPU kernel and hosts it on private infrastructure, with zero data retention by default. RightNow AI is a YC-backed GPU research lab.
152
 
153
  https://www.rightnowai.co
 
15
 
16
  ![RightNow Mini, a new model built on Inkling 2 Mini: same weights, new results. Tokens per second on one stream and one GPU: Inkling 2 Mini with the plain engine 257, RightNow Mini 729. Coding tasks fixed of 100: Inkling 2 Mini with one attempt 75, RightNow Mini with 32 attempts 92.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/announce.png)
17
 
18
+ RightNow Mini runs Inkling 2 Mini 2.83 times faster on one GPU. Its deep mode fixes 92 of 100 SWE-bench Verified coding tasks, where a single attempt fixes 75. The weights are the original ones.
19
 
20
+ We took the open model from Thinking Machines Lab and worked on everything around it. The engine serves it at 729 tokens per second on one stream, where the plain engine gives 257. Deep mode runs a coding task up to 32 times and keeps the patch that the runs agree on. Everything is in this repository under Apache-2.0, including the scripts and the raw results behind each number.
21
 
22
+ <sub>Built on [Inkling 2 Mini](https://huggingface.co/thinkingmachines/Inkling-2-Mini) by Thinking Machines Lab. Measured on 2026-12-01.</sub>
 
 
23
 
24
+ ## How it compares with Inkling 2 Mini
25
 
26
+ Both columns use the same weights on the same GPU. The left column is the stock setup that the model's own card describes. The right column is this repository.
27
 
28
+ | | Inkling 2 Mini | RightNow Mini | Difference |
29
  |---|---|---|---|
30
+ | Tokens per second, one stream | 257.7 | **729.6** | 2.83 times faster |
31
+ | Tokens per second, 64 streams together | 6,579 | **10,323** | 1.56 times more |
32
+ | Coding tasks fixed out of 100, one attempt | 75 | 75 | The same |
33
+ | Coding tasks fixed out of 100, deep mode with 8 attempts | no deep mode | **90** | 15 more tasks |
34
+ | Coding tasks fixed out of 100, deep mode with 32 attempts | no deep mode | **92** | 17 more tasks |
35
+ | Model weights | 20.19 GB | the same file | Unchanged |
 
 
36
 
37
+ One attempt scores the same on both sides because the model is the same. We measured it at temperature 0.8 on the RightNow Mini engine. The gain in speed comes from the engine, and the gain in coding comes from deep mode.
38
 
39
+ ## What RightNow Mini is
40
+
41
+ RightNow Mini is Inkling 2 Mini, set up to do coding work fast on a single GPU. It has two parts.
42
+
43
+ The engine is one script. It starts an OpenAI-compatible server that drafts several tokens ahead with a small helper model, and Inkling 2 Mini checks every drafted token before it is sent. That is where the speed comes from.
44
+
45
+ Deep mode is a way to use the model. You run your coding agent on a task several times and keep the patch that most runs agree on. It needs no test suite and no second model.
46
+
47
+ The weights are the original Inkling 2 Mini weights, and you download them from the Thinking Machines repository. We also tested a fine-tuned copy and two smaller copies of the model. None of them beat the original, so the original is what RightNow Mini runs. Those results are in `results/train.md` and `results/size.md`.
48
 
49
  ## Speed
50
 
51
  ![729 tokens per second for RightNow Mini on one stream. Inkling 2 Mini on public engines: 257 with the plain engine and 548 with its own fast recipe.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/speed.png)
52
 
53
+ We measured each engine line on one GPU with the same 64 coding prompts, 512 new tokens per prompt and greedy decoding. The server counts the tokens. The full table is in `results/speed.md`.
54
 
55
  | Engine line | One stream, tokens per second | 64 streams, tokens per second in total |
56
  |---|---|---|
57
+ | vLLM without drafting | 257.7 | 6,579 |
58
+ | SGLang without drafting | 224.9 | 4,983 |
59
+ | SGLang with the model's own draft head | 422.5 | 5,888 |
60
+ | vLLM with the model's own draft head | 548.0 | 8,437 |
61
  | **RightNow Mini engine** | **729.6** | **10,323** |
62
 
63
+ The RightNow Mini engine is vLLM with speculative decoding. A small draft model, [Inkling 2 Mini DFlash2](https://huggingface.co/incoai/Inkling-2-Mini-DFlash2) by incoai, proposes the next few tokens, and Inkling 2 Mini accepts or rejects each one. The script `engine/build_drafter.py` prepares that draft model for vLLM in three steps. It gives the draft model the normalized embeddings of Inkling 2 Mini, it sets the list of layers that the draft model reads, and it switches off the draft model's logit cap. Nothing is trained.
64
 
65
+ Drafting changes the exact wording. Inkling 2 Mini still chooses every token, but when two tokens are almost tied, the choice can depend on which tokens are checked in the same step. On 200 test prompts, 6 came out token for token the same as without drafting, and vLLM's own draft-head recipe gives the same 6 of 200. If you need the exact text of the plain engine, start the server with `DRAFT=0`. The first token also arrives 5.8 milliseconds later, at 47.8 milliseconds where the plain engine takes 42.0.
66
 
67
  ## Coding
68
 
69
  ![92 percent of 100 SWE-bench Verified tasks fixed by RightNow Mini deep mode with 32 attempts. One attempt: 75 percent. 8 attempts: 90 percent.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/coding.png)
70
 
71
+ We used 100 tasks from SWE-bench Verified, drawn once at random and listed in `eval/subset.json`. The agent is mini-swe-agent 2.4.6, which gives the model one tool, a bash shell. The benchmark's own tests decide whether a task is fixed.
72
 
73
+ | Setup | Attempts per task | Tasks fixed out of 100 |
74
  |---|---|---|
75
+ | One attempt | 1 | 75, the median of 32 runs that range from 70 to 83 |
76
+ | Deep mode | 2 | 81 |
77
+ | | 4 | 86 |
78
+ | | 8 | 90 |
79
+ | | 16 | 90 |
 
 
80
  | | 32 | **92** |
81
+ | Opus 5.5, for reference | 1 | 94 |
82
 
83
  ![More attempts, more tasks fixed, of 100: 75 with 1 attempt, 81 with 2, 86 with 4, 90 with 8, 90 with 16, 92 with 32.](https://huggingface.co/RightNowAI/RightNow-Mini/resolve/main/assets/attempts.png)
84
 
85
+ Deep mode works like this. The agent attempts the task several times at temperature 0.8. If more than half of the attempts produce the same patch, that patch is the answer. Otherwise the answer is the patch that the most attempts share, and a tie goes to the shorter patch. Deep mode never sees the benchmark's tests. The code is `deep/select.py`.
86
+
87
+ With 32 attempts, RightNow Mini comes within 2 tasks of Opus 5.5, which fixed 94 of the same 100 tasks in one attempt. We ran Opus 5.5 once, through OpenRouter, with the same agent.
88
+
89
+ There is more to gain. Among the 32 attempts, at least one is correct for 97 of the 100 tasks, and picking by agreement finds 92 of them.
90
 
91
+ Counting agreement beat the more elaborate ways of picking that we tried. Asking the model to read the candidate patches and vote fixed 79, 84, 85 and 86 tasks with 2, 4, 8 and 16 attempts. Giving the model a full review session with tools fixed 88 tasks with 8 attempts, where agreement fixed 90.
92
+
93
+ Deep mode costs as many times the compute as it makes attempts. With a GPU to itself, 8 attempts at one task took between 1.1 and 8.4 minutes, and 4.9 minutes at the median.
94
+
95
+ Use temperature 0.8 for agent work. With greedy decoding the model often repeats one command until it runs out of steps, and it fixed 56, 51 and 45 tasks in 3 greedy runs.
96
 
97
  ## Run it
98
 
99
+ You need one GPU, Docker and the Hugging Face CLI.
100
+
101
  ```bash
102
+ # the original Inkling 2 Mini weights, the published draft model, and this repository
103
  hf download thinkingmachines/Inkling-2-Mini --local-dir model
104
  hf download incoai/Inkling-2-Mini-DFlash2 --local-dir drafter
105
  hf download RightNowAI/RightNow-Mini --local-dir rightnow-mini
106
 
107
+ # an OpenAI-compatible server on port 8000, model id: rightnow-mini
 
108
  MODEL_DIR=$PWD/model DRAFTER_DIR=$PWD/drafter bash rightnow-mini/engine/serve.sh
109
  ```
110
 
111
+ The first start prepares the draft model, and later starts reuse it.
112
 
113
+ To use deep mode, run your agent several times against that server and then pick one answer:
114
 
115
  ```bash
116
  # attempts/att-1/preds.json ... attempts/att-8/preds.json, in the SWE-bench predictions format
117
  python rightnow-mini/deep/select.py --attempts attempts --n 8 --mode agree --url http://127.0.0.1:8000 --model rightnow-mini --out chosen
118
  ```
119
 
120
+ The file `deep/server.py` offers the same idea for a single chat request, under the model id `rightnow-mini-deep`. It has a test in `tests/test_deep.py`, and we have not scored it on a benchmark.
121
 
122
  ## What is in this repository
123
 
124
+ | Path | What it holds |
125
  |---|---|
126
+ | `engine/` | The script that serves the model with an OpenAI-compatible API |
127
+ | `deep/` | Deep mode: several attempts, then one answer |
128
+ | `demo/` | A page that runs one coding task on two models side by side, with live speed and a clock |
129
+ | `eval/`, `train/`, `tools/` | The scripts behind every number on this page |
130
+ | `results/` | Five result files, and the raw data behind them in `results/data.zip` |
131
  | `assets/` | The pictures on this page |
132
 
133
+ ## What to keep in mind
134
 
135
+ We measured everything in one day, on one machine, with 100 tasks. Every speed on this page comes from the same single GPU, so a different GPU will give different speeds. A different task set or a different agent will give different scores.
136
 
137
+ Deep mode costs as many times the compute as it makes attempts. It picks the answer that most attempts agree on, so when most attempts make the same mistake, it returns that mistake.
 
 
 
 
 
138
 
139
+ The limits of Inkling 2 Mini apply here as well, and so does its Model Acceptable Use Policy.
 
 
 
 
 
 
 
140
 
141
  ## Licence and credit
142
 
143
+ RightNow Mini is released under Apache-2.0. It is built on Inkling 2 Mini by Thinking Machines Lab, and it keeps that model's licence and notices in `LICENSE` and `NOTICE`. The engine runs vLLM and uses the draft model Inkling 2 Mini DFlash2 by incoai, which it prepares on your machine. Neither is redistributed here. We measured with mini-swe-agent, the SWE-bench harness and SWE-smith. The file `docs/licenses.md` lists each source with its licence and revision.
144
 
145
  ## About RightNow AI
146
 
147
+ We built RightNow Mini to show what careful serving work does for an open model.
148
+
149
  Bring any Hugging Face model. RightNow AI tunes it down to the GPU kernel and hosts it on private infrastructure, with zero data retention by default. RightNow AI is a YC-backed GPU research lab.
150
 
151
  https://www.rightnowai.co