[GH-ISSUE #5114] [Engine] How to use own build of the engine instead of downloaded one by using "strata launch" ? #2393

Open
opened 2026-11-04 01:58:56 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @GGuussss on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5114

Strata version 0.1.56
OS : Proxmox (linux debian 13)
GPU : 2x RTX 3060 12Gb
CPU : Intel(R) Xeon(R) CPU X5550 (no AVX)
RAM : 96 Gb

by using./setup --build or .update command in can build the engine
by using./setup in can run the engine

but using strata launch it try to download last engine that need AVX CPU compatible.
There is a way to avoid last engine download en using the one is on my machine that i built?

Originally created by @GGuussss on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/5114 **Strata version** 0.1.56 **OS :** Proxmox (linux debian 13) **GPU :** 2x RTX 3060 12Gb **CPU :** Intel(R) Xeon(R) CPU X5550 (no AVX) **RAM :** 96 Gb by using` ./setup --build ` or `.update` command in can build the engine by using` ./setup ` in can run the engine but using `strata launch` it try to download last engine that need AVX CPU compatible. There is a way to avoid last engine download en using the one is on my machine that i built?
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:

  • Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes".

Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment /reopen.

Details: CONTRIBUTING.md

<!-- gh-comment-id:6605070686 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing: - [ ] Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other], then a short description. Example: "[Engine] decode stops after 2 minutes". Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment `/reopen`. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@github-actions[bot] commented on GitHub (Nov 3, 2026):

Thanks, this follows the format now.

