From 03744477303a66673a3cddad2b58851cb5e3e680 Mon Sep 17 00:00:00 2001 From: Charles Tang Date: Mon, 9 Oct 2023 17:33:02 -0700 Subject: [PATCH] Clean up processes between distributed gpu tests (#660) --- .github/mcp/mcp_pytest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/mcp/mcp_pytest.py b/.github/mcp/mcp_pytest.py index 94f6f644b0..11ca81adbc 100644 --- a/.github/mcp/mcp_pytest.py +++ b/.github/mcp/mcp_pytest.py @@ -95,6 +95,8 @@ make test PYTEST='{args.pytest_command}' EXTRA_ARGS="$COMMON_ARGS --codeblocks" + pkill -9 python + make test-dist PYTEST='{args.pytest_command}' EXTRA_ARGS="$COMMON_ARGS" WORLD_SIZE=2 python -m coverage combine