From 553d8c573c89095907c714975e5a72c114780253 Mon Sep 17 00:00:00 2001 From: Jean Schmidt Date: Thu, 25 Jul 2024 16:54:49 +0200 Subject: [PATCH] Replace runners prefix amz2023. --- .github/workflows/lint.yml | 2 +- .github/workflows/test-conda-cpu.yml | 2 +- .github/workflows/test-pip-cpu-with-mypy.yml | 2 +- .github/workflows/test-pip-cpu.yml | 2 +- .github/workflows/test-pip-gpu.yml | 2 +- sphinx/make.bat | 70 ++++++++++---------- 6 files changed, 40 insertions(+), 40 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ab4d71bc6c..b1e36dfb23 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: tests: uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: - runner: linux.12xlarge + runner: amz2023.linux.12xlarge docker-image: cimg/python:3.11 repository: pytorch/captum script: | diff --git a/.github/workflows/test-conda-cpu.yml b/.github/workflows/test-conda-cpu.yml index 3295edcca8..8f2f1420e4 100644 --- a/.github/workflows/test-conda-cpu.yml +++ b/.github/workflows/test-conda-cpu.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: - runner: linux.12xlarge + runner: amz2023.linux.12xlarge repository: pytorch/captum script: | # Set up Environment Variables diff --git a/.github/workflows/test-pip-cpu-with-mypy.yml b/.github/workflows/test-pip-cpu-with-mypy.yml index 7e166261e4..b4e65eedf7 100644 --- a/.github/workflows/test-pip-cpu-with-mypy.yml +++ b/.github/workflows/test-pip-cpu-with-mypy.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: - runner: linux.12xlarge + runner: amz2023.linux.12xlarge docker-image: cimg/python:3.11 repository: pytorch/captum script: | diff --git a/.github/workflows/test-pip-cpu.yml b/.github/workflows/test-pip-cpu.yml index 2acacdc0a9..2b68f11018 100644 --- a/.github/workflows/test-pip-cpu.yml +++ b/.github/workflows/test-pip-cpu.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: - runner: linux.12xlarge + runner: amz2023.linux.12xlarge docker-image: ${{ matrix.docker_img }} repository: pytorch/captum script: | diff --git a/.github/workflows/test-pip-gpu.yml b/.github/workflows/test-pip-gpu.yml index 117f515f48..415eefef13 100644 --- a/.github/workflows/test-pip-gpu.yml +++ b/.github/workflows/test-pip-gpu.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false uses: pytorch/test-infra/.github/workflows/linux_job.yml@main with: - runner: linux.4xlarge.nvidia.gpu + runner: amz2023.linux.4xlarge.nvidia.gpu repository: pytorch/captum gpu-arch-type: cuda gpu-arch-version: ${{ matrix.cuda_arch_version }} diff --git a/sphinx/make.bat b/sphinx/make.bat index 543c6b13b4..4d9eb83d9f 100644 --- a/sphinx/make.bat +++ b/sphinx/make.bat @@ -1,35 +1,35 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=sphinx-build -) -set SOURCEDIR=source -set BUILDDIR=build - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The 'sphinx-build' command was not found. Make sure you have Sphinx - echo.installed, then set the SPHINXBUILD environment variable to point - echo.to the full path of the 'sphinx-build' executable. Alternatively you - echo.may add the Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd +@ECHO OFF + +pushd %~dp0 + +REM Command file for Sphinx documentation + +if "%SPHINXBUILD%" == "" ( + set SPHINXBUILD=sphinx-build +) +set SOURCEDIR=source +set BUILDDIR=build + +if "%1" == "" goto help + +%SPHINXBUILD% >NUL 2>NUL +if errorlevel 9009 ( + echo. + echo.The 'sphinx-build' command was not found. Make sure you have Sphinx + echo.installed, then set the SPHINXBUILD environment variable to point + echo.to the full path of the 'sphinx-build' executable. Alternatively you + echo.may add the Sphinx directory to PATH. + echo. + echo.If you don't have Sphinx installed, grab it from + echo.http://sphinx-doc.org/ + exit /b 1 +) + +%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% +goto end + +:help +%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% + +:end +popd