From 1cb531680784eabd5de3e20333c4c3f4ad93cbe4 Mon Sep 17 00:00:00 2001 From: Tyler Burt <195370667+tburt-nv@users.noreply.github.com> Date: Mon, 29 Jun 2026 08:56:20 -0700 Subject: [PATCH 1/2] add unittest/others/test_builder back to post-merge Signed-off-by: Tyler Burt <195370667+tburt-nv@users.noreply.github.com> --- tests/integration/test_lists/test-db/l0_a10.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/test_lists/test-db/l0_a10.yml b/tests/integration/test_lists/test-db/l0_a10.yml index 6bcc615360ff..e1452d6eecd5 100644 --- a/tests/integration/test_lists/test-db/l0_a10.yml +++ b/tests/integration/test_lists/test-db/l0_a10.yml @@ -245,6 +245,7 @@ l0_a10: - llmapi/test_llm_examples.py::test_llmapi_quickstart_atexit - unittest/test_model_runner_cpp.py - unittest/llmapi/test_build_cache.py + - unittest/others/test_builder.py - unittest/trt/attention/test_gpt_attention_IFB.py - unittest/trt/attention/test_gpt_attention_no_cache.py - condition: From e77db5eba56a9e7e50166c505d0fee701aabcec6 Mon Sep 17 00:00:00 2001 From: Tyler Burt <195370667+tburt-nv@users.noreply.github.com> Date: Mon, 29 Jun 2026 08:47:05 -0700 Subject: [PATCH 2/2] replace mktemp Signed-off-by: Tyler Burt <195370667+tburt-nv@users.noreply.github.com> --- tests/unittest/others/test_builder.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unittest/others/test_builder.py b/tests/unittest/others/test_builder.py index 1812c7338810..29f9675d6981 100644 --- a/tests/unittest/others/test_builder.py +++ b/tests/unittest/others/test_builder.py @@ -57,7 +57,9 @@ def test_basic_builder_flow(self): assert engine is not None refit_engine = builder.refit_engine(network, engine) assert refit_engine is not None - builder.save_config(builder_config, tempfile.mktemp()) + with tempfile.TemporaryDirectory() as tmpdir: + config_path = f"{tmpdir}/builder_config.json" + builder.save_config(builder_config, config_path) def test_top_level_dont_have_functional_apis(self): # This did not check all the functional apis, but should already prevent