Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-test-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
set -euo pipefail
pushd .
cd tests/py/dynamo
../../../packaging/vc_env_helper.bat python -m pytest -ra -n 8--junitxml=${RUNNER_TEST_RESULTS_DIR}/l0_dynamo_converter_tests_results.xml --dist=loadscope --maxfail=20 conversion/
../../../packaging/vc_env_helper.bat python -m pytest -ra -n 8 --junitxml=${RUNNER_TEST_RESULTS_DIR}/l0_dynamo_converter_tests_results.xml --dist=loadscope --maxfail=20 conversion/
popd

L0-dynamo-core-tests:
Expand Down
3 changes: 2 additions & 1 deletion py/torch_tensorrt/_TensorRTProxyModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import logging
import os
import platform
import pwd
import sys
import tempfile
from types import ModuleType
Expand Down Expand Up @@ -74,6 +73,8 @@ def enable_capture_tensorrt_api_recording() -> None:
os.environ["TRT_SHIM_NVINFER_LIB_NAME"] = os.path.join(
tensorrt_lib_path, "libnvinfer.so"
)
import pwd

current_user = pwd.getpwuid(os.getuid())[0]
shim_temp_dir = os.path.join(
tempfile.gettempdir(), f"torch_tensorrt_{current_user}/shim"
Expand Down
Loading