Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem and result: on a PC with two or more GPUs, a fresh Inkling 2 Mini install writes a GPU pair and
layer_split: autointo its config, and the engine exits the moment it starts:Inkling 2 runs on one card (--layer-split is not supported for it yet)(engine/src/poly/inkling2.cpp'sneed(opt_.layer_split.empty(), ...)). After this change a family markedone_cardkeeps a single card everywhere:poly_setupclears the pair at fresh setup with a warning, andoffer_togethernever offers one later.Correction over the first push (848f505): the first version only guarded
offer_together(), which a fresh poly install never reaches —poly_setup()writes the pair directly (terminal/setup.py ~10845), and_start()skips the offer for poly configs. A review of the fresh-install path caught it; the second commit adds thepoly_setupguard, and the validation below was re-run for real this time. The first version's "Passed" line claimed the full setup command had been re-run when onlyoffer_togetherhad been called directly; that claim was wrong and is withdrawn.Approach:
"one_card": Trueon the inkling family entry, a guard inpoly_setupthat emptiesmultifor such a family (with a warning naming the engine's own message), and the same check inoffer_togetherfor any config that still arrives there single-card. Explicit--layer-spliton such a family now draws setup's warning instead of an engine exit.Validation:
d1f711e11):python terminal/setup.py --family inkling --model UD-Q4_K_XL --vision none --no-start --yeson RTX 5080 + RTX 4060 Ti, Windows 11 — the config got"gpu": [1, 0], "layer_split": "auto"and the first start died with the engine's exit.0e43f83b): the same command from a deleted config — setup prints[!] Inkling 2 Mini runs on one card so far (--layer-split is not supported for it yet): using GPU 0 (RTX 5080)and writes"gpu": 0, "layer_split"absent.terminal/run-inkling-ud-q4_k_xl.batstarts on that config (health in 12 s) and answers a chat request (finish_reason stop).offer_together()call on a single-card inkling config returns unchanged, and on a non-one_cardfamily (ornith) the pair offer still proceeds (gpu [0, 1],layer_split auto).offer_togetherorpoly_setup's multi branch) and setup_mac.py (the Mac path installs inkling single-card already).Limits: when the engine grows a layer split for Inkling 2, drop the
one_cardflag; nothing else references it.