Repository navigation
Conversation
…te entrypoint - Fix cuda12 build break on main by adding missing <cstddef> to paged_kv_pool.h - Restore server/share/ (status.html, deepseek41/*) in both runtime images and un-ignore server/share/**/*.bin in .dockerignore - Drop unused Python/uv/PyTorch cu128 (~3+ GB) and test_dflash/test_server_unit from runtime images; build luce_server only with -DLUCE_TESTS=OFF - Move cuda12 from Ubuntu 22.04 to 24.04 with -DLUCE_FA_ALL_QUANTS=OFF; enable ROCm ld.lld in Dockerfile.rocm - Update entrypoint.sh + test_entrypoint.sh for deepseek41, inkling2/inkling2_loop, qwen3.8, qwen4exp, gemma4, paged attention (--ddtree guard), and LUCE_KV_CACHE_DIR + /opt/lucebox-hub/kv-cache volume - Update docker.yml path filters, add ROCm support to scripts/build_image.sh, and refresh README.md Docker docs
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.
Summary
Audited the Docker build, runtime images, entrypoint, CI workflow, and local tooling against
main(a0a071cb) and fixed the build break, missing runtime assets, model-handling gaps, and legacy bloat.Fixes
#include <cstddef>toserver/src/common/concurrency/paged_kv_pool.h(broke GCC 11.4 inDocker prebuilds→cuda12).server/share/assets in both runtime images: builder prune previously deletedbuild/share/(status.html,deepseek41/*), runtime never copied them, and.dockerignore's**/*.binexcludedserver/share/deepseek41/router_bias_lucebox_40x384_f32.bin. Restoresserver/share/, adds!server/share/**/*.bin, symlinksbuild/share -> ../share, and asserts all files exist during image build.server/scripts/entrypoint.sh+server/test/test_entrypoint.sh:deepseek41(prefer 4.1 DSpark draft, drop draft on paged serving, skip--ddtree).inkling2/inkling2_loop(mtp.safetensorsDSpark draft, never pick.gguf, skip--ddtree).qwen3.8draft pattern ahead of generic*dflash*, preventqwen4expfrom picking unrelated DFlash drafts, skip auto-draft forbailingmoe3/qwen3.--ddtreeonPAGED=0andmodel_capabilities.hDDTree-capable architectures (fixes concurrent Qwen 3.5/3.6/3.8--paged-attention+ DFlash2, whichfeature_gate.cpppreviously rejected with--paged-attention does not support DDTree).LUCE_KV_CACHE_DIRsupport and/opt/lucebox-hub/kv-cacheVOLUME(mode1777) so the on-disk KV session cache stays off the container overlay and works under non-root-u uid:gid.Image & Build Refresh
uv/ PyTorchcu128(~3+ GB) from both runtime images (including NVIDIAcu128PyTorch that was being installed into:rocm) — runtime images only exec native C++luce_server.luce_serveronly: droptest_dflashandtest_server_unit(each duplicated staticlibluce_common.afat-binary kernels) and configure with-DLUCE_TESTS=OFFwithout copyingserver/test.cuda12withci.ymland:rocm: bumpUBUNTU_VERSIONfrom22.04to24.04(GCC 13) and pass-DLUCE_FA_ALL_QUANTS=OFF(keeps all symmetric KV quants, ~3× faster CUDA builds).-fuse-ld=lldwhen ROCm'sld.lldis present inDockerfile.rocm..github/workflows/docker.ymlpath triggers (server/share/**,share/model_cards/**,server/hip_compat/**,server/scripts/entrypoint.sh; dropserver/test/**,pyproject.toml,uv.lock), addrocmsupport toscripts/build_image.sh, and updateREADME.mdDocker docs.Follow-up (intentionally left out of this PR)
Dockerfile.rocmruntime offrocm/dev-ubuntu-24.04toubuntu:24.04+ ROCm runtime packages (best tested directly on an AMD host in a dedicated PR).Validation
bash server/test/test_entrypoint.sh server/scripts/entrypoint.sh→ PASSbash -nonentrypoint.sh,test_entrypoint.sh,build_image.sh→ PASSc++ -std=gnu++17 -fsyntax-onlyonpaged_kv_pool.h→ PASS.githooks/pre-push+ YAML validation on.github/workflows/docker.yml→ PASScuda12+rocmimage builds will be verified by theDocker prebuildsPR workflow.