Repository navigation
chore(deps): Bump base64 from 0.22.1 to 0.23.1 - #5
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.22.1 to 0.23.1. - [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md) - [Commits](marshallpierce/rust-base64@v0.22.1...v0.23.1) --- updated-dependencies: - dependency-name: base64 dependency-version: 0.23.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
Every unresolved lookup on (gfx1151, qwen3.8-27b, nvfp4) is a try_kernel optional arm gated on handle != 0 at dispatch — alternative-quant FFN arms (q4k/q2_0/w4a4/w8a16 on an NVFP4 checkpoint), env-gated paths (ATLAS_FFN_MMQ / ATLAS_INT8_PREFILL / ATLAS_SSM_H_FP16 / turboKV, all off in the recipe), gb10-only register-resident wy twins, K>4 verify arms unreachable at num-drafts 3, and the TurboQuant prefill family. Each entry names its probe site and the resolved fallback. Three arms are marked UNPORTED rather than merely unselected — the nvfp4_mmq W4A4 MMQ prefill family (default-on on gb10; w4a16 t_m128 serves here) and the gdn_verify_fused_* chain (report lever #5). Both are tracked perf candidates, not hidden. Verified on winbox ROCm 10.0.0, spark.exe 256F9A62: boot WITHOUT --dangerously-allow-unresolved-kernel-lookups now passes — zero unresolved warnings, '87 kernel(s) declared expected-absent', zero errors, decode 17.53 tok/s median (n=3, same fingerprint) unchanged. The serve recipe drops the flag and comments why; re-adding it would mute exactly the signal the gate exists for. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Every unresolved lookup on (gfx1151, qwen3.8-27b, nvfp4) is a try_kernel optional arm gated on handle != 0 at dispatch — alternative-quant FFN arms (q4k/q2_0/w4a4/w8a16 on an NVFP4 checkpoint), env-gated paths (ATLAS_FFN_MMQ / ATLAS_INT8_PREFILL / ATLAS_SSM_H_FP16 / turboKV, all off in the recipe), gb10-only register-resident wy twins, K>4 verify arms unreachable at num-drafts 3, and the TurboQuant prefill family. Each entry names its probe site and the resolved fallback. Three arms are marked UNPORTED rather than merely unselected — the nvfp4_mmq W4A4 MMQ prefill family (default-on on gb10; w4a16 t_m128 serves here) and the gdn_verify_fused_* chain (report lever #5). Both are tracked perf candidates, not hidden. Verified on winbox ROCm 10.0.0, spark.exe 256F9A62: boot WITHOUT --dangerously-allow-unresolved-kernel-lookups now passes — zero unresolved warnings, '87 kernel(s) declared expected-absent', zero errors, decode 17.53 tok/s median (n=3, same fingerprint) unchanged. The serve recipe drops the flag and comments why; re-adding it would mute exactly the signal the gate exists for. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* ci(windows): build every strix-hip target so qwen3.8-27b is covered The lone HIP row in the release matrix pinned ATLAS_TARGET_MODEL to qwen3.6-27b, so the Windows AMD build validated the 3.6 target only and this PR's new qwen3.8-27b target was silently uncovered on the only Windows AMD path Atlas has. '*' is the same default build-amd.sh uses on Linux, and qwen3.8-27b reuses qwen3.6-27b's .cu tree through kernel_source, so it compiles one extra MODEL.toml resolution rather than a second kernel set (Linux measured 98 unique nvcc invocations for 283 requested). Worth noting what the Windows row already proves as of this PR's head: 'build windows-x86_64-amd-hip' is GREEN with the vision encoder in the tree. vision_encoder.cu's only warp intrinsic is __shfl_down_sync x7, which is precisely what the merged Windows shim (hip/compat/atlas_hip_win_shims.h) declares -- Windows HIP does not provide the CUDA mask-argument intrinsics. So the vision port needs no Windows-specific work to COMPILE. Running it there is a separate matter: see the row's own note and PR #470. * fix(windows): make the native-HIP build able to serve on a current HIP SDK Windows could not serve at all from a branch cut off main: cuMemGetInfo_v2 in the HIP shim is a naive passthrough to hipMemGetInfo, which is broken on the Windows HIP runtime -- it returns hipErrorInvalidValue standalone and free==0 under a live context. Atlas sizes its KV cache and drives its OOM watchdog off that number, so serve dies with "GPU free memory critically low: 0 MB" partway through loading, and no --gpu-memory-utilization setting helps because the .min(actual_free - inference_reserve) clamp forces the budget to 0 regardless. Qwen3.6 (pure NVFP4, no FP8 requant) fails identically, so this is neither a quantization nor a Qwen3.8 problem. Four files, verified on a Framework Desktop (gfx1151, Windows 11, 128 GB): * libcuda_hip_shim.cpp -- allocation-tracking cuMemGetInfo synthesis from #470, plus cuStreamQuery, which main began calling after #470 forked (it is the only missing export: 59 vs 58). * compat/atlas_hip_win_shims.h -- guard __activemask behind HIP_VERSION_MAJOR. HIP 7.x declares it natively on Windows, so the shim's unconditional definition is a hard "redefinition of '__activemask'" build failure. Not in #470, which predates HIP 7.x. * scripts/strix-windows/first_run.ps1 -- the only Windows entry point, absent from main. ATLAS_TARGET_MODEL made overridable rather than hardcoded, and DLL staging/preflight matched by pattern instead of literal 6.x names: 7.x renamed amdhip64_6 -> amdhip64_7 and amd_comgr_2 -> amd_comgr_3 and added hiprtc*, so the literal names stage nothing and fail preflight on a current SDK. * docs/porting/STRIX_WINDOWS_HIP.md -- the front door the script points at. With these, Qwen3.8-27B-NVFP4 builds 95 kernels including vision, resolves (gfx1151, qwen3.8-27b, nvfp4), serves, answers coherently and reads images. The runtime underneath is a separate matter and the docs say so plainly: ROCm 6.4 is stable but returns degenerate output ~23.5% of the time, and ROCm 7.2 fixes that and halves TTFT but hard-faults the HIP context (status 719) under sustained load, reproduced 3/3. This commit is what makes Windows work at all; it is not a claim that the configuration is ready to benchmark. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): stage the HIP shim DLLs so a source build can start A source build produced a spark.exe that could not run at all. build.rs builds the HIP shim (cuda.dll, copied to nvcuda.dll) into atlas-kernels' OUT_DIR and records ATLAS_HIP_RUNTIME_DIR so the release PACKAGING step can bundle it -- but nothing stages it beside spark.exe, and first_run.ps1 staged only the AMD SDK runtime DLLs. spark links cuda.lib and cudarc dlopens nvcuda.dll, so the loader finds neither. The failure mode is why this went unnoticed: the process fail-fasts with 0xC0000409 (STATUS_STACK_BUFFER_OVERRUN) before writing one byte to stdout or stderr, and logs no Windows Error Reporting entry. `spark.exe --version` simply prints nothing and exits non-zero, which reads as a corrupt build rather than a missing DLL. Verified on the Framework Desktop (gfx1151, Windows 11, HIP SDK 7.2): staging cuda.dll + nvcuda.dll turns that into spark 1.0.0-beta-preview exit 0 Only affects source builds; the packaged release zip already bundles them. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): serve under the model name the weights actually are first_run.ps1 hardcoded --model-name nvidia/Qwen3.6-27B-NVFP4 in both the serve invocation and the smoke probe, while ATLAS_MODEL_DIR is a documented override. Pointing it at Qwen3.8-27B weights therefore served 3.8 under the 3.6 name. That is not cosmetic. The 3.8 and 3.6 checkpoints have byte-identical text_config (same model_type qwen3_5, same hidden_size 5120), so kernel-target resolution hits an exact tie and breaks it on each target's match_names needles, matched against the HF id / --model-name / model dir. Under the 3.6 name the tie resolves to kernels/strix-hip/qwen3.6-27b, whose MODEL.toml carries different MTP depth and sampling defaults -- and because 3.8 legitimately reuses 3.6's kernel tree via kernel_source, nothing fails loudly. It just serves with the wrong config. ATLAS_MODEL_NAME now overrides, defaulting from the weights directory, and the smoke probe and the download hint use the same value. Co-Authored-By: Claude Opus 5 <[email protected]> * feat(strix-windows): make --max-seq-len overridable --max-seq-len sizes the inference reserve, not just the context window, so it belongs alongside ATLAS_GPU_UTIL as a memory knob. ATLAS_MAX_SEQ_LEN now overrides the hardcoded 65536; 16384 is what serve-amd.sh uses for the certified Linux run, so both platforms can be driven to the same recipe. Found while diagnosing the KV-sizing failure below, but it is NOT the fix for it: dropping 65536 -> 16384 left the buffer arena at 8193 tokens and the inference reserve at 14.4 GB, unchanged. The arena is sized by max_prefill_tokens. The actual fix is the FP8-source reclaim in the next commit. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): reclaim the FP8 sources so Qwen3.8-27B fits Serving unsloth/Qwen3.8-27B-NVFP4 on Windows died at KV sizing with 57.8 GB of 76.9 GB already consumed for a 21.81 GB checkpoint. The loader's own trace shows the gap exactly -- 'estimated free: 54.9 GB, actual free: 33.1 GB' -- one full extra copy of the weights. quantized_from_fp8 reclaims the FP8 source only when both of its downstream readers are provably off, and the gate is all-or-nothing: the GDN native-FP8 prefill policy (ATLAS_NO_GDN_FP8_PREFILL) and the dense FP8 attention overlay (ATLAS_DENSE_FP8). serve-amd.sh has defaulted the first to 1 since the reclaim landed. first_run.ps1 predates it and set neither, so every FP8 source stayed resident -- 11.56 GB across 401 tensors on this checkpoint. This is a divergence between the two platform recipes, not a Windows bug: the same binary reclaims correctly on Linux. Mirrors serve-amd.sh's semantics, including the ATLAS_NO_GDN_FP8_PREFILL=0 opt-out. Ruled out first: raising --gpu-memory-utilization to 0.95 does not help. The allocation is then genuinely attempted and the HIP context hard-faults with status 719, confirming the 57.8 GB is real rather than a shim accounting artefact. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): pass --max-prefill-tokens, and default to the Linux recipe The buffer arena is sized by max_prefill_tokens, not max_seq_len. first_run.ps1 never passed the flag, so it inherited the 8192 default: 8193 tokens of arena = 3632.9 MB, plus a 14.4 GB inference reserve derived from it. With the FP8 reclaim in place that still left Qwen3.8-27B 3.6 GB short of a KV pool (50.7 GB consumed + 14.4 GB reserve = 65.1 GB against a 61.5 GB budget). serve-amd.sh has run this same silicon at 2048 since the certified MLPerf-edge submission. Adopting its three numbers wholesale -- 0.86 utilisation, 16384 max-seq-len, 2048 max-prefill-tokens -- makes the Windows recipe the same recipe as the Linux one, which is the point: the two legs should differ in toolchain, not in serve configuration. All three stay overridable. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): allow the pre-existing gfx1151 kernel fallbacks A source build could not serve at all: main's kernel audit refuses to start when dispatch sites resolve to a fallback handle, and the gfx1151 kernel set is much smaller than gb10's, so many do -- 94 unresolved lookups for qwen3.8-27b (nvfp4_mmq, w4a16 variants, gated_delta_rule_fla, the turbo prefill paths, the q4k/q2_0 GEMV variants). 3.8 reuses 3.6's kernel tree verbatim via kernel_source, so the set is identical to the 92 sites serve-amd.sh documents for 3.6. These fallbacks are pre-existing, not something this port introduces: the audit landed on main after the Strix branch forked, and the certified 3.6 submission was produced under exactly the same ones. serve-amd.sh has passed --dangerously-allow-unresolved-kernel-lookups since then; first_run.ps1 never did, which is the last thing standing between a Windows source build and a serving process. ATLAS_NO_KERNEL_FALLBACKS=1 opts out. Closing the gap for real -- compiling the missing kernels, or declaring them in MODEL.toml [expected_absent] with stated reasons -- is follow-up work on the kernel tree, and no Strix performance number should be quoted as final until it is done. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(strix-windows): disable the NVIDIA-only FP8 LDMAB prefill path The server booted clean, logged 'Server live and ready', and then returned HTTP 500 to every request: Prefill chunk layer 0 failed: ssm prefill: out_proj GEMM failed: Kernel lookup w4a16_fp8_ldmab::fp8_fp8_gemm_ldmab: Module 'w4a16_fp8_ldmab' not loaded fp8_fp8_gemm_ldmab is the GDN-projection prefill fast path. It is default-ON on main and NVIDIA-only -- kernels/gb10/common/w4a16_fp8_ldmab.cu is built from mma.sync...e4m3.e4m3 plus ldmatrix.x4, neither of which has an RDNA3.5 equivalent -- so the module is absent from the strix kernel set. Unlike the other missing lookups this one is not a soft fallback covered by --dangerously-allow-unresolved-kernel-lookups; it is issued lazily, after the boot audit has sealed, and fails hard on the first prefill. serve-amd.sh has exported ATLAS_FP8_LDMAB=0 since the port and documents exactly this failure. first_run.ps1 never picked it up. Fourth and last divergence between the two platform recipes found by driving this leg end to end. Co-Authored-By: Claude Opus 5 <[email protected]> * docs(strix-windows): record the source-build faults and the validation run Everything the doc previously described was produced from a packaged binary. Driving first_run.ps1 from a clean source checkout surfaced six separate faults between cargo build and a server that answers a request, five of them drift from serve-amd.sh rather than Windows bugs. Tabulates each with its cause, and records the 2026-08-25 validation: green builds on both HIP SDKs, the qwen3.8-27b tie-break resolving with both targets embedded, MTP active, and the quick-speed-bench baseline. Co-Authored-By: Claude Opus 5 <[email protected]> * docs(strix-windows): BFCL needs an interpreter older than 3.14 bfcl-eval pins faiss-cpu==1.11.0, which has no Python 3.14 wheel, and 3.14.7 is the only interpreter on this box. The leg fails during venv provisioning and never reaches the model, so it is an environment prerequisite rather than a port defect. Says plainly not to relax the pin: the pinned set is what every recorded BFCL score was produced against. Also records the two adjacent traps found driving this remotely -- scoop shims that cannot spawn their target under non-interactive SSH, and Win32_Process children not inheriting HOME. Co-Authored-By: Claude Opus 5 <[email protected]> * docs(strix-windows): BFCL ran after installing 3.12, and found the same bug Installing Python 3.12 and pointing ATLAS_PYTHON at it unblocked the leg, so the prerequisite note is now a resolved recipe rather than a blocker. The run itself completed all 70 samples and emitted zero tool calls, identically to Linux -- a shared-port correctness bug, not a Windows one, and not a score. Scoring then failed on a machine Application Control policy blocking tiktoken's native DLL, which was deliberately not worked around. Co-Authored-By: Claude Opus 5 <[email protected]> * docs(strix-windows): note the tool-path bug is pre-existing upstream Cross-references the three-way comparison showing the pre-restoration Avarok build fails identically, so the Windows leg's zero-tool-call result is inherited rather than introduced. Co-Authored-By: Claude Opus 5 <[email protected]> * port(strix-windows): mirror the frozen Linux Qwen3.8 source; bisect the crash Mirrors the validated port/qwen3.8-strix-linux source over this branch (sync-windows-mirror.sh): the dense_gemm_tc quarantine + pipelined BF16 FFN prefill fix (the serve-path correctness fix — the gfx1151 WMMA port of dense_gemm_tc leaves ~half its output tile unwritten and ran ~1000x slow in situ, which is the root cause of the zero-tool-calls leg both platforms shared), the per-row FP8 -> BF16 preservation module, the native-HIP GDN BF16 prefill route, the BC=32 paged prefill validation, the generic template_owns_tool_definitions lever, and the authoritative unsloth MODEL.toml. The Windows-only hip shims and first_run.ps1 stay Windows-owned; the divergent template_owns_tool_prompt key (zero readers, grep-verified) is dropped with the kristianpaul hf_id it shipped with. Built ONCE from the mirrored tree: target\x86_64-pc-windows-msvc\release\spark.exe sha256 ba99809d6d9bb8ed534cf64990abfcd4d42fece91f3e4f73a4321a9da152147d. Device Guard did not block it. Parity smoke passes (recall + a correct get_current_weather tool call). Windows serve needs --no-fast-load and a lower utilization than Linux (the 76.9 GB ROCm pool with 43.8 GB preservation pre-KV: 0.88 sizes a 22 GB KV that hits the budget exactly; 0.70-0.74 works). GATE STATUS — the evaluation suite does NOT pass yet, by bisection: * BFCL-70 on the DESTRUCTIVE requant path (util 0.78): COMPLETED, overall 82.86 / normalized 78.75 — live 85.71 and hallucination 56.25 identical to the Linux preservation run (run record C:\Users\azeez\.atlas\runs\bfcl-subset\run-1788342153742063300.json). This also proves the original 27% disaster was the broken tc serve, not the requant itself. * The PRESERVATION BF16 decode paths crash under sustained load: three crashes across three configurations (K2/preservation 52-min hang then device loss; K0/preservation launch failure; K0/destructive launch failure at ~sample 750 of ST-995). Kernel microtests + the GEMM oracle all PASS on Windows HIP, so the suspect set is the uncovered decode-path kernels (dense_gemv_bf16 M=1, GDN decode, paged decode) or a Windows ROCm shared-pool durability issue. ST-995 has no valid Windows run; no Windows accuracy number is claimed. Full crash logs: C:\Users\azeez\q38-win-bfcl70*.log, q38-win-st995.log. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * scripts(strix-windows): the Windows gate, smoke and diagnostic runners The reproducible record of the Windows gate attempts and the crash bisection: * win_smoke.ps1 — the parity smoke (recall + one relevant tool control) on the frozen recipe mapped for Windows (--no-fast-load, util 0.70, --num-drafts 0). PASSES on the mirrored source. * win_bfcl70.ps1 / win_bfcl70b.ps1 / win_bfcl70c.ps1 — the BFCL-70 gate at three configurations (preservation K2 / preservation K0 / destructive K0), which bisected the serve crash to the preservation BF16 decode paths; the destructive run completed 82.86/78.75. * win_st995.ps1 — the pinned ST-995 attempt (scheduled-task launcher with HOME/ATLAS_HOME set; crashed at ~sample 750, no valid Windows run). * win_microtests.ps1 / win_oracle.ps1 / win_oracle_run.ps1 — the kernel microtest sweep (gdn_split4, paged/contiguous attention, w8a16, w4a16 parity: all PASS) and the dense_gemm_bf16 oracle on Windows HIP. * win_meminfo.ps1 / win_tdr_check.ps1 — host-memory and TDR/driver-event diagnostics for the durability investigation. * win_bench_fg.ps1 — the foreground benchmark wrapper (PowerShell 5.1 turns native stderr progress into a terminating error under ErrorActionPreference=Stop; Start-Process + file redirection avoids it). * first_run.ps1 — the entry-point updates from the earlier session. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * windows: exonerate the BF16 decode GEMV in the durability bisection dense_gemv_bf16_oracle (M=1 at all eight Qwen3.8 decode shapes vs an f32 CPU reference) PASSES on Windows HIP: mean_rel <= 1.2e-5, cos >= 0.99999999 - identical to the Linux result. The Windows crash suspect set shrinks to the uncovered decode kernels: mamba2_ssm_decode (GDN decode recurrence), paged_decode_attn, and the SSM snapshot/rollback ring. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs: the MLPerf ST leg IS the Atlas bfcl-subset ST leg (62/10/10) Maintainer clarification, added to the agent context files (AGENTS.md, CLAUDE.md, GEMINI.md) so every assistant reads the same rule: the MLPerf edge-agentic ST accuracy leg is DEFINED as the BFCL golden draw (non_live 62 / live 10 / hallucination 10, floor 25, n=995, seed 42, temp 0, no overrides), and Atlas's own `spark benchmark run bfcl-subset` with no overrides IS that leg - there is no separate MLPerf ST gate, and the external harness is an alternative runner, not a different gate. Records the Strix Qwen3.8-unsloth baseline (84.22/83.68, run-1788366618469517340.json) and the 12/23/46 not-MLPerf warning. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * windows: GDN decode recurrence exonerated in the durability bisection gdn_decode_oracle (single-step state+output vs f64 CPU SSOT at the Qwen3.8 GDN dims NK=16 KD=128 NV=32 VD=128) PASSES on Windows HIP: state max|Δ|=0.0, output max|Δ|=1e-6 - identical to Linux. The model-override decode kernel takes FP32 q/k/v (the f32 conv output feeds it directly); the oracle now matches that contract. The durability suspect set shrinks to: paged_decode_attn, kv_cache_append, argmax, and the SSM snapshot/rollback ring. Every kernel with an oracle now passes on both platforms; the crash is in orchestration or an untested kernel, not in the validated math. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs(strix-windows): durability root cause narrowed to ROCm HIP context loss ST-995 attempt 4 completed 995 samples with the serve dying partway (fifth crash). Windows Event Log shows NO TDR (4101) and NO WHEA errors - the GPU context is lost inside the ROCm 7.2 HIP SDK runtime without an OS-level reset. Eliminates TDR, hardware fault, Atlas kernel bugs, and configuration. The same binary + recipe runs 8.7 h on Linux. Needs an AMD driver fix. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * kernels: mirror the v2 GEMV + offset warp_row norm from Linux; strix copies Replaces the strix-hip symlinks to gb10 with real copies (matching port/qwen3.8-strix-linux 1c658b6 + 76fbb90) so the certified NVIDIA target is untouched: * rms_norm_offset_warp_row — warp-per-row structure with (1 + w) scaling; fixes the 52 ms/layer deinterleave+norms bottleneck. * dense_gemv_bf16 v2 — one warp per output, no smem barrier; verified on Windows HIP (oracle PASS at all 8 decode shapes, 180-200 GB/s effective). Also adds the Windows runner scripts used during this iteration (build check, GEMV v2 validation, the Atlas-instrument ST-995 attempt). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: support ROCm 10 validation and agentic perf Provide a one-command source build/serve path, version-aware runtime staging, fingerprinted gates, and a Tailscale-safe MLPerf performance server. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows(qwen3.8): native-FP8 GDN decode + bf16-fdot2 GEMV + watchdog/config fixes Perf work toward Lemonade parity on the Strix Halo Windows/HIP port. Fingerprint for all numbers below (preliminary, single-harness, observed — not cross-validated): build target (gfx1151, qwen3.8-27b, nvfp4); checkpoint unsloth/Qwen3.8-27B-NVFP4; serve flags --max-seq-len 65536 --gpu-memory-utilization 0.87 --ssm-cache-slots 4 --speculative --num-drafts 3 (K=4 verify); ATLAS_MTP _ACCEPT_DEBUG confirmed engagement p1~0.893 mean_na~2.223 tok_step~3.223; 1024-tok code prompt, reasoning off; box=winbox 2026-09-11. Observed decode ~10.9 -> ~15.1 tok/s; verify step ~430 -> ~209 ms. These are observed single-harness values under the fingerprint above, not Lemonade-parity claims. Changes: - Native-FP8 GDN decode: install on-disk FP8 qkvz/out_proj as decode weights (ATLAS_GDN_FP8_DECODE), halving GDN projection weight traffic. Lossless — the FP8 is the checkpoint's source of truth. - v_dot2_f32_bf16 inner loops on w4a16_gemv (serial partial + batchm), dense_gemv_bf16_batchm, and the M=1 draft logits GEMV on gfx1151. - ATLAS_OOM_WATCHDOG_MB: make the OOM watchdog threshold env-configurable (was hardcoded 2 GB process::exit(1), which surfaced as fake 719 storms). - cuBLASLt prefill fallback to dense_gemm when cublasLtCreate fails under the fp8d footprint. - FLA chunked GDN prefill dispatch (fla_dispatch.rs) behind ATLAS_GDN_FLA_GFX. - weight_loader: reclaim in_proj_qkv/in_proj_z store sources after the qkvz_f concat (native-FP8 arm). - weights loader: DiscardVirtualMemory on the safetensors mmap on Windows so the page cache doesn't double-count against the UMA GPU pool. - Gated num-drafts>3 is unsupported: the verify graph is fixed-width K=4 and the SSM intermediate pools size to num_drafts; a wider K needs new kernels. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * spark-model/kernels: gfx1151 block-scaled FP8 m128 prefill GEMM + Strix-Windows port infra New w8a16_gemm_t_m128 kernel (kernels/strix-hip/common/w8a16_gemm_t_m128.cu): block-scaled FP8-to-BF16 dequant into a 128x128 WMMA tile, register-prefetch double-buffered pipeline, K_STEP=32 (divides the 128 block-scale), bit-math E4M3 decode (bit-identical to the OCP LUT incl. NaN, no LDS LUT reads). Dispatches all large-M FP8 GEMMs on gfx1151: SSM qkvz + out_proj, attention q/k/v + o_proj via the transposed fp8w_t copies. ~10 TFLOPS vs ~2 on the base w8a16_gemm_t; cold prefill ~100 to ~182 tok/s observed (n=6, nonce-defeated, nvidia/Qwen3.8-27B-NVFP4, ROCm10/gfx1151). FP8 (not NVFP4) is required here: the checkpoint's SSM projections are native block-scaled FP8 and re-quantizing to NVFP4 was a proven -7pt BFCL-ST regression. Supporting infra accumulated with it: transposed fp8w_t prefill weights for SSM/attention, async memset fills for prefill setup buffers, and the Windows UVM/managed streaming weight-upload path that lets the 27B model load on the Strix UMA device without the pageable-copy 2x store spike. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * spark-model/kernels: gfx1151 non-transposed FP8 m128 prefill GEMM Add w8a16_gemm_n_m128, a 128x128 AMD-WMMA block-scaled FP8 prefill kernel that reads the checkpoint's native B[N,K] (k-contiguous) weight and FP32 block_scale[N/128,K/128] directly. The k-contiguous load lets each thread fetch 16 consecutive k per n and write a contiguous 16-bf16 run into smem_B[n][k] via two uint4 stores — eliminating the in-kernel transpose and the strided ~16-way bank-conflicting scalar stores the transposed w8a16_gemm_t_m128 pays. Route every large-M FP8 prefill GEMM through it on gfx1151, preferring it over the transposed arm: SSM qkvz + out_proj and attention q/k/v + o_proj. All fall back to w8a16_gemm_t_m128 when the kernel is absent. Measured on Windows Strix Halo (gfx1151/ROCm10, nvidia/Qwen3.8-27B-NVFP4, ~1950-token nonce-cold prompts, temp=0, max_tokens=1): ~199-203 tok/s cold prefill vs ~182 tok/s for the transposed bit-math kernel (~+10%), numerically correct output. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * atlas-plugin: read bfcl scorer jsonl as UTF-8 open(path) used the locale default, which is cp1252 on Windows — the staged scorer crashed on responses.jsonl (UnicodeDecodeError at byte 0x8f) after a fully clean 995-sample leg, failing the run record at the last step. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * atlas-kernels: correct the HIP mask-widen rationale (wave32, not wave64) The comments claimed gfx1151 wavefronts are 64-wide. They are not: hipcc is invoked with no -mwavefrontsize64 (wave32 default on gfx10+), and the tree's _w32 WMMA builtins only compile in wave32 mode. The widen exists because HIP's _sync mask parameter and __activemask() return are `unsigned long long` API-wide — an API-width fix, not a wavefront-size fix. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * kernels/strix-hip: record the Windows Qwen3.8-nvidia ST-995 baseline + recipe First measured Windows bfcl-subset record for nvidia/Qwen3.8-27B-NVFP4 on gfx1151: the pinned golden draw (n=995, seed 42, temp 0, no overrides), run-1789300938267487600, fp8d tree 8eedc21, ROCm 10.0.0, spark.exe sha256 367AA4E4 — full fingerprint in the entry note. Floors at measured-minus-0.4. Ports the unsloth/Linux baseline entry from 5cf6bfb alongside it; the two entries are explicitly not an A/B (checkpoint, OS, ROCm, recipe all differ). Also: the verbatim serve recipe as scripts/strix-windows/ win_serve_qwen38_nvfp4.ps1, and a dated supersede note on the tool-path !!!!!! section of QWEN38_STRIX_PORT.md — real tool calls were scored on this tree, attribution between the changed variables left open. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * kernels/strix-hip: declare all 87 optional-arm probes expected_absent Every unresolved lookup on (gfx1151, qwen3.8-27b, nvfp4) is a try_kernel optional arm gated on handle != 0 at dispatch — alternative-quant FFN arms (q4k/q2_0/w4a4/w8a16 on an NVFP4 checkpoint), env-gated paths (ATLAS_FFN_MMQ / ATLAS_INT8_PREFILL / ATLAS_SSM_H_FP16 / turboKV, all off in the recipe), gb10-only register-resident wy twins, K>4 verify arms unreachable at num-drafts 3, and the TurboQuant prefill family. Each entry names its probe site and the resolved fallback. Three arms are marked UNPORTED rather than merely unselected — the nvfp4_mmq W4A4 MMQ prefill family (default-on on gb10; w4a16 t_m128 serves here) and the gdn_verify_fused_* chain (report lever #5). Both are tracked perf candidates, not hidden. Verified on winbox ROCm 10.0.0, spark.exe 256F9A62: boot WITHOUT --dangerously-allow-unresolved-kernel-lookups now passes — zero unresolved warnings, '87 kernel(s) declared expected-absent', zero errors, decode 17.53 tok/s median (n=3, same fingerprint) unchanged. The serve recipe drops the flag and comments why; re-adding it would mute exactly the signal the gate exists for. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: first_run.ps1 on the proven fp8d recipe + hard GPU preflight Three changes driven by a 2026-09-14 report: the old script reproducibly bugchecked a second Strix-class box (0x119 VIDEO_SCHEDULER_INTERNAL_ERROR, GPU page fault under dxgmms2/amdkmdag) on first inference. 1. Serve profile -> the fp8d recipe (fp8 GDN weights+decode, global-GDN, ssm tail protect, drafts=3, ssm-cache-slots=64) — the fingerprinted config behind the 2026-09-13 ST-995 record — replacing the preservation profile whose bf16-GDN kernel path is a different arm set and a live suspect. max-seq 4096 / util 0.70 stay (footprint knobs, env-overridable); --disable-thinking stays so the smoke fits 64 tokens. 2. Check-Gpu wrong-arch is now a hard FAIL, not a Warn — a wrong-arch or faulting compute launch on WDDM can take the whole OS down; a first-run script must never bluescreen someone. ATLAS_SKIP_GPU_CHECK=1 overrides. 3. Drop --dangerously-allow-unresolved-kernel-lookups: all 87 probes are declared expected_absent now, and a first-run script must not ship the escape hatch that would hide a genuinely new missing kernel. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * docs/strix-hip: scoop git 'current' junction trap kills agentic bash tool * strix-windows: root build-amd.ps1/serve-amd.ps1 twins of the .sh pair * merge: resolve rebase conflicts left as markers in 5 files f52757f/edd5cc20b replays landed conflict markers inside libcuda_hip_shim.cpp, trait_decode_batched.rs, embed_chunk.rs, forward_layers.rs, meta.rs. Resolved as: main's newer paths kept (ssm_fp4_proj DP4A arm, ngram embed, HYPER_RMS hook, dflash bind, cuStreamIsCapturing), with the Windows-only additions folded back (traced graph capture, K4/sync/timing instrumentation). * strix-windows: default the served checkpoint to nvidia/Qwen3.8-27B-NVFP4 The Windows evidence (ST-995 x2, agentic x30) ran the nvidia checkpoint; make the default match what was validated. ATLAS_MODEL_NAME remains the override. * ci: allow-list four files that crossed 500 LoC only in the #9 rebase union gpu.rs (470+57), qwen3_ssm/init.rs (484+23), ssm_forward.rs (477+42), trait_prefill_proj.rs (439+119) — each side stayed under on its own; the rebased union tips them over. Same pattern as the #8 merge entries directly above: allow-list now, split post-merge. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * ci: stub cuMemsetD2D8Async + escape B[N,K] doc-link for green checks Two CI-only breakages surfaced on the rebased branch: - cargo test / llvm-cov / benchmark gate: the graph-capture KV-clear path (spark-runtime::cuda_backend::gpu_impl_graph) is the first workspace caller of the driver-API cuMemsetD2D8Async, and the hand-maintained no-GPU libcuda stub only had the D8/D32 flat variants — undefined symbol at link time on GPU-less runners. Add the pitched variant with the same fail-fast return-100 convention. - Build mdBook + rustdoc: an unquoted `B[N,K]` in init_fp8.rs parsed as an intra-doc link (`no item named N,K`). Escape the brackets; the backticked and //-comment occurrences were never link candidates. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * spark-model: scope the sw-LUT barrier check to the post-return region The AMD bf16x2 dot2 path stages `s_lut2` block-wide in w4a16_gemv_sw with a __syncthreads() placed BEFORE `if (n >= N) return` — every thread reaches it, so it is not the divergent barrier the structural test was written to forbid (a sync after the warp-uniform early return). The blanket contains() check predates the AMD staging and now fails on a safe pattern. Assert the real invariant instead: no __syncthreads() in the body region after `if (n >= N) return`. The proven-by comment still holds — a post-return barrier or `s_lut[8][16]` keeps this red. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: derive default weights dir from the served checkpoint name fff1418 switched ATLAS_MODEL_NAME to nvidia/Qwen3.8-27B-NVFP4 but left ATLAS_MODEL_DIR pointing at models\Qwen3.8-27B-NVFP4 (the unsloth snapshot), so serve-amd.ps1 loaded the wrong checkpoint while reporting the nvidia id. The unsloth snapshot stores GDN projections as per-row FP8, which misses the block-scaled fp8_preservation arm and lands in the NVFP4 arm where the ATLAS_GDN_FP8_DECODE recipe then also installs the rowwise copies — NVFP4 + transposed NVFP4 + FP8 prefill + rowwise all resident (~57 GB pre-KV vs ~39.7 GB on the nvidia modelopt snapshot) and the KV budget fails. Deriving the dir default from the checkpoint leaf keeps name and snapshot consistent for both the default and the ATLAS_MODEL_NAME override case. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: default ATLAS_GPU_UTIL to the fingerprinted 0.95 On the ~63 GB gfx1151 pool the nvidia checkpoint needs ~39.7 GB pre-KV plus the ~14.6 GB inference reserve, so --gpu-memory-utilization must clear ~0.86 to leave any KV at all; the 0.70 default produced "No memory left for KV cache" out of the box. 0.95 is the value in the validated fp8d recipe (win_serve_qwen38_nvfp4.ps1) that produced the ST-995/agentic evidence. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: map checkpoint id to org-dash-repo weights dir The leaf split in 208f6ba dropped the org prefix — 'nvidia/Qwen3.8-27B-NVFP4' derived models\Qwen3.8-27B-NVFP4, the unsloth snapshot dir this fix exists to avoid. The on-disk convention is org-dash-repo: 'nvidia-Qwen3.8-27B-NVFP4'. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: fix wrapper arg forwarding for -NoSmokeTest Array-splatting @Args turned '-NoSmokeTest' into a positional string that first_run.ps1 could not bind ("positional parameter cannot be found that accepts argument '-'"). Give both wrappers a real param() block: serve-amd.ps1 takes positional -ModelDir (weights snapshot path -> ATLAS_MODEL_DIR, with an explicit not-found error instead of silently ignoring a bad path) plus -NoSmokeTest; build-amd.ps1 takes -NoSmokeTest for symmetry. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> * strix-windows: document the working Windows startup for nvidia/Qwen3.8-27B-NVFP4 The quick-start section linked the Windows branch but only documented the Linux script pair. Add the gfx1151 Windows path: build-amd.ps1/serve-amd.ps1 (PowerShell, not Git Bash), the ATLAS_BIN prebuilt-zip shortcut with the DLL-beside-exe requirement, the fp8d serve recipe, and the fingerprinted ST-995 record (run-1789300938267487600 / run-1789375300874322000). Also corrects the leg label — the Windows path is native HIP over ROCm 10 TheRock, not DirectX 12. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --------- Co-authored-by: Azeez Ishaqui <[email protected]> Co-authored-by: Claude <[email protected]> Co-authored-by: Alibaba <[email protected]> Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Devin <[email protected]>
|
Closing to cut open-PR noise (maintainer decision, 2026-09-27). Dependency bumps will be taken in one deliberate batch when needed. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
…other launch bounds; kbench also copies gb10/common (mask-widened) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Bumps base64 from 0.22.1 to 0.23.1.
Changelog
Sourced from base64's changelog.
Commits
069bf70v0.23.16ab1fb0Merge pull request #310 from musicinmybrain/test-on-non-simd-arches7cffce6Fix testing on architectures without unsafe SIMD supporte34f9a0Merge pull request #308 from atouchet/come9240c9Remove outdated comment9e9220av0.23.0870326eMerge pull request #306 from marshallpierce/mp/trailing-bits-docsfbec5f1Document no trailing trailing bits0a23549Merge pull request #305 from marshallpierce/mp/edition-2021f10b7e2Update deps & editionDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)