From b92908e19758d2a8eb1dc957b7839c72c5fdc135 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Wed, 14 Aug 2024 08:48:29 +0800 Subject: [PATCH] [Fix] Python API doc generation (#21717) ### Description ### Motivation and Context Make Python API doc generation workflow work. ### Verification Run https://github.com/microsoft/onnxruntime/actions/runs/10364762858 --- .github/workflows/publish-python-apidocs.yml | 2 +- docs/python/requirements.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-python-apidocs.yml b/.github/workflows/publish-python-apidocs.yml index e98d22450c5b0..0b7a23e0cd5de 100644 --- a/.github/workflows/publish-python-apidocs.yml +++ b/.github/workflows/publish-python-apidocs.yml @@ -22,7 +22,7 @@ permissions: jobs: build: name: Generate Python API docs - runs-on: ubuntu-latest + runs-on: ["self-hosted", "1ES.Pool=onnxruntime-github-ubuntu-CPU"] steps: - uses: actions/checkout@v4 - name: Install tools diff --git a/docs/python/requirements.txt b/docs/python/requirements.txt index 0caedaf44a0c8..98e6923d9cd1d 100644 --- a/docs/python/requirements.txt +++ b/docs/python/requirements.txt @@ -21,5 +21,4 @@ onnx sphinx_exec_code sphinx_tabs furo --f https://download.pytorch.org/whl/torch/ torch