* scripts/test-cuda-fixed-ptx.sh asserted the CUDA 13.0 toolkit pins; deploy/cuda-toolkit.lock.json moved to 13.2.2 on 2026-10-14. Pins updated
to nvcc/ptxas 13.2.86 and nvdisasm 13.2.86 (sha256 and sizes from the official manifest, verified against the lock's manifest_sha256);
the SASS dataflow assertions hold for the new ptxas.
* crates/model-format/src/huge_pages.rs: libc 0.2.190 has no MADV_COLLAPSE for musl targets, so the static CLI (linux-static-cli,
release-cli, Dockerfile.static-cli) did not compile since the hugepages work (2026-11-01). The constant (25, the same value glibc's libc
exports) is spelled out locally; nothing else changes.
* deploy/Dockerfile.static-cli: `rustup target add` ran before rust-toolchain.toml was copied; the floating rust:1.99 tag is 1.99.1 while the
pin is 1.99.0, so the musl std was installed for the wrong toolchain ("can't find crate for core"). The target is added after the COPY.
* crates/cuda-driver/tests/mock_cuda.c: load-only cuStreamSynchronize (Driver::load resolves it eagerly); the fake-libcuda mock gates pass again.
port.yml runs them (`run.sh --mocks`) after the harness.
* scripts/cuda-stubs: glibc/libstdc++ already declare the libm names the stub redefines (clash on every file), so those stubs are skipped under
__GLIBC__; check-cu.py finds s26_tsum.cuh in the Original kernels; check-local.sh runs the C++-only pass (--plain) off macOS (101/104 files).
* check-local.sh --full: test-cuda-driver-bootstrap.sh reported as debt (stale: it builds a synthetic workspace of the crate alone, which no
longer resolves its path dependencies).
No engine numerics or kernels are changed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
26 lines
1.2 KiB
Docker
26 lines
1.2 KiB
Docker
FROM rust:1.99-bookworm AS build
|
|
|
|
ARG RUST_TARGET=x86_64-unknown-linux-musl
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends musl-tools cmake \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /src
|
|
ENV CARGO_TARGET_DIR=/src/control-plane/target
|
|
COPY Cargo.toml Cargo.lock rust-toolchain.toml ./
|
|
# After the toolchain file is in place: the floating rust:1.99 tag can carry a newer patch than the pinned 1.99.0, and the target must be
|
|
# installed for the toolchain rustup actually selects (adding it before made the build fail with "can't find crate for `core`").
|
|
RUN rustup target add "${RUST_TARGET}"
|
|
COPY crates/ ./crates/
|
|
COPY manifests/ ./manifests/
|
|
COPY desktop-core/ ./desktop-core/
|
|
COPY control-plane/ ./control-plane/
|
|
COPY engine/strata/LICENSE ./engine/strata/LICENSE
|
|
COPY engine/strata/serve/chat_template.jinja ./engine/strata/serve/chat_template.jinja
|
|
RUN cargo build --manifest-path control-plane/Cargo.toml --locked --release \
|
|
--target "${RUST_TARGET}" --bin strata-next
|
|
|
|
FROM scratch
|
|
ARG RUST_TARGET=x86_64-unknown-linux-musl
|
|
COPY --from=build /src/control-plane/target/${RUST_TARGET}/release/strata-next /strata-next
|
|
ENTRYPOINT ["/strata-next"]
|