File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ RUN cd /workspace/tritonbench && \
22
22
23
23
RUN cd /workspace/tritonbench && \
24
24
. ${SETUP_SCRIPT} && \
25
- sudo python tools/cuda_utils.py --setup-cuda-softlink
25
+ sudo python -m tools.cuda_utils --setup-cuda-softlink
26
26
27
27
# Install PyTorch nightly and verify the date is correct
28
28
RUN cd /workspace/tritonbench && \
29
29
. ${SETUP_SCRIPT} && \
30
- python tools/cuda_utils.py --install-torch-deps && \
31
- python tools/cuda_utils.py --install-torch-nightly
30
+ python -m tools.cuda_utils --install-torch-deps && \
31
+ python -m tools.cuda_utils --install-torch-nightly
32
32
33
33
# Check the installed version of nightly if needed
34
34
RUN cd /workspace/tritonbench && \
@@ -37,9 +37,9 @@ RUN cd /workspace/tritonbench && \
37
37
echo "torch version check skipped" ; \
38
38
elif [ -z "${FORCE_DATE}" ]; then \
39
39
FORCE_DATE=$(date '+%Y%m%d' ) \
40
- python tools/cuda_utils.py --check-torch-nightly-version --force-date "${FORCE_DATE}" ; \
40
+ python -m tools.cuda_utils --check-torch-nightly-version --force-date "${FORCE_DATE}" ; \
41
41
else \
42
- python tools/cuda_utils.py --check-torch-nightly-version --force-date "${FORCE_DATE}" ; \
42
+ python -m tools.cuda_utils --check-torch-nightly-version --force-date "${FORCE_DATE}" ; \
43
43
fi
44
44
45
45
# Tritonbench library build and test require libcuda.so.1
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ RUN cd /workspace/tritonbench && \
35
35
# Install PyTorch nightly and verify the date is correct
36
36
RUN cd /workspace/tritonbench && \
37
37
. ${SETUP_SCRIPT} && \
38
- python tools/rocm_utils.py --install-torch-deps && \
39
- python tools/rocm_utils.py --install-torch-nightly
38
+ python -m tools.rocm_utils --install-torch-deps && \
39
+ python -m tools.rocm_utils --install-torch-nightly
40
40
41
41
42
42
# Install Tritonbench
You can’t perform that action at this time.
0 commit comments