<!-- gh-comment-id:6606294799 --> @github-actions[bot] commented on GitHub (Nov 3, 2026): Thanks, this follows the format now.
bsakaguchi changed title from [GH-ISSUE #5114] [Engine] How to use own build of the engine instead of downloaded on by using "strata launch" ? to [GH-ISSUE #5114] [Engine] How to use own build of the engine instead of downloaded one by using "strata launch" ? 2026-11-07 14:37:37 +07:00
Author
Owner

@modulismm commented on GitHub (Nov 5, 2026):

Same CPU family here (2x Xeon X5650, Westmere, SSE4.2 only, no AVX), and it runs. What worked for me:
skip strata launch entirely and use the source setup's own start script, which uses the engine you built.

Machine: 2x Xeon X5650 (24 threads), 110 GiB RAM, Quadro P5000 16 GB (sm_61), PCIe 2.0 x16, Ubuntu 24.04, driver 580.

Steps (no sudo needed):

  1. Get a CUDA 12.x toolkit (CUDA 13 cannot compile for Pascal). I used cuda_12.9.1_575.57.08_linux.run in toolkit-only,
    userspace mode: sh cuda_12.9.1_575.57.08_linux.run --silent --toolkit --toolkitpath=/data/cuda-12.9 --no-man-page --no-opengl-libs --no-drm --override --tmpdir=/data/tmp. Your RTX 3060s are sm_86, so the CUDA 13 toolkit
    should also work for you; what matters is that the engine is compiled for an ISA floor without AVX.
  2. From a source checkout:
    export STRATA_NVCC=/data/cuda-12.9/bin/nvcc   # the toolkit from step 1 (see setup.py, #601)
    export STRATA_ISA_FLOOR=none                  # SSE4.2 + POPCNT
    ./setup.sh --family qwen --model IQ3_S --build --no-start --yes --cuda 12 \
        --context 32768 --vision cpu --data-dir /path/to/models
    
    Step 1 of setup then reports the missing AVX2 and that it compiles for SSE4.2 (STRATA_ISA_FLOOR=none, about
    10-20 minutes). It then downloads the model, prepares the pack and writes run-iq3_s.sh (or run-q2_0.sh).
  3. Start the server with that script, not with strata launch:
    ./run-iq3_s.sh          # serves the OpenAI API on the port you chose
    
    This uses engine-cuda12/strata from your own build, so no release engine is downloaded and nothing hits SIGILL.

Measured with strata bench run --url ... (standard-v1, thinking on), one 16 GB card:

Quant Decode tok/s (short / 4k / 16k) Prompt tok/s (4k / 16k) Sanity
IQ3_S 10.2 / 9.6 / 10.4 274 / 276 12/12
Q2_0 17.6 / 16.9 / 17.7 286 / 284 12/12

On a CPU without AVX, Q2_0 was about 70% faster at decode than IQ3_S with the same sanity score, so it is worth trying first.
Also try --pool-workers 11 (both sockets) in the config's args: on my dual Westmere it gave +10-18% decode on IQ3_S
and +34-38% on Q2_0 (about 24 tok/s), the opposite of the one-socket default. You have 4 cores per X5550 socket, so the numbers will differ. Full report: #5332.

This does not solve the request in the issue (making strata launch use a local engine), but it is a working route today.

<!-- gh-comment-id:6664006093 --> @modulismm commented on GitHub (Nov 5, 2026): Same CPU family here (2x Xeon X5650, Westmere, SSE4.2 only, no AVX), and it runs. What worked for me: skip `strata launch` entirely and use the source setup's own start script, which uses the engine you built. **Machine:** 2x Xeon X5650 (24 threads), 110 GiB RAM, Quadro P5000 16 GB (sm_61), PCIe 2.0 x16, Ubuntu 24.04, driver 580. **Steps (no sudo needed):** 1. Get a CUDA 12.x toolkit (CUDA 13 cannot compile for Pascal). I used `cuda_12.9.1_575.57.08_linux.run` in toolkit-only, userspace mode: `sh cuda_12.9.1_575.57.08_linux.run --silent --toolkit --toolkitpath=/data/cuda-12.9 --no-man-page --no-opengl-libs --no-drm --override --tmpdir=/data/tmp`. Your RTX 3060s are sm_86, so the CUDA 13 toolkit should also work for you; what matters is that the engine is compiled for an ISA floor without AVX. 2. From a source checkout: ```sh export STRATA_NVCC=/data/cuda-12.9/bin/nvcc # the toolkit from step 1 (see setup.py, #601) export STRATA_ISA_FLOOR=none # SSE4.2 + POPCNT ./setup.sh --family qwen --model IQ3_S --build --no-start --yes --cuda 12 \ --context 32768 --vision cpu --data-dir /path/to/models ``` Step 1 of setup then reports the missing AVX2 and that it compiles for SSE4.2 (`STRATA_ISA_FLOOR=none`, about 10-20 minutes). It then downloads the model, prepares the pack and writes `run-iq3_s.sh` (or `run-q2_0.sh`). 3. Start the server with that script, not with `strata launch`: ```sh ./run-iq3_s.sh # serves the OpenAI API on the port you chose ``` This uses `engine-cuda12/strata` from your own build, so no release engine is downloaded and nothing hits SIGILL. **Measured with `strata bench run --url ...` (standard-v1, thinking on), one 16 GB card:** | Quant | Decode tok/s (short / 4k / 16k) | Prompt tok/s (4k / 16k) | Sanity | | --- | --- | --- | --- | | IQ3_S | 10.2 / 9.6 / 10.4 | 274 / 276 | 12/12 | | Q2_0 | 17.6 / 16.9 / 17.7 | 286 / 284 | 12/12 | On a CPU without AVX, Q2_0 was about 70% faster at decode than IQ3_S with the same sanity score, so it is worth trying first. Also try `--pool-workers 11` (both sockets) in the config's `args`: on my dual Westmere it gave +10-18% decode on IQ3_S and +34-38% on Q2_0 (about 24 tok/s), the opposite of the one-socket default. You have 4 cores per X5550 socket, so the numbers will differ. Full report: #5332. This does not solve the request in the issue (making `strata launch` use a local engine), but it is a working route today.
Author
Owner

@GGuussss commented on GitHub (Nov 5, 2026):

Thank for advives.
I already unsing ./setup to launch strata, but strata launch seems better to setting up a model.

I will try yours tips to improve my setup. Until now i m using IQ3_S with 512k of context, and results were between 6 and 12 tok/s.
I have to lean how to make benchmark.

<!-- gh-comment-id:6671549337 --> @GGuussss commented on GitHub (Nov 5, 2026): Thank for advives. I already unsing` ./setup` to launch strata, but `strata launch` seems better to setting up a model. I will try yours tips to improve my setup. Until now i m using IQ3_S with 512k of context, and results were between 6 and 12 tok/s. I have to lean how to make benchmark.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#2393
No description provided.