Repository navigation
unsloth: repin DiffusionGemma onto c9b81be (multi-GPU visual server) - #262
Conversation
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
|
Repins ggml-org#24423 (DiffusionGemma) from 6431891 to c9b81be, so the visual server Studio uses for DiffusionGemma can serve a model split over more than one GPU. Needed for unslothai/unsloth#13291 (unslothai/unsloth#6347).
ggml-org#24423 (DiffusionGemma): onto c9b81be
With more than one GPU the visual server turns the single-device prompt-KV store off. That path flagged every
[prompt|canvas]row for logits while the server capsn_outputs_maxat the 256-token canvas, so the first request aborted inoutput_reservewithGGML_ASSERT(n_outputs_max <= cparams.n_outputs_max). Studio always masked the runner to one GPU, so nobody hit it. c9b81be flags only the canvas rows and reads them from the first canvas row viallama_get_logits_ith; the visual server also answers--capabilitieswithmulti_gpu_splitso Studio only splits with a fixed build. Two files, +11/-6, examples only (no ggml or src change).Verification
llama_pinset.py gate --model diffusiongemma, fixed seed): A=6431891, B=c9b81be, C=c9b81be+master (259d7be), each twice: all identical to A.llama-diffusion-clibase vs patched, twice each: byte-identical text with the default path, with--diffusion-kv-cache on --diffusion-gpu-sampling off, and with--diffusion-kv-cache off --diffusion-gpu-sampling off(the path the visual server takes on more than one GPU).4), a 1007-token prompt over 4 blocks (1024 tokens, 34 steps) and a second turn (12). The shipped b11541-mix-2500203 prebuilt aborts the same way as 6431891.pin_contract.pyandmerge_checks.pywith this pin set: all 15 pins merge, intact and clean on b11558 and b11559.audit --pr-set: 15/15 clean, feature-checks coverage ok.verify --tag b11558 --cuda: CPU gate,feature_matrixCPU (7/7), full CUDA build,test-chat,test-backend-opsPAD37/37 andGET_ROWS216/216 pass;MUL_MATpassed 2483/2483 on a rerun (2482/2483 on the first pass, not reproduced).test-backend-ops -o MUL_MAT_IDfails on CUDA, pre-existing upstream: ggml-org#29998 (in b11554 and later) addeddup=1cases (duplicate expert ids) and changed only the Vulkan backend. Plain upstream b11558 with no pins fails the same fivedup=1cases (f16 and q8_0, ERR 1.44 to 1.84) and then hitsCUDA error: an illegal memory accesson a B200, identical to the merged tree.