File tree 1 file changed +10
-1
lines changed
1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -69,16 +69,25 @@ jobs:
69
69
apt-get install -y libnvinfer8 libnvinfer-plugin8 libnvinfer-dev libnvinfer-plugin-dev
70
70
- name : Install Torch
71
71
run : |
72
+ export PYENV_ROOT="/opt/circleci/.pyenv"
73
+ export PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
74
+ pyenv global 3.9.4
72
75
python3 -m pip install -r py/requirements.txt
73
76
- name : Build Python Package
74
77
run : |
75
78
cp toolchains/ci_workspaces/WORKSPACE.x86_64 WORKSPACE
76
79
cd py
77
- pip install -e .
80
+ export PYENV_ROOT="/opt/circleci/.pyenv"
81
+ export PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
82
+ pyenv global 3.9.4
83
+ python3 -m pip install -e .
78
84
cd ..
79
85
- name : Generate New Docs
80
86
run : |
81
87
cd docsrc
88
+ export PYENV_ROOT="/opt/circleci/.pyenv"
89
+ export PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
90
+ pyenv global 3.9.4
82
91
python3 -m pip install -r requirements.txt
83
92
python3 -c "import torch_tensorrt; print(torch_tensorrt.__version__)"
84
93
make html
You can’t perform that action at this time.
0 commit comments