Skip to content

Commit 82315a9

Browse files
author
Ruinong Tian
committed
fix pytorch test for V1
1 parent e123e17 commit 82315a9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/test_artifacts/v1/pytorch.examples.Dockerfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ RUN sudo ln -s /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/x86_64-linux-gnu/
1010

1111
WORKDIR "examples"
1212

13-
# There is a line in run_python_examples.sh which looks like: BASE_DIR=`pwd`"/"`dirname $0`
14-
# When we run the shell script through /usr/local/bin/_entrypoint.sh, that line above doesn't work correctly. In our
15-
# case, we properly set `pwd` to the directory that contains all the examples, so we just modify the script to change
16-
# the previous line to look like: BASE_DIR=`pwd`
17-
RUN sed -i 's/^BASE_DIR=.*pwd.*dirname.*/BASE_DIR=`pwd`/' run_python_examples.sh
1813
RUN ./run_python_examples.sh install_deps
1914

2015
# We skip `imagenet` because it requires a lot of resources and so aren't a good fit for us.

0 commit comments

Comments
 (0)