Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip graphcore docbuilding #1696

Merged
merged 2 commits into from
Feb 19, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/build_main_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ 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-graphcore'
#path: optimum-graphcore

- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -119,12 +119,12 @@ 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 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: |
Expand Down Expand Up @@ -184,7 +184,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
22 changes: 11 additions & 11 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ 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-graphcore'
#path: optimum-graphcore

- uses: actions/checkout@v2
with:
Expand All @@ -73,12 +73,12 @@ 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 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: |
Expand Down Expand Up @@ -128,7 +128,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