Skip to content

Commit 110d425

Browse files
authored
Update docgen.yml
1 parent 69ba6f8 commit 110d425

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/docgen.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,25 @@ jobs:
6969
apt-get install -y libnvinfer8 libnvinfer-plugin8 libnvinfer-dev libnvinfer-plugin-dev
7070
- name: Install Torch
7171
run: |
72+
export PYENV_ROOT="/opt/circleci/.pyenv"
73+
export PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
74+
pyenv global 3.9.4
7275
python3 -m pip install -r py/requirements.txt
7376
- name: Build Python Package
7477
run: |
7578
cp toolchains/ci_workspaces/WORKSPACE.x86_64 WORKSPACE
7679
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 .
7884
cd ..
7985
- name: Generate New Docs
8086
run: |
8187
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
8291
python3 -m pip install -r requirements.txt
8392
python3 -c "import torch_tensorrt; print(torch_tensorrt.__version__)"
8493
make html

0 commit comments

Comments
 (0)