Skip to content

Commit 139d558

Browse files
ejguanfacebook-github-bot
authored andcommitted
Proper fix for graphviz (meta-pytorch#943)
Summary: Third PR to figure out how to generate images by graphviz within spinx - Step 1 Add a debug workflow to figure out the proper solution - Shown no warning about missing `dot` command (https://github.com/pytorch/data/actions/runs/3897152397/jobs/6654521346#step:6:399) - Step 2 remove debug workflow and add `apt-get install graphviz` to make sure the CI machine has `graphviz` and `dot` installed and exposed to cml. Pull Request resolved: meta-pytorch#943 Reviewed By: wenleix, NivekT Differential Revision: D42463417 Pulled By: ejguan fbshipit-source-id: f7e3019ba8d86c85e15330c10dd2b6e4362f6c3b
1 parent e9ee0f5 commit 139d558

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/_build_test_upload.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ jobs:
487487
- name: Build the docset
488488
run: |
489489
cd ./docs
490+
sudo apt-get install -y graphviz
490491
pip3 install -r requirements.txt
491492
make html
492493
cd ..

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ sphinx
33
# PyTorch Theme
44
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
55
# For Graph Visualization
6-
pydot
76
graphviz

0 commit comments

Comments
 (0)