Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
16 changes: 0 additions & 16 deletions .github/workflows/build_main_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@
repository: 'huggingface/optimum-amd'
path: optimum-amd

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

- name: Free disk space
run: |
df -h
Expand Down Expand Up @@ -118,24 +113,13 @@
cd ..

- name: Make Intel documentation
run: |

Check warning on line 116 in .github/workflows/build_main_documentation.yml

View workflow job for this annotation

GitHub Actions / trufflehog

Found unverified HuggingFace result 🐷🔑
sudo docker system prune -a -f
cd optimum-intel
make doc BUILD_DIR=intel-doc-build VERSION=${{ env.VERSION }}
sudo mv intel-doc-build ../optimum
cd ..

- name: Make TPU documentation
run: |
sudo docker system prune -a -f
source venv-doc/bin/activate
cd optimum-tpu
pip install -U pip
pip install . -f https://storage.googleapis.com/libtpu-releases/index.html
doc-builder build optimum.tpu docs/source/ --build_dir tpu-doc-build --version pr_$PR_NUMBER --version_tag_suffix "" --html --clean
mv tpu-doc-build ../optimum
cd ..

- name: Make AMD documentation
run: |
sudo docker system prune -a -f
Expand Down
16 changes: 0 additions & 16 deletions .github/workflows/build_pr_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,6 @@
repository: 'huggingface/optimum-amd'
path: optimum-amd

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

- name: Setup environment
run: |
python -m venv venv-doc
Expand Down Expand Up @@ -89,17 +84,6 @@
sudo mv amd-doc-build ../optimum
cd ..

- name: Make TPU documentation
run: |
sudo docker system prune -a -f
source venv-doc/bin/activate
cd optimum-tpu
pip install -U pip
pip install . -f https://storage.googleapis.com/libtpu-releases/index.html
doc-builder build optimum.tpu docs/source/ --build_dir tpu-doc-build --version pr_$PR_NUMBER --version_tag_suffix "" --html --clean
mv tpu-doc-build ../optimum
cd ..

- name: Make Optimum documentation
run: |
sudo docker system prune -a -f
Expand All @@ -109,7 +93,7 @@

- name: Combine subpackage documentation
run: |
cd optimum

Check warning on line 96 in .github/workflows/build_pr_documentation.yml

View workflow job for this annotation

GitHub Actions / trufflehog

Found unverified HuggingFace result 🐷🔑
sudo python docs/combine_docs.py --subpackages nvidia amd intel neuron tpu habana furiosa executorch --version pr_$PR_NUMBER
sudo mv optimum-doc-build ../
cd ..
Expand Down
Loading