Skip to content

Commit

Permalink
Skip graphcore docbuilding (#1696)
Browse files Browse the repository at this point in the history
* skip graphcore doc build

* let's just remove steps instead of commenting out
  • Loading branch information
fxmarty authored Feb 19, 2024
1 parent 8b2c811 commit c9c103a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 26 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/build_main_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ jobs:
repository: 'huggingface/optimum-habana'
path: optimum-habana

- uses: actions/checkout@v2
with:
repository: 'huggingface/optimum-graphcore'
path: optimum-graphcore

- uses: actions/checkout@v2
with:
repository: 'huggingface/optimum-intel'
Expand Down Expand Up @@ -118,13 +113,6 @@ jobs:
pip install black
cd ..
- name: Make Graphcore documentation
run: |
cd optimum-graphcore
make doc BUILD_DIR=graphcore-doc-build VERSION=${{ env.VERSION }}
sudo mv graphcore-doc-build ../optimum
cd ..
- name: Make Habana documentation
run: |
sudo docker system prune -a -f
Expand Down Expand Up @@ -183,7 +171,7 @@ jobs:
- name: Combine subpackage documentation
run: |
cd optimum
sudo python docs/combine_docs.py --subpackages graphcore habana intel neuron furiosa amd --version ${{ env.VERSION }}
sudo python docs/combine_docs.py --subpackages habana intel neuron furiosa amd --version ${{ env.VERSION }}
cd ..
- name: Push to repositories
Expand Down
14 changes: 1 addition & 13 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@ jobs:
repository: 'huggingface/optimum-habana'
path: optimum-habana

- uses: actions/checkout@v2
with:
repository: 'huggingface/optimum-graphcore'
path: optimum-graphcore

- uses: actions/checkout@v2
with:
repository: 'huggingface/optimum-intel'
Expand All @@ -73,13 +68,6 @@ jobs:
pip install black
cd ..
- name: Make Graphcore documentation
run: |
cd optimum-graphcore
make doc BUILD_DIR=graphcore-doc-build VERSION=pr_$PR_NUMBER
sudo mv graphcore-doc-build ../optimum
cd ..
- name: Make Habana documentation
run: |
sudo docker system prune -a -f
Expand Down Expand Up @@ -128,7 +116,7 @@ jobs:
- name: Combine subpackage documentation
run: |
cd optimum
sudo python docs/combine_docs.py --subpackages graphcore habana intel neuron furiosa --version pr_$PR_NUMBER
sudo python docs/combine_docs.py --subpackages habana intel neuron furiosa --version pr_$PR_NUMBER
sudo mv optimum-doc-build ../
cd ..
Expand Down

0 comments on commit c9c103a

Please sign in to comment.