Repository navigation
tools/ref: a single-card timing mode under box.sh's local mode (BLOOMERY_BOX_CARD=local): timing-card.sh times the one card nvidia-smi lists by UUID, the lease and its trace sit in BLOOMERY_LOCK_DIR, the witness prints the card, its Xid count, the shared memory pool and the machine, and depth-qwen3moe.sh fails an arm on an Xid or a lost card - #39
Merged
Merged
Conversation
Owner
|
Thank you. I am reviewing this now and will reply with findings or put it in the next landing train. |
7 tasks done
juliankang4
force-pushed
the
dgx-spark-timing
branch
from
October 11, 2026 11:55
178de4e to
7c8862b
Compare
Owner
This was referenced Oct 11, 2026
… and decision share one expansion serve::media::expand_spans (each placeholder run of the prompt ids expanded to its image's token count, a placeholder carried in text refused by name) moves with Expanded and ExpandError to crates/vision/src/media.rs, the model-generic owner beside MediaModel, so the decision crate can call it without a serve dependency. serve calls it and maps ExpandError into MediaError. A move: serve's gates unchanged and green. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… as the release does (vision R4c-b) - request: images in llama.cpp's order (the request's `images`, then the state's image_url parts), each a data URL, at most 8; the state comes back without those parts. videos stays 501, a non-data URL and a ninth image stay 400. The request is valid with images; encode and the label model refuse them by name (NotSupported, llama.cpp's hint), so today's seats answer as before. - encode_media(tok, req, &dyn MediaModel, counts, max): the media piece is the placeholders and a "\n" tokenized in one call, each pad run expanded to its image's count through vision::media::expand_spans; Encoded.image_spans names them; fixed counts the media ids; a placeholder in text and media ids past the context are refused by name. - gate-decision-clef: hw_clef_image_ids_equal_the_release — every set D request's input_ids equal the release's, list for list (6 of 6). Set D (images.jsonl) states no identity, so this clause reads it raw beside the same run's reference.jsonl (its revision equals clefvis.sh's, its ids equal) — a substitute for a family check until the writer states one. FAIL-first: D3 (no "\n" after the last image) red on the box at c1 234, c2 1108, c3 234, i640 338, i1024 806; D1 and D2 red in host tests (set D has no state image part to catch them). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ile, from the listing or the verified cache Co-Authored-By: Claude Opus 5.5 <[email protected]>
…eat flags and projector, the encoder reserve in the whole-fit verdict (qwen35_open::open_seated), Body35's media hidden call, the image refusals by name Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s with the encoder, 501 with llama.cpp's hint without it, the image 400s, the --hf projector pick Co-Authored-By: Claude Opus 5.5 <[email protected]>
… open_tower open a seat's projector and tower for any serve seat, merged_cells and Flags::wanted beside them (span_rows loses its rows_of parameter); image_plan holds the plan's side of an image input free of the encoder crates (the tower's reserve on the stage card, the refusal that names it, the rotation table's bytes per position) so every build's placement can take it; ds41's seat opens through them Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nd prefill_media in serve_seats/qwen3, the tower's reserve and the rotation tables in qwen3moe's placed plan and whole fit (each named in the ctx and whole-fit lines), the &VISION record; gate_qwen3_serve's --images clauses: set E prompt ids, set F chat inside the CUDA/CPU agreeing prefix with a first divergence only at a near tie (PIN F_NEAR_TIE 0.1), an image slot beside a text slot, the refusals and the plan's reserve, each FAIL-first by its own mutant Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ion_seat::open_seat takes the file the seat resolved (the decide seat's --hf pick), open_tower, merged_cells; the whole-fit line's encoder note has one owner, image_plan::note Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the gates that reach it, the Qwen3.6 image clause's plan budget has its defaults twin, rustfmt Co-Authored-By: Claude Opus 5.5 <[email protected]>
…is tree on a contributor's machine with a card of its own - docs/contrib/local-check.md rows 1, 3, 4, 5 and 7. No ssh and no rsync: bash runs the same command line in this tree, guard and profile and exports included. The environment file is BLOOMERY_ENV_FILE (default ~/bloomery-env.sh; missing: 69). Refused (64) on a host that is not Linux, with BLOOMERY_BOX_QUEUE=1, and where /root/bloomery-cpu.lock exists. - BLOOMERY_LOCK_DIR (tools/ref/lease-probe.sh's LOCK_DIR, /root when unset) holds the timing lease, the holds, the gate locks, the V4.1 load lock and queue and the batch hold. Local mode defaults it to ~/.cache/bloomery/locks and makes it. It refuses (64) a relative path, which two trees would read apart, and /root however it is spelled, where its guard would make the box's lease file; an environment file or BLOOMERY_BOX_ENV that moves it after the guard is refused (64), and so is an environment file's BLOOMERY_ARCH other than the one the recipe expanded. lease-probe.sh's holds glob and give-way check and gpu-gate.sh's lock descriptors take the path whole, so a path with a space or a ; works. - lease-probe.sh owns the box's mark: on_box (/root/bloomery-cpu.lock exists) and box_lock_dir (a directory that is /root). box.sh, gpu-gate.sh and lease_take read them. - gpu-gate.sh: BLOOMERY_BOX_CARD=local takes one lock, bloomery-gate-local.lock, for what the machine shows, and leaves CUDA_VISIBLE_DEVICES as it finds it; its lock directory is never /root (64). `both` in BLOOMERY_CARD or BLOOMERY_GATE_CARD is refused (64); a held lease is waited for as the lock is. On the box, BLOOMERY_BOX_CARD=local and a BLOOMERY_LOCK_DIR other than /root are refused (64), as lease_take refuses another lease file there. - CUDA_OXIDE_BACKEND is unset after the environment file (row 7), so cargo oxide builds and keeps its own backend (no rc 70 check). BLOOMERY_REMOTE adds no CARGO_BUILD_JOBS. - The command runs without the variables box.sh reads on this side (BLOOMERY_MODEL above all: the model crate's tests read it as a model path), without box.sh's own outputs (BLOOMERY_REF_MODEL_PROFILE, the fixture tier's BLOOMERY_CARD_BUDGET and BLOOMERY_FIXTURE_MODEL) and without the lease's file names, as over ssh. - box-gc.sh refuses (64) local mode: its root is then the contributor's tree, whose binaries are their own runs. - Unset or 0 leaves the ssh, rsync and queue arguments box.sh builds byte-identical, direct and queued. - card-tests: the local mode cases, the lock directory (two holds' give-way under a path with a space among them), the refusals, LOCAL=0 against unset, and on the box gpu-gate.sh's box refusals; the helpers drop the new variables a caller in local mode would pass. gpu-gate.sh --self-test: the local lock, the V4.1 load lock, a held lease. FAIL-first: against main's box.sh, gpu-gate.sh, lease-probe.sh, lease.sh and box-gc.sh, 27 card tests are red. With gpu-gate.sh's local arm removed the self-test's six local cases are red, and with take_local not reading the lease its lease case is red. On a stand-in for the box (a root container where /root/bloomery-cpu.lock exists), removing gpu-gate.sh's box refusal turns its two card tests red.
…ERY_BOX_CARD=local): timing-card.sh times the one card nvidia-smi lists by UUID, the lease and its trace sit in BLOOMERY_LOCK_DIR, the witness prints the card, its Xid count, the shared memory pool and the machine, and depth-qwen3moe.sh fails an arm on an Xid or a lost card FAIL-first: against the local mode commit's timing-card.sh, lease.sh, arm-place.sh, depth-qwen3moe.sh and lcpp-warm.sh, 18 card tests are red on a Mac (the same 18 of 583 on Linux): 17 of the 18 local mode cases (the 18th, an arm on a card that answers, is a control) and lease_take's machine lease under BLOOMERY_LOCK_DIR. With lease.sh's local label and its trace path in the lock directory removed, the lease self-test's tag-local-busy and trace-file-lock-dir are red. Against the local mode commit's runner the stub suite's local, local-xid and local-twocard cases are red (3 of 69, on Linux). With the journal check reading its stderr with its stdout, the case of a journal that only warns on stderr is red; with the local refusal tagged [timing-cards], its tag case is red. The pool line's fields are pinned by the stub suite's local case alone (with the earlier pool line, 1 of 69 is red on Linux); the bound on the UUID query and the journal check's skip for root have no test that can see them.
midagedev
force-pushed
the
dgx-spark-timing
branch
from
October 11, 2026 13:46
7c8862b to
2fd0ea1
Compare
Owner
|
Same as #38: this branch now points at its commit in the 0.3.0 release train. It lands with the release tonight. |
7 tasks done
This was referenced Oct 12, 2026
juliankang4
added a commit
to juliankang4/bloomery
that referenced
this pull request
Oct 13, 2026
…e on their own machine, with local mode (midagedev#38), single-card timing (midagedev#39) and aarch64 T1 (midagedev#83) as built The page says what to run on a Mac, on Linux with no card and on Linux with an NVIDIA card, and what each result shows. The box assumptions table moves to a reference section with a state column; its two counts do not reproduce at the commit that wrote them, so each is struck through beside the count at 3bc2a17 and its command. The open questions keep their numbers, 2 and 3 marked answered and midagedev#38's question 2 added as 4.
juliankang4
added a commit
to juliankang4/bloomery
that referenced
this pull request
Oct 13, 2026
…e on their own machine, with local mode (midagedev#38), single-card timing (midagedev#39) and aarch64 T1 (midagedev#83) as built The page says what to run on a Mac, on Linux with no card and on Linux with an NVIDIA card, and what each result shows. The box assumptions table moves to a reference section with a state column; its two counts do not reproduce at the commit that wrote them, so each is struck through beside the count at 3bc2a17 and its command. The open questions keep their numbers, 2 and 3 marked answered and midagedev#38's question 2 added as 4.
juliankang4
added a commit
to juliankang4/bloomery
that referenced
this pull request
Oct 13, 2026
…e on their own machine, with local mode (midagedev#38), single-card timing (midagedev#39) and aarch64 T1 (midagedev#83) as built The page says what to run on a Mac, on Linux with no card and on Linux with an NVIDIA card, and what each result shows. The box assumptions table moves to a reference section with a state column; its two counts do not reproduce at the commit that wrote them, so each is struck through beside the count at 3bc2a17 and its command. The open questions keep their numbers, 2 and 3 marked answered and midagedev#38's question 2 added as 4.
midagedev
pushed a commit
that referenced
this pull request
Oct 13, 2026
…e on their own machine, with local mode (#38), single-card timing (#39) and aarch64 T1 (#83) as built The page says what to run on a Mac, on Linux with no card and on Linux with an NVIDIA card, and what each result shows. The box assumptions table moves to a reference section with a state column; its two counts do not reproduce at the commit that wrote them, so each is struck through beside the count at 3bc2a17 and its command. The open questions keep their numbers, 2 and 3 marked answered and #38's question 2 added as 4.
juliankang4
added a commit
that referenced
this pull request
Oct 13, 2026
…s what its earlier commits earned A merged pull request is labelled from its merge commit against that commit's first parent. A rebase merge, the only kind this repository's merge button allows, has no merge commit: merge_commit_sha is the pull request's last commit, so the diff covers that commit alone, and the labels its open runs put on for the earlier commits came off at the merge. A merge now adds labels and removes none. Walking back the pull request's commits does not fix the diff: a stack pushed at once (#27, #36, #38, #39) lists every commit below it, so each would take the whole stack's labels.
7 of 19 tasks
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.
What and why
Part of #13. This builds the first two items of section 3.5 of
docs/contrib/dgx-spark.md(P3's "timing-card.shsingle-card mode"): a timing mode for one card, with the lease under
BLOOMERY_LOCK_DIRand no 3090 or A6000 branch,and a witness for this machine. The prediction card works as on the box:
lease_takeasks for one, and the sittingbelow ran with its card. This pull request sits on the local mode pull request (#38). Its first commit is that one,
and it adds one commit.
Under
BLOOMERY_BOX_LOCAL=1,tools/box.shpassesBLOOMERY_BOX_CARD=localto the command. With that valuetiming-card.shtimes the machine's own card:nvidia-smi --query-gpu=uuidlists, or, when it lists several, the UUID inBLOOMERY_TIMING_GPU. The card is picked by UUID and never by name, socards.shand its A6000 and 3090 names playno part in the pick. The query is bounded as the witness's queries are (
__witness_smi).CUDA_VISIBLE_DEVICESisset to that UUID, over the value the caller passed through
box.sh, so the runner sees no other card.TIMING_LOCAL_RUNNER=1before it sourcestiming-card.sh, as it setsTIMING_CARDS_RUNNER=1for the two-card mode. Onlydepth-qwen3moe.shdoes. Any other runner is refused underlocal: the file prints[timing-card] refused:with the reason, andlease_takeends the run with 64. A runnerwhose own checks come before its lease ends with that check's code instead:
time-gate.shanddepth-gpu.shchecktheir binary first, so with no binary they print the refusal and exit 2. Either way no lease is taken and no arm is
timed without an Xid check.
TIMING_CARDS_WHYcarries the reason andlease_takeends the run with 64, as for the two-card mode'srefusals: the machine is the box (
/root/bloomery-cpu.lockexists); the lock directory is/root;BLOOMERY_TIMING_CARDSis set; the runner did not opt in;nvidia-smifails or lists no card; it lists several andBLOOMERY_TIMING_GPUis unset; orBLOOMERY_TIMING_GPUis not a card it lists.bloomery-cpu.lockin the lock directory (lease-probe.sh'sLOCK_DIR), and the trace,bloomery-sittings.log, is written beside it.lease.shcompared both with fixed/rootpaths before.
cardfield iswitness_local: the card's name, power limit and maximum SM clock; its clocksline (SM clock, the clock-event mask, the slowdown counters); the Xid count since the lease was taken;
cpu-freq; thebinary's hash; the card's compute processes (
local-apps); CPU load and I/O pressure; the shared memory pool(
MemFreeandSwapFree); and the machine (the OS with its DGX OS version, kernel, driver, the nvcc onPATH,MemTotal).MemAvailableand the page cache are the runner'smemfield, so the pool line does not repeat them.Each
nvidia-smiquery in this witness is bounded and printed as the card answers it, so the GB10's power limitreads
[N/A]. The runner prints the witness before and after every arm, so the pool and the page cache are read atboth ends of each arm.
local-appsand[timing-card-busy]. The apps line is tagged[timing-card-busy]as the box's apps lines are.In a sitting, the witness before each of our arms usually shows that arm's own process, already loaded on the card,
with the tag. That process is the arm itself, as it is on the box, and not another tenant.
timing_cards_precheckrefuses (69), before the lease, a kernel journal that does not answer, or that shows a userother than root no line on stdout (a user outside the
admandsystemd-journalgroups gets an empty answer and rc0, and every Xid count would then read 0). A warning on stderr is not a line. After each arm,
timing_cards_armfails the arm on an Xid since the last arm's check, or on a card that no longer answers
nvidia-smiby its UUID.depth-qwen3moe.shchecks its own arms even when they exit non-zero, so an Xid an arm caused is charged to that armand not to the next one. It checks the reference arms the same way, and
lcpp-warm.shdoes the same for its serverarms, a failed one included. No test reaches those two checks: the stub suite's
local-xidcase fails one of ourown arms only.
place_checktakes only placementain local mode.gateandbpare refused, and the reason sayswhy for each:
gateloads the card named 3090, andbploads two cards by size rank.BLOOMERY_LEASE_TRACE,BLOOMERY_BOX_CARDandBLOOMERY_TIMING_GPUsay what each does inlocal mode.
On the box, with
BLOOMERY_BOX_CARDunset or naming a box card, the one-card and two-card modes work as before. Whatchanges there:
__xid_journal, which both modes call. It reads the journal's stdout only,and its failure reason now gives journalctl's exit code (journalctl's own message prints on stderr just above). The
empty-journal refusal applies only to a user other than root, so on the box, as root, a journal with no line passes
as it did before.
$LOCK_DIR/bloomery-cpu.lock.LOCK_DIRis/rooton the box, andlease_takestill refuses any other lease file where/root/bloomery-cpu.lockexists, so the box's paths stay whatthey were.
__witness_clocks(the clocks line, which the two-card witness wrote out in place)and
__witness_host(thecpu-freqandbinarylines, which all three witnesses wrote out). I compared thecardfield's output before and after under a stub
nvidia-smi, for the one-card and the two-card witness, each with abinary line, without one and with the 3090 lost: the output is the same byte for byte.
Section 3.5 also asks for the machine's own ruler and a reference engine arm. Both are runs, not code, and I report
them on #13. The reference engine is mainline llama.cpp at
53ed051ce(build 11157), the commit your public Qwen3.6card names, which I built on the Spark's host with its CUDA 13.0 toolkit (
cmake -DGGML_CUDA=ON -DCMAKE_CUDA_ARCHITECTURES=121a).LCPPin my environment file points the runner at it, and no recipe builds it.What I left as it is, so the change stays inside
depth-qwen3moe.shand the files it sources:other-busy rows:count, and its headerother_gpu=. In local mode they read0 and empty.
nvidia-smicalls still have no bound. In the box's one-card witness, all of its card queries(
timing-card.sh:188-189,:192,:197,:201); in the two-card witness, the apps and gpu lines (:492,:497,:501), while its clocks line and local mode's whole witness are bounded. Local mode also runs three unboundedqueries outside the witness:
cards.sh:23, whentiming-card.shsources it, and indepth-qwen3moe.shthe cardname (
:1702) and the guard that waits for a busy card (:1752). A driver that hangs would hang those.nvcc not on PATHon the Spark's host: the binary is built in the devcontainer, and the host's own CUDA is off
PATH. The line repeats in every witness block; it could be printed oncewith the
[config]lines.xidline and a failed arm's reasonquote the kernel's Xid line, which carries the host name. The witness's
binaryline prints the binary's full path,and the
[config]and[lease]lines carry the card's UUID and the lock directory's path. The witness block belowis an excerpt with the binary's path cut to the tree.
BLOOMERY_LOCK_DIRset to another directory together withBLOOMERY_LEASE_LOCK=/root/bloomery-cpu.lockwould make
lease_takecall the box's own lease "not the machine lease" (lease.sh:406) and write no trace. I readthis from the code and did not run it; nothing sets that pair.
Code shape
xid_read,timing_cards_precheck,timing_cards_start,timing_cards_arm) and the witness's bounded query (__witness_smi). The journal check,the clocks line and the
cpu-freqandbinarylines, which the existing code wrote out in place, are onefunction each now, and every mode calls them.
unavailable (rc N), and a journal that shows a user other than root no line is refused instead of counting 0.cargo fmtandcargo clippyare clean on what I touched; the lint count did not go up.Duplication found or removed (
path:line): removed, intools/ref/timing-card.sh:__xid_journal(:395, thejournal check
timing_cards_precheckwrote out),__witness_clocks(:207, the clocks query and its formatwitness_cardswrote out) and__witness_host(:218, thecpu-freqandbinarylines of all three witnesses).Found and left: the box's one-card clocks line (
timing-card.sh:189) formats the same fields as__witness_clocksfroman unbounded query; the gpu, load and io lines of the three witnesses (
:201-202,:243-245,:501-502) differ intheir bound and in the box's
llm.servicefield, so they stay apart.Questions
depth-ds41.sh,depth-glm5next.sh,ik-draft.shandnsys-ds41.shhave the two-cardmode, and the one-card runners (
depth-gpu.sh,nsys-gpu.sh,ncu-gpu.shand the rest) have neither. Opting onein means calling
timing_cards_armafter each of its arms and adding local cases to its stub tests. Do you want anyof them in local mode, or should the next runner opt in when someone times with it?
nvidia-smigives it, shortenedas the box's is (
GB10here). On a contributor's A6000 or 3090 the rows would read like the box's rows, and onlythe witness's machine line tells them apart. Should local rows carry a mark of their own (for example
GB10 (local)), or is the machine line enough?What I ran
Everything below ran on this commit,
7c8862b4, which sits on the local mode commit46fcf216on upstream main7e4fb051, unless a paragraph says otherwise. The A/A sitting, the witness comparison above, the runs in the rootcontainer and, on the Mac, the runs that break one mechanism at a time ran on this commit's previous version,
178de4e7, whose tree differs from this one only in the local mode commit's rename ofBLOOMERY_ENVtoBLOOMERY_ENV_FILE. I could not run the gatesjust affectedselects on the box; that run is yours.Tests.
tools/ref/card-tests/run.shgains 18 local cases: the card pick, each refusal and its[timing-card]tag, thejournal precheck (an answer, a failure, no line, a warning on stderr alone), a lost card after an arm, and
arm-place.sh's refusal ofbp. It also gains one lease case:lease_takeunderBLOOMERY_LOCK_DIRholds the machinelease.
lease.sh --self-testgains thelocal-appstag and the trace path in the lock directory.depth-qwen3moe-stub.shgainslocal(a GB10 stub: the rows, the witness lines, none of the box's lines),local-xid(an arm that exits 3 after an Xid is charged with both, and the next arm is not),
local-twocardandlocal-box.On a Mac (each
mac-staticstep's line cut after its time; the lint step counts 41 warnings, the ratchet's 41):An earlier
mac-staticrun, on the previous version of this commit, hadcheck-recipesred on one lease self-testcase (below, "What I ran into").
The Mac runs 9 more card tests than Linux, the walker tests, which need
just. The stub suites need GNUtimeout,findmntand/proc, so they run on Linux only.On a DGX Spark host (Ubuntu 24.04.5, aarch64, GNU
flockandtimeout,LC_ALL=C, no/root/bloomery-cpu.lock):The GLM stub skips its timed cases there, as that host has no GLM prose ids.
In a root container on a DGX Spark, with no card and with
/root/bloomery-cpu.lockpresent to stand in for the box:The box refuses local mode, so where
/root/bloomery-cpu.lockexists the card tests run one local case, that refusal,and skip the rest by name. The lease self-test skips its two trace wiring cases there, as they take a lease under
another lock file. The stub suites ran on the host only: in the container,
tools/ref/drive-read.shfinds no diskcounters for the overlay mount (
no counters at /sys/block/overlay/stat) and the runner stops at rc 2 before the casesrun. So the stub suite's
local-boxcase, which checks the same refusal through the runner and runs only where/root/bloomery-cpu.lockexists, has not run anywhere yet; the box would be its first run.FAIL-first, with this commit's tests over the local mode commit's
timing-card.sh,lease.sh,arm-place.sh,depth-qwen3moe.shandlcpp-warm.sh: 18 card tests fail on a Mac (18 of 592), and the same 18 of 583 on the DGXSpark host, where the stub suite fails 3 of 69:
The 18 are 17 of the 18 local cases and the lease case. The 18th local case, an arm on a card that still answers,
passes on the old code too; it is the control for the lost-card case. The stub suite's 3 are
local,local-xidandlocal-twocard. The lease self-test passes in that run because the oldlease.shbrings its old self-test with it.With only
lease.sh's code reverted and its new self-test kept (on the Mac), its two new cases,tag-local-busyandtrace-file-lock-dir, fail. The other suites have no new cases.I also broke single mechanisms one at a time. On the Mac, with the journal check reading stderr together with stdout, the
stderr-only case fails, and with the local refusal tagged
[timing-cards], the tag case fails. The pool line's fieldsare pinned by the stub suite's
localcase alone. With the pool line printingMemAvailableandCachedas well,that case fails on Linux (1 of 69):
No test can see the bound on the UUID query, or the journal check's pass for root.
The A/A ran through
tools/box.sh's local mode on the Spark's host, under its prediction card (a calibration card,kept out of this pull request), with
BLOOMERY_MODEL=qwen35moe: the depth runner's line from thedepth-gpu-qwen35moerecipe, less its build.The tools are those of
178de4e7, the previous version (above). The binary,generate_qwen3moe(sha25622cd63e4543e), was built in the dev container from that version'scrates/, which match upstream main's except forthe lever registry's rows. It ran on the host as built, with the host's CUDA toolkit off
PATH. The model file isQwen3.6-35B-A3B-Q4_K_M.gguf(21166757728 bytes). Six rounds in one lease, the same binary against itself with a load of its own per arm:cpu-busy0 of 24 rows,cold0 of 24, 0 failed arms. These are the means the runner's ratio lines print, taken outof the log. The first witness block of the sitting, an excerpt: the field that lists the top CPU processes is left out,
and the binary's path is cut to the tree.
The Qwen3.6 table against llama.cpp is on #13 with its cards and the llama.cpp build.
What I ran into
None of these block this pull request. I'm writing them down because they cost me time, and you may want to change
some of them.
lease.sh --self-testdepends on the locale. On a host whose locale isko_KR.UTF-8with the Korean libc messagesinstalled, one case fails:
main's
lease.shfails the same way, and withLC_ALL=Cthe self-test passes. The self-test could setLC_ALL=Citself, or the case could match the path and the tail without the
strerrortext.lease.sh --self-test'strace-free-by-waitercase waits 2 s for the detached waiter'sfreeline(
trace_free_wait,tools/ref/lease.sh:1004on main), and the waiter probes every 0.5 s. My firstjust mac-staticrun on the previous version of this commit, with another tree'scontrib-checkrunning beside it,had
check-recipesred on that case alone:The next
mac-staticrun passed, and the self-test alone passed six times in a row. main has the same case and thesame 2 s wait, and this change does not touch that path. A longer wait would make it less sensitive to a loaded
machine.
The build and the sitting run in two places. The Spark's host has no Rust toolchain, and its CUDA is 13.0, so I build
in the dev container (CUDA 13.3.1) and sit on the host with
BLOOMERY_ENV_FILEpointing at a host environment file.The build also needs the local
.cargo/cuda-oxide.tomleditdocs/BUILD.mddescribes (target-cpu=nativeforaarch64), which cargo, tools: host CPU flags per target triple (S2, pin 87bc9518) #36 would make unnecessary.
journalctl -kcan answer rc 0 with nothing on stdout and a notice on stderr, for a user outside theadmandsystemd-journalgroups. Read with2>&1, the notice looks like a journal line and the Xid count reads 0 for thewhole sitting. To reproduce: run
journalctl -k -n 1 -o short-unix --no-pager -qas such a user and check stdout andstderr apart. Local mode now reads stdout only. The box's other journal reads (
xid_read) still merge the two, whichis harmless there because they keep only
NVRM: Xidlines.Hardware
DGX Spark: NVIDIA GB10 (compute capability 12.1), driver 595.84, CPU Cortex-X925 and Cortex-A725 (20 cores), 128 GB
unified memory (
MemTotal127535276 kB), Ubuntu 24.04.5 LTS (DGX OS 7.6.0), kernel 6.17.0-1032-nvidia.The dev container has CUDA 13.3.1, LLVM 21.1.8 and the pinned nightly; the host has CUDA 13.0 (for llama.cpp), not on
PATH. The kernels aresm_86PTX through the driver's JIT (docs/contrib/dgx-spark.mdsection 5, answer 7). The clocksare the GB10's defaults, with no lock or cap (
clocks.max.smabove); the witness prints the SM clock and theclock-event mask at both ends of every arm.
Docs
I did not change the docs. Spots this makes stale (line numbers at
7e4fb051):docs/contrib/dgx-spark.mdsection 3.5: the first two items (the single-card timing mode and the witness) are built,in
tools/ref/timing-card.shunderBLOOMERY_BOX_CARD=local. Its referencestiming-card.sh:36,:92-93and:130are now
:50,:143-144and:188;:27is unchanged.docs/contrib/dgx-spark.md:27, thesparkprepS4 row ("tools for N cards", not done):timing-card.shnow times onecard in local mode, picked by UUID.
cards.shstill names two cards.docs/contrib/dgx-spark.mdsection 4, the P3 row: its Files cell lists thetiming-card.shsingle-card mode.CONTRIBUTING.md:57-58: the lease runners "run only on the maintainers' box today (they take a lease under/rootand pick the timing card by name)".
depth-qwen3moe.shnow runs on a contributor's machine in local mode.