> Recipe card only. This repo holds no weights. The weights are in two other repos (see Get the weights). The recipe is on GitHub: Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark.
0
3 commits
5 linked in READMEs
updated Oct 18, 2026
Recipe card only. This repo holds no weights. The weights are in two other repos (see Get the weights). The recipe is on GitHub: Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark.
Run DeepSeek's V4.1 Flash model on two NVIDIA DGX Spark computers, twice as fast as the standard setup, and ready for AI agents.
Measured on 17 October 2026 on one pair of DGX Spark. Every number on this page comes from a saved run in the GitHub recipe.
| Standard setup (vLLM kit) | This recipe | ||
|---|---|---|---|
| Writing speed, text | 27.0 tokens/s | 56.8 tokens/s | 2.1× faster |
| Writing speed, code | 39.9 tokens/s | 92.2 tokens/s | 2.3× faster |
| Find one fact in a 64,000-token document | 80.4 s | 35.9 s | 2.2× faster |
A token is a piece of a word. 100 tokens are about 75 English words.
Both setups ran on the same two computers, with the same model files and the same prompts, on the same day.
This recipe uses two sets of files. Both are already public. The recipe downloads them for you at these exact versions.
| Files | Source | Version |
|---|---|---|
| Model weights (EXL3 2.9 bpw, 43 files) | LibertAIDAI/DeepSeek-V4.1-Flash-1017-EXL3-2.9bpw | afc7aa0a |
| Engram tables (files 47 and 48 only) | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1bae0e10 |
The Engram tables of the 1017 release are new. Do not use the tables of the older V4.1 Flash release.
The head is the computer where you type the commands. The worker is the second computer.
Run each command on the head.
git clone https://github.com/Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark
cd DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark
Make your settings file. Then open .env and type your addresses and folder paths.
cp .env.example .env
Download the model. This step gets 400 GB, checks every file, and copies it to the worker.
scripts/download.sh
Prepare the chat template. This step gets the template and applies a small fix.
scripts/patch_template.py --worker
Build the engine. This step builds the server software and copies it to the worker.
docker/build.sh
Start the server. It checks your setup first. The first start takes about 15 minutes. Later starts take 2 to 4 minutes.
./start.sh
Check that it works. This sends five real requests and shows the result of each.
./verify.sh
To stop the server, run ./stop.sh. To see if it runs, run ./status.sh.
The server speaks the OpenAI API. Any app that supports this API can use it.
| Setting | Value |
|---|---|
| Base URL | http://127.0.0.1:8888/v1 |
| Model name | DeepSeek-V4.1-Flash-1017 |
Thinking is off by default. To turn it on, do one of these in your request:
reasoning_effort to one of none, minimal, low, medium, high, xhigh or max.chat_template_kwargs.enable_thinking to true.curl http://127.0.0.1:8888/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "DeepSeek-V4.1-Flash-1017",
"messages": [{"role": "user", "content": "Why is the sky blue?"}],
"reasoning_effort": "medium"
}'
This recipe stands on the work of other people. Thank you.
What this recipe adds to the engine is four changes: forced tool calls, prompts that match DeepSeek's reference byte for byte, replies in an exact format, and fault isolation. The engine changes are in the fork Elevatormusic/TensorFold, in pull requests #1, #2 and #3.
This recipe is not affiliated with or endorsed by DeepSeek, NVIDIA, LibertAIDAI, the TensorFold authors, bertholomus or MiaAI-Lab.
The scripts, tests and documents in the recipe are Apache-2.0. The model, the chat template and the engine keep their own licences:
| Part | Licence |
|---|---|
| Recipe scripts, tests and documents | Apache-2.0 |
| DeepSeek-V4.1-Flash-1017 (the model) | MIT |
| LibertAIDAI EXL3 2.9 bpw weights | MIT |
| TensorFold and the V4.1 engine | Apache-2.0 |
| MiaAI-Lab vLLM kit and chat template | AGPL-3.0 |
> Recipe card only. This repo holds no weights. The weights are in two other repos (see Get the weights). The recipe is on GitHub: Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark.
0
3 commits
5 linked in READMEs
updated Oct 18, 2026
Recipe card only. This repo holds no weights. The weights are in two other repos (see Get the weights). The recipe is on GitHub: Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark.
Run DeepSeek's V4.1 Flash model on two NVIDIA DGX Spark computers, twice as fast as the standard setup, and ready for AI agents.
Measured on 17 October 2026 on one pair of DGX Spark. Every number on this page comes from a saved run in the GitHub recipe.
| Standard setup (vLLM kit) | This recipe | ||
|---|---|---|---|
| Writing speed, text | 27.0 tokens/s | 56.8 tokens/s | 2.1× faster |
| Writing speed, code | 39.9 tokens/s | 92.2 tokens/s | 2.3× faster |
| Find one fact in a 64,000-token document | 80.4 s | 35.9 s | 2.2× faster |
A token is a piece of a word. 100 tokens are about 75 English words.
Both setups ran on the same two computers, with the same model files and the same prompts, on the same day.
This recipe uses two sets of files. Both are already public. The recipe downloads them for you at these exact versions.
| Files | Source | Version |
|---|---|---|
| Model weights (EXL3 2.9 bpw, 43 files) | LibertAIDAI/DeepSeek-V4.1-Flash-1017-EXL3-2.9bpw | afc7aa0a |
| Engram tables (files 47 and 48 only) | deepseek-ai/DeepSeek-V4.1-Flash-1017 | 1bae0e10 |
The Engram tables of the 1017 release are new. Do not use the tables of the older V4.1 Flash release.
The head is the computer where you type the commands. The worker is the second computer.
Run each command on the head.
git clone https://github.com/Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark
cd DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark
Make your settings file. Then open .env and type your addresses and folder paths.
cp .env.example .env
Download the model. This step gets 400 GB, checks every file, and copies it to the worker.
scripts/download.sh
Prepare the chat template. This step gets the template and applies a small fix.
scripts/patch_template.py --worker
Build the engine. This step builds the server software and copies it to the worker.
docker/build.sh
Start the server. It checks your setup first. The first start takes about 15 minutes. Later starts take 2 to 4 minutes.
./start.sh
Check that it works. This sends five real requests and shows the result of each.
./verify.sh
To stop the server, run ./stop.sh. To see if it runs, run ./status.sh.
The server speaks the OpenAI API. Any app that supports this API can use it.
| Setting | Value |
|---|---|
| Base URL | http://127.0.0.1:8888/v1 |
| Model name | DeepSeek-V4.1-Flash-1017 |
Thinking is off by default. To turn it on, do one of these in your request:
reasoning_effort to one of none, minimal, low, medium, high, xhigh or max.chat_template_kwargs.enable_thinking to true.curl http://127.0.0.1:8888/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "DeepSeek-V4.1-Flash-1017",
"messages": [{"role": "user", "content": "Why is the sky blue?"}],
"reasoning_effort": "medium"
}'
This recipe stands on the work of other people. Thank you.
What this recipe adds to the engine is four changes: forced tool calls, prompts that match DeepSeek's reference byte for byte, replies in an exact format, and fault isolation. The engine changes are in the fork Elevatormusic/TensorFold, in pull requests #1, #2 and #3.
This recipe is not affiliated with or endorsed by DeepSeek, NVIDIA, LibertAIDAI, the TensorFold authors, bertholomus or MiaAI-Lab.
The scripts, tests and documents in the recipe are Apache-2.0. The model, the chat template and the engine keep their own licences:
| Part | Licence |
|---|---|
| Recipe scripts, tests and documents | Apache-2.0 |
| DeepSeek-V4.1-Flash-1017 (the model) | MIT |
| LibertAIDAI EXL3 2.9 bpw weights | MIT |
| TensorFold and the V4.1 engine | Apache-2.0 |
| MiaAI-Lab vLLM kit and chat template | AGPL-3.0 |