[GH-ISSUE #644] Specifying explicit GPU split crashes Strata #302

Closed
opened 2026-11-04 01:41:47 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @tonydiep on GitHub (Oct 3, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/644

ISSUE

Specifying explicit GPU split crashes Strata.

Multi-GPU Documentation says Strata supports specifying split in strata-.json but Strata crashes on any value except "auto"

#strata-<model>.json

 "layer_split": "auto"  <-------works
 "layer_split": "24,16,12,12"  <-------fails
 "layer_split": [24,16,12,12]  <-------fails

Specifying Split Fails

[strata] layer split across GPUs [2, 0, 1, 3] (24,16,12,12)
[strata] starting the engine: reading the model's weights ...
Traceback (most recent call last):
File "/home/tonydiep/Strata/serve/server.py", line 2710, in
sys.exit(main())
~~~~^^
File "/home/tonydiep/Strata/serve/server.py", line 2587, in main
engine = StrataEngine(exe, engine_args(cfg), cwd=cfg.get("cwd"), log=cfg.get("log"), env=env, lazy=lazy)
File "/home/tonydiep/Strata/serve/server.py", line 291, in init
raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") +
start_failure_hint(log, log_start))
RuntimeError: the engine exited before it was ready (see /home/tonydiep/Strata/strata-iq3_xxs.log)
tonydiep@tiny:~/Projects/optimise-llms$ tail /home/tonydiep/Strata/strata-iq3_xxs.log)
bash: syntax error near unexpected token `)'

"auto" Layer Works

[strata] layer split across GPUs [2, 0, 1, 3] (auto)

Originally created by @tonydiep on GitHub (Oct 3, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/644 # ISSUE Specifying explicit GPU split crashes Strata. [Multi-GPU Documentation](https://github.com/Niko1221/Strata/blob/main/docs/MULTI_GPU.md) says Strata supports specifying split in strata-<model>.json but Strata crashes on any value except "auto" ``` #strata-<model>.json "layer_split": "auto" <-------works "layer_split": "24,16,12,12" <-------fails "layer_split": [24,16,12,12] <-------fails ``` # Specifying Split Fails [strata] layer split across GPUs [2, 0, 1, 3] (24,16,12,12) [strata] starting the engine: reading the model's weights ... Traceback (most recent call last): File "/home/tonydiep/Strata/serve/server.py", line 2710, in <module> sys.exit(main()) ~~~~^^ File "/home/tonydiep/Strata/serve/server.py", line 2587, in main engine = StrataEngine(exe, engine_args(cfg), cwd=cfg.get("cwd"), log=cfg.get("log"), env=env, lazy=lazy) File "/home/tonydiep/Strata/serve/server.py", line 291, in __init__ raise RuntimeError("the engine exited before it was ready" + (f" (see {log})" if log else "") + start_failure_hint(log, log_start)) RuntimeError: the engine exited before it was ready (see /home/tonydiep/Strata/strata-iq3_xxs.log) tonydiep@tiny:~/Projects/optimise-llms$ tail /home/tonydiep/Strata/strata-iq3_xxs.log) bash: syntax error near unexpected token `)' # "auto" Layer Works [strata] layer split across GPUs [2, 0, 1, 3] (auto)
Author
Owner

@Niko1221 commented on GitHub (Oct 4, 2026):

Thanks for the report. layer_split is the first layer of each later GPU, not the number of layers per card: for 4 GPUs it is 3 rising numbers, e.g. "layer_split": "24,36,42" puts layers 0-23 on the first card, 24-35 on the second, 36-41 on the third and 42-47 on the last. From 0.1.39 the server checks the value before the start and says what is wrong, with an example for your number of GPUs. It also accepts a JSON list ([24, 36, 42]), and MULTI_GPU.md explains the format. Your "24,16,12,12" as layer counts would be "24,40,52", which is past the model's 48 layers. "auto" picks the placement from each card's free VRAM, and is usually the best start.

<!-- gh-comment-id:5979957623 --> @Niko1221 commented on GitHub (Oct 4, 2026): Thanks for the report. `layer_split` is the first layer of each later GPU, not the number of layers per card: for 4 GPUs it is 3 rising numbers, e.g. `"layer_split": "24,36,42"` puts layers 0-23 on the first card, 24-35 on the second, 36-41 on the third and 42-47 on the last. From 0.1.39 the server checks the value before the start and says what is wrong, with an example for your number of GPUs. It also accepts a JSON list (`[24, 36, 42]`), and MULTI_GPU.md explains the format. Your `"24,16,12,12"` as layer counts would be `"24,40,52"`, which is past the model's 48 layers. `"auto"` picks the placement from each card's free VRAM, and is usually the best start.
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#302
No description provided.