mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #112] [Bug] setup.sh can't setup dual nvidia GPUs #55
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @megakilo on GitHub (Sep 29, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/112
Running on Ubuntu 26.04 + 64GB system memory + dual 5060 Ti 16GB
If I setup again with single GPU, then modify the json config with
"gpu": [0, 1]. It would work.Also calibration mode doesn't make use of two GPUs neither.
@megakilo commented on GitHub (Sep 29, 2026):
Another minor bug is that "monitor dashboard" doesn't show multiple GPUs
@sal7g86 commented on GitHub (Sep 29, 2026):
I have the same problem on linux mint:
this is my nvidia-smi output:
@pdsmike commented on GitHub (Sep 29, 2026):
Confirming. After git pull on Linux:
./setup.sh --setup --gpus 0,1 --layer-split auto
After running setup without params new engine is building correctly, but the same issue when running again ./setup.sh --setup --gpus 0,1 --layer-split auto
@ymja commented on GitHub (Sep 29, 2026):
Same issue with 5080+3090 combo in Win11.
All looks fine (both cards "detected") in the setup just as in the logs above but the script stops at "there is no GPU [0, 1]"
@pdsmike commented on GitHub (Sep 29, 2026):
Quick fix
insert these two lines after the ], closing lib_dirs in the_model.json (strata-swift-iq3_xxs.json)
"gpu": [0, 1],
"layer_split": "auto",
before "port" and use
./run-the_model.sh:
"lib_dirs": [
"/usr/local/cuda-13.3/bin",
"/usr/local/cuda-13.3/lib64"
],
"gpu": [0, 1],
"layer_split": "auto",
"port": 8080
}
@Niko1221 commented on GitHub (Sep 29, 2026):
Thanks @megakilo, @sal7g86 and @pdsmike - confirmed and fixed for the next release.
In 0.1.21,
--gpus 0,1stops at the end of setup ("there is no GPU [0, 1]"), on Linux and Windows alike: thecalibration lookup that runs last didn't expect a list of GPUs. Until the release, the workaround is the one
@megakilo found: set up with one GPU, then put
"gpu": [0, 1]and"layer_split": "auto"in the model'sstrata-*.jsonand start it again.In the next release you won't need any flags:
--gpus 0,1,--gpus allor--gpu 0,1also work at any start, and are remembered;--calibratemeasures the split as it runs;Tested on a Windows PC with an RTX 5080, RTX 2080 Ti and RTX 3090 (the 2080 Ti is refused with its reason). I don't
have a Linux PC with several GPUs; if you can try the release on yours, that would confirm the Linux side.
@Niko1221 commented on GitHub (Sep 29, 2026):
Fixed in 0.1.22 (released today):
--gpus 0,1no longer stops at the end of setup,--gpusalso works on an installed model, setup asks which GPUs to use without any flag,--calibratemeasures the split, and the Monitor shows every card. Thank you @megakilo, @sal7g86 and @pdsmike. I tested it on Windows only (the Linux setup is the same code); if the Linux run doesn't work for you, please reopen with the output.@sal7g86 commented on GitHub (Sep 29, 2026):
@Niko1221, doesn't work :
on log:
I rerun without --setup
on log:
@m-abs commented on GitHub (Oct 10, 2026):
Hi @Niko1221
I think, I have this issue with a 5060 TI 16 VRAM + 3060 12 VRAM on v0.1.42