diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml index 6aeb41548..0ed21be78 100644 --- a/.buildkite/pipeline.yml +++ b/.buildkite/pipeline.yml @@ -146,6 +146,7 @@ steps: for test_file in \ tests/test_advantage_whiten_cp.py \ tests/test_block_fp8_zero_block.py \ + tests/test_build_messages.py \ tests/test_deep_ep_tms_patch.py \ tests/test_discounted_returns.py \ tests/test_eval_config.py \ diff --git a/tests/test_build_messages.py b/tests/test_build_messages.py new file mode 100644 index 000000000..30946b007 --- /dev/null +++ b/tests/test_build_messages.py @@ -0,0 +1,131 @@ +"""CPU unit tests for ``vime.utils.data._build_messages``. + +``--multimodal-keys`` maps a media type name to the dataset column holding that +media, and the prompt marks insertion points with the type's placeholder +(````, ``