From 6c0539fb45245a137f4b960bf964aa35d92be787 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 00:49:15 +0000 Subject: [PATCH 01/12] single build --- .github/workflows/building.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index ee44de1b..7499bb8c 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -13,9 +13,12 @@ jobs: matrix: os: [ubuntu-20.04, windows-2019] # support version based on: https://download.pytorch.org/whl/torch/ - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] - cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] + # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + # torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] + # cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] + python-version: ['3.11'] + torch-version: [2.0.0] + cuda-version: ['cu118'] exclude: - torch-version: 1.11.0 python-version: '3.11' From 0d445584b0637e23d7c9bfc757f8fa96deb0520e Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 00:56:38 +0000 Subject: [PATCH 02/12] attemp fix aws listing --- .github/workflows/building.yml | 19 +++++++++---------- scripts/run_aws_listing.py | 12 ++---------- 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 7499bb8c..0e368d94 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -172,21 +172,20 @@ jobs: - name: Upgrade pip run: | - pip install --upgrade setuptools pip install boto3 - - name: Configure AWS - uses: aws-actions/configure-aws-credentials@v2 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-west-2 + # - name: Configure AWS + # uses: aws-actions/configure-aws-credentials@v2 + # with: + # aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + # aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} + # aws-region: us-west-2 - name: Update AWS listing run: | python scripts/run_aws_listing.py \ - --access_key_id=${{ secrets.AWS_ACCESS_KEY_ID }} \ - --secret_access_key=${{ secrets.AWS_SECRET_ACCESS_KEY }} \ --bucket="nerfacc-bucket" \ --region="us-west-2" - + env: + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} diff --git a/scripts/run_aws_listing.py b/scripts/run_aws_listing.py index 6a044f05..eb8c43fc 100644 --- a/scripts/run_aws_listing.py +++ b/scripts/run_aws_listing.py @@ -1,11 +1,9 @@ import argparse from collections import defaultdict -from boto3 import client +from boto3 import resource parser = argparse.ArgumentParser() -parser.add_argument("--access_key_id", type=str, required=True) -parser.add_argument("--secret_access_key", type=str, required=True) parser.add_argument("--bucket", type=str, required=True) parser.add_argument("--region", type=str, required=True) args = parser.parse_args() @@ -19,13 +17,7 @@ "ACL": "public-read", } -s3 = client( - "s3", - aws_access_key_id=args.access_key_id, - aws_secret_access_key=args.secret_access_key, -) - -bucket = s3.Bucket(name="nerfacc-bucket") +bucket = resource("s3").Bucket(name="nerfacc-bucket") wheels_dict = defaultdict(list) for obj in bucket.objects.filter(Prefix="whl"): From b0b9dac63c79b9f6155c4ec8ad0a3d3080137371 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 01:18:28 +0000 Subject: [PATCH 03/12] fix --- .github/workflows/building.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 0e368d94..c57b18cd 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -124,16 +124,12 @@ jobs: if: ${{ matrix.cuda-version == 'cpu' }} run: | BUILD_NO_CUDA=1 pip install . - shell: - bash - name: Install main package for GPU if: ${{ matrix.cuda-version != 'cpu' }} run: | source .github/workflows/cuda/${{ runner.os }}-env.sh ${{ matrix.cuda-version }} pip install . - shell: - bash - name: Test installation run: | From 3031f0113f4a77caab2514ef168e4c95e16afbd3 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 01:42:33 +0000 Subject: [PATCH 04/12] fix --- .github/workflows/building.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index c57b18cd..7f27097d 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -125,22 +125,19 @@ jobs: run: | BUILD_NO_CUDA=1 pip install . - - name: Install main package for GPU - if: ${{ matrix.cuda-version != 'cpu' }} - run: | - source .github/workflows/cuda/${{ runner.os }}-env.sh ${{ matrix.cuda-version }} - pip install . - - - name: Test installation - run: | - python -c "import nerfacc; print('nerfacc:', nerfacc.__version__)" - - name: Build wheel run: | pip install wheel source .github/workflows/cuda/${{ runner.os }}-env.sh ${{ matrix.cuda-version }} python setup.py bdist_wheel --dist-dir=dist - shell: bash + + - name: Test wheel + run: | + cd dist + ls -lah + pip install *.whl + python -c "import nerfacc; print('nerfacc:', nerfacc.__version__)" + cd .. - name: Configure AWS uses: aws-actions/configure-aws-credentials@v2 From 36860568a9835dba935ccdf3168672f618dcd781 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 04:22:39 +0000 Subject: [PATCH 05/12] fix --- .github/workflows/building.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 7f27097d..10e639ad 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -130,6 +130,7 @@ jobs: pip install wheel source .github/workflows/cuda/${{ runner.os }}-env.sh ${{ matrix.cuda-version }} python setup.py bdist_wheel --dist-dir=dist + shell: bash # `source` does not exist in windows powershell - name: Test wheel run: | From 5942d6ce5bf26f834f1e5f2e0de84be0eaef41bf Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 04:37:38 +0000 Subject: [PATCH 06/12] fix --- .github/workflows/building.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 10e639ad..387de7ff 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -139,6 +139,7 @@ jobs: pip install *.whl python -c "import nerfacc; print('nerfacc:', nerfacc.__version__)" cd .. + shell: bash # `ls -lah` does not exist in windows powershell - name: Configure AWS uses: aws-actions/configure-aws-credentials@v2 From 9f46847653e6afafdf880e5cd080f3477bf5b1ae Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 05:16:29 +0000 Subject: [PATCH 07/12] fix --- scripts/run_aws_listing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/run_aws_listing.py b/scripts/run_aws_listing.py index eb8c43fc..9e05ab5a 100644 --- a/scripts/run_aws_listing.py +++ b/scripts/run_aws_listing.py @@ -55,5 +55,5 @@ with open(f"{torch_version}.html", "w") as f: f.write(torch_version_html) bucket.Object(f"whl/{torch_version}.html").upload_file( - f"{torch_version}.html", args + f"{torch_version}.html", html_args ) From f1a261ec3000cf39d29527f358d44c8ce3063c60 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 06:24:37 +0000 Subject: [PATCH 08/12] fix --- .github/workflows/building.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 387de7ff..b23b2089 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -13,12 +13,12 @@ jobs: matrix: os: [ubuntu-20.04, windows-2019] # support version based on: https://download.pytorch.org/whl/torch/ - # python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] - # torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] - # cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] - python-version: ['3.11'] - torch-version: [2.0.0] - cuda-version: ['cu118'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] + cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] + # python-version: ['3.11'] + # torch-version: [2.0.0] + # cuda-version: ['cu118'] exclude: - torch-version: 1.11.0 python-version: '3.11' From 899209ebbb21da6b7d034313776b849715278e3f Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 16:58:20 +0000 Subject: [PATCH 09/12] fix --- .github/workflows/cuda/Linux-env.sh | 36 +++++++++++++-------------- .github/workflows/cuda/Windows-env.sh | 30 +++++++++++----------- scripts/run_aws_listing.py | 6 ++--- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/.github/workflows/cuda/Linux-env.sh b/.github/workflows/cuda/Linux-env.sh index 022aa433..543f4a37 100644 --- a/.github/workflows/cuda/Linux-env.sh +++ b/.github/workflows/cuda/Linux-env.sh @@ -4,39 +4,39 @@ case ${1} in cu118) - CUDA_HOME=/usr/local/cuda-11.8 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-11.8 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" ;; cu117) - CUDA_HOME=/usr/local/cuda-11.7 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-11.7 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" ;; cu116) - CUDA_HOME=/usr/local/cuda-11.6 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-11.6 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" ;; cu115) - CUDA_HOME=/usr/local/cuda-11.5 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-11.5 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" ;; cu113) - CUDA_HOME=/usr/local/cuda-11.3 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-11.3 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5;8.0;8.6" ;; cu102) - CUDA_HOME=/usr/local/cuda-10.2 - LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} - PATH=${CUDA_HOME}/bin:${PATH} + export CUDA_HOME=/usr/local/cuda-10.2 + export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH} + export PATH=${CUDA_HOME}/bin:${PATH} export TORCH_CUDA_ARCH_LIST="3.5;5.0+PTX;6.0;7.0;7.5" ;; *) diff --git a/.github/workflows/cuda/Windows-env.sh b/.github/workflows/cuda/Windows-env.sh index ca1500bc..252ed5d1 100644 --- a/.github/workflows/cuda/Windows-env.sh +++ b/.github/workflows/cuda/Windows-env.sh @@ -4,33 +4,33 @@ case ${1} in cu118) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.8 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.8 + export PATH=${CUDA_HOME}/bin:$PATH + export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu117) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.7 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.7 + export PATH=${CUDA_HOME}/bin:$PATH + export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu116) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.6 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.6 + export PATH=${CUDA_HOME}/bin:$PATH + export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu115) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.5 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.5 + export PATH=${CUDA_HOME}/bin:$PATH + export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu113) - CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 - PATH=${CUDA_HOME}/bin:$PATH - PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 + export PATH=${CUDA_HOME}/bin:$PATH + export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; *) diff --git a/scripts/run_aws_listing.py b/scripts/run_aws_listing.py index 9e05ab5a..e00894f1 100644 --- a/scripts/run_aws_listing.py +++ b/scripts/run_aws_listing.py @@ -30,8 +30,8 @@ index_html = html.format( "\n".join( [ - href.format(f"{torch_version}.html".replace("+", "%2B"), version) - for version in wheels_dict + href.format(f"{torch_version}.html".replace("+", "%2B"), torch_version) + for torch_version in wheels_dict ] ) ) @@ -45,7 +45,7 @@ "\n".join( [ href.format( - f"{ROOT_URL}/{wheel_name}".replace("+", "%2B"), wheel_name + f"{ROOT_URL}/{wheel_name}".replace("+", "%2B"), wheel_name.split("/")[-1] ) for wheel_name in wheel_names ] From 46a22cc03bbc87f5d04849dbb8356e052788bea6 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 19:04:43 +0000 Subject: [PATCH 10/12] fix --- .github/workflows/cuda/Windows-env.sh | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cuda/Windows-env.sh b/.github/workflows/cuda/Windows-env.sh index 252ed5d1..ca1500bc 100644 --- a/.github/workflows/cuda/Windows-env.sh +++ b/.github/workflows/cuda/Windows-env.sh @@ -4,33 +4,33 @@ case ${1} in cu118) - export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.8 - export PATH=${CUDA_HOME}/bin:$PATH - export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.8 + PATH=${CUDA_HOME}/bin:$PATH + PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu117) - export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.7 - export PATH=${CUDA_HOME}/bin:$PATH - export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.7 + PATH=${CUDA_HOME}/bin:$PATH + PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu116) - export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.6 - export PATH=${CUDA_HOME}/bin:$PATH - export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.6 + PATH=${CUDA_HOME}/bin:$PATH + PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu115) - export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.5 - export PATH=${CUDA_HOME}/bin:$PATH - export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.5 + PATH=${CUDA_HOME}/bin:$PATH + PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; cu113) - export CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 - export PATH=${CUDA_HOME}/bin:$PATH - export PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH + CUDA_HOME=/c/Program\ Files/NVIDIA\ GPU\ Computing\ Toolkit/CUDA/v11.3 + PATH=${CUDA_HOME}/bin:$PATH + PATH=/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/MSBuild/15.0/Bin:$PATH export TORCH_CUDA_ARCH_LIST="6.0+PTX" ;; *) From 8c85ffa8c97a487c128e1283844de378bcc9ac22 Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 22:15:43 +0000 Subject: [PATCH 11/12] fix format --- .github/workflows/building.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index b23b2089..bec9c0f4 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -16,9 +16,6 @@ jobs: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] torch-version: [1.11.0, 1.12.0, 1.13.0, 2.0.0] cuda-version: ['cu113', 'cu115', 'cu116', 'cu117', 'cu118'] - # python-version: ['3.11'] - # torch-version: [2.0.0] - # cuda-version: ['cu118'] exclude: - torch-version: 1.11.0 python-version: '3.11' @@ -168,13 +165,6 @@ jobs: - name: Upgrade pip run: | pip install boto3 - - # - name: Configure AWS - # uses: aws-actions/configure-aws-credentials@v2 - # with: - # aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - # aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - # aws-region: us-west-2 - name: Update AWS listing run: | From 33316bb4dcd29bf9c5e106bdb293effafa228e5c Mon Sep 17 00:00:00 2001 From: Ruilong Li Date: Wed, 17 May 2023 22:17:20 +0000 Subject: [PATCH 12/12] fix format --- scripts/run_aws_listing.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/run_aws_listing.py b/scripts/run_aws_listing.py index e00894f1..7d11b0ea 100644 --- a/scripts/run_aws_listing.py +++ b/scripts/run_aws_listing.py @@ -30,7 +30,9 @@ index_html = html.format( "\n".join( [ - href.format(f"{torch_version}.html".replace("+", "%2B"), torch_version) + href.format( + f"{torch_version}.html".replace("+", "%2B"), torch_version + ) for torch_version in wheels_dict ] ) @@ -45,7 +47,8 @@ "\n".join( [ href.format( - f"{ROOT_URL}/{wheel_name}".replace("+", "%2B"), wheel_name.split("/")[-1] + f"{ROOT_URL}/{wheel_name}".replace("+", "%2B"), + wheel_name.split("/")[-1], ) for wheel_name in wheel_names ]