docker: the test stage can leave entries out (TEST_EXCLUDE, build.sh -E)

Without perf_event_open in the build sandbox, tokenizer_perf_test bounds the encoder's linearity by
CPU time. Its 500 KB single word reads a ratio of 10 to 12 against the threshold of 9 on a Zen 2
VM with 512 KiB of L2, every run, with the tokenizer unchanged. A ctest -E regex lets such a host
build the image without the threshold moving for everyone. Empty by default. docs/DOCKER.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
NunzeandClaude Opus 5.5 committed 2026-10-19 13:37:01 +02:00
1 parent 748f63637e
commit da1ffff9a8
3 files changed
+11 -1

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ docker/build.sh -s gpu-host # stream the commit over ssh; gpu-host bu
docker/build.sh -j 8 # cap compile jobs (a device kernel takes 2-3 GB under hipcc)
docker/build.sh -J 4 # tests at a time (default: the compile jobs)
docker/build.sh -B 5 # every test's CPU budget times 5, for a host slower per thread
docker/build.sh -E tokenizer_perf_test # leave tests matching a regex out of the test stage
docker/build.sh -t 'gfx1200;gfx1201' # GPU architectures to compile kernels for (default gfx1201)
docker/build.sh -r <commit> # any other commit
docker/build.sh --target build # stop at a stage, tagged radiance-<stage>