• Home
  • Raw
  • Download

Lines Matching +full:working +full:- +full:directory

5 name: windows-binary-wheel
11 - nightly
14 # Release candidate tags look like: v1.11.0-rc1
15 - v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
16 - 'ciflow/binaries/*'
17 - 'ciflow/binaries_wheel/*'
22 ALPINE_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/tool/alpine"
24 AWS_DEFAULT_REGION: us-east-1
25 BUILD_ENVIRONMENT: windows-binary-wheel
31 …group: windows-binary-wheel-${{ github.event.pull_request.number || github.ref_name }}-${{ github.…
32 cancel-in-progress: true
35 wheel-py3_8-cpu-build:
37 runs-on: windows.4xlarge
38 timeout-minutes: 240
49-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
51 - name: Display EC2 information
54 set -euo pipefail
57 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
59 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
61 echo "ami-id: $(get_ec2_metadata ami-id)"
62 echo "instance-id: $(get_ec2_metadata instance-id)"
63 echo "instance-type: $(get_ec2_metadata instance-type)"
64 echo "system info $(uname -a)"
65 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
66 uses: pytorch/test-infra/.github/actions/setup-ssh@main
67 continue-on-error: true
69 github-secret: ${{ secrets.GITHUB_TOKEN }}
70 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
71 - name: Enable long paths on Windows
74 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
77- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
78 continue-on-error: true
81 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
84 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
88 - name: Populate binary env
94 - name: Checkout PyTorch
95 uses: malfet/checkout@silent-checkout
99 quiet-checkout: true
100 - name: Clean PyTorch checkout
103 git clean -fxd
104 working-directory: pytorch
105 - name: Checkout pytorch/builder
106 uses: malfet/checkout@silent-checkout
112 quiet-checkout: true
113 - name: Clean pytorch/builder checkout
116 git clean -fxd
117 working-directory: builder
118 - name: Populate binary env
122 - name: Build PyTorch binary
126 - uses: actions/upload-artifact@v3
129 name: wheel-py3_8-cpu
130 retention-days: 14
131 if-no-files-found: error
133 - name: Wait until all sessions have drained
135 working-directory: pytorch
137 timeout-minutes: 120
140 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
142 working-directory: pytorch
146 wheel-py3_8-cpu-test: # Testing
148 needs: wheel-py3_8-cpu-build
149 runs-on: windows.4xlarge.nonephemeral
150 timeout-minutes: 240
162 - name: Display EC2 information
165 set -euo pipefail
168 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
170 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
172 echo "ami-id: $(get_ec2_metadata ami-id)"
173 echo "instance-id: $(get_ec2_metadata instance-id)"
174 echo "instance-type: $(get_ec2_metadata instance-type)"
175 echo "system info $(uname -a)"
176 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
177 uses: pytorch/test-infra/.github/actions/setup-ssh@main
178 continue-on-error: true
180 github-secret: ${{ secrets.GITHUB_TOKEN }}
181 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
182 - name: Enable long paths on Windows
185 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
188- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
189 continue-on-error: true
192 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
195 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
199 - name: Populate binary env
205 - uses: actions/download-artifact@v3
208 name: wheel-py3_8-cpu
210 - name: Checkout PyTorch
211 uses: malfet/checkout@silent-checkout
215 quiet-checkout: true
216 - name: Clean PyTorch checkout
219 git clean -fxd
220 working-directory: pytorch
221 - name: Checkout pytorch/builder
222 uses: malfet/checkout@silent-checkout
228 quiet-checkout: true
229 - name: Clean pytorch/builder checkout
232 git clean -fxd
233 working-directory: builder
234 - name: Populate binary env
238 - name: Test PyTorch binary
242 - name: Wait until all sessions have drained
244 working-directory: pytorch
246 timeout-minutes: 120
249 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
251 working-directory: pytorch
255 wheel-py3_8-cpu-upload: # Uploading
258 id-token: write
260 needs: wheel-py3_8-cpu-test
270 build_name: wheel-py3_8-cpu
272 github-token: ${{ secrets.GITHUB_TOKEN }}
273 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
274 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
275 uses: ./.github/workflows/_binary-upload.yml
276 wheel-py3_8-cuda11_8-build:
278 runs-on: windows.4xlarge
279 timeout-minutes: 240
291-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
293 - name: Display EC2 information
296 set -euo pipefail
299 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
301 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
303 echo "ami-id: $(get_ec2_metadata ami-id)"
304 echo "instance-id: $(get_ec2_metadata instance-id)"
305 echo "instance-type: $(get_ec2_metadata instance-type)"
306 echo "system info $(uname -a)"
307 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
308 uses: pytorch/test-infra/.github/actions/setup-ssh@main
309 continue-on-error: true
311 github-secret: ${{ secrets.GITHUB_TOKEN }}
312 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
313 - name: Enable long paths on Windows
316 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
319- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
320 continue-on-error: true
323 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
326 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
330 - name: Populate binary env
336 - name: Checkout PyTorch
337 uses: malfet/checkout@silent-checkout
341 quiet-checkout: true
342 - name: Clean PyTorch checkout
345 git clean -fxd
346 working-directory: pytorch
347 - name: Checkout pytorch/builder
348 uses: malfet/checkout@silent-checkout
354 quiet-checkout: true
355 - name: Clean pytorch/builder checkout
358 git clean -fxd
359 working-directory: builder
360 - name: Populate binary env
364 - name: Build PyTorch binary
368 - uses: actions/upload-artifact@v3
371 name: wheel-py3_8-cuda11_8
372 retention-days: 14
373 if-no-files-found: error
375 - name: Wait until all sessions have drained
377 working-directory: pytorch
379 timeout-minutes: 120
382 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
384 working-directory: pytorch
388 wheel-py3_8-cuda11_8-test: # Testing
390 needs: wheel-py3_8-cuda11_8-build
391 runs-on: windows.8xlarge.nvidia.gpu
392 timeout-minutes: 240
405 - name: Display EC2 information
408 set -euo pipefail
411 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
413 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
415 echo "ami-id: $(get_ec2_metadata ami-id)"
416 echo "instance-id: $(get_ec2_metadata instance-id)"
417 echo "instance-type: $(get_ec2_metadata instance-type)"
418 echo "system info $(uname -a)"
419 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
420 uses: pytorch/test-infra/.github/actions/setup-ssh@main
421 continue-on-error: true
423 github-secret: ${{ secrets.GITHUB_TOKEN }}
424 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
425 - name: Enable long paths on Windows
428 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
431- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
432 continue-on-error: true
435 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
438 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
442 - name: Populate binary env
448 - uses: actions/download-artifact@v3
451 name: wheel-py3_8-cuda11_8
453 - name: Checkout PyTorch
454 uses: malfet/checkout@silent-checkout
458 quiet-checkout: true
459 - name: Clean PyTorch checkout
462 git clean -fxd
463 working-directory: pytorch
464 - name: Checkout pytorch/builder
465 uses: malfet/checkout@silent-checkout
471 quiet-checkout: true
472 - name: Clean pytorch/builder checkout
475 git clean -fxd
476 working-directory: builder
477 - name: Populate binary env
481 - name: Test PyTorch binary
485 - name: Wait until all sessions have drained
487 working-directory: pytorch
489 timeout-minutes: 120
492 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
494 working-directory: pytorch
498 wheel-py3_8-cuda11_8-upload: # Uploading
501 id-token: write
503 needs: wheel-py3_8-cuda11_8-test
514 build_name: wheel-py3_8-cuda11_8
516 github-token: ${{ secrets.GITHUB_TOKEN }}
517 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
518 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
519 uses: ./.github/workflows/_binary-upload.yml
520 wheel-py3_8-cuda12_1-build:
522 runs-on: windows.4xlarge
523 timeout-minutes: 240
535-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
537 - name: Display EC2 information
540 set -euo pipefail
543 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
545 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
547 echo "ami-id: $(get_ec2_metadata ami-id)"
548 echo "instance-id: $(get_ec2_metadata instance-id)"
549 echo "instance-type: $(get_ec2_metadata instance-type)"
550 echo "system info $(uname -a)"
551 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
552 uses: pytorch/test-infra/.github/actions/setup-ssh@main
553 continue-on-error: true
555 github-secret: ${{ secrets.GITHUB_TOKEN }}
556 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
557 - name: Enable long paths on Windows
560 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
563- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
564 continue-on-error: true
567 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
570 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
574 - name: Populate binary env
580 - name: Checkout PyTorch
581 uses: malfet/checkout@silent-checkout
585 quiet-checkout: true
586 - name: Clean PyTorch checkout
589 git clean -fxd
590 working-directory: pytorch
591 - name: Checkout pytorch/builder
592 uses: malfet/checkout@silent-checkout
598 quiet-checkout: true
599 - name: Clean pytorch/builder checkout
602 git clean -fxd
603 working-directory: builder
604 - name: Populate binary env
608 - name: Build PyTorch binary
612 - uses: actions/upload-artifact@v3
615 name: wheel-py3_8-cuda12_1
616 retention-days: 14
617 if-no-files-found: error
619 - name: Wait until all sessions have drained
621 working-directory: pytorch
623 timeout-minutes: 120
626 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
628 working-directory: pytorch
632 wheel-py3_8-cuda12_1-test: # Testing
634 needs: wheel-py3_8-cuda12_1-build
635 runs-on: windows.8xlarge.nvidia.gpu
636 timeout-minutes: 240
649 - name: Display EC2 information
652 set -euo pipefail
655 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
657 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
659 echo "ami-id: $(get_ec2_metadata ami-id)"
660 echo "instance-id: $(get_ec2_metadata instance-id)"
661 echo "instance-type: $(get_ec2_metadata instance-type)"
662 echo "system info $(uname -a)"
663 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
664 uses: pytorch/test-infra/.github/actions/setup-ssh@main
665 continue-on-error: true
667 github-secret: ${{ secrets.GITHUB_TOKEN }}
668 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
669 - name: Enable long paths on Windows
672 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
675- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
676 continue-on-error: true
679 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
682 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
686 - name: Populate binary env
692 - uses: actions/download-artifact@v3
695 name: wheel-py3_8-cuda12_1
697 - name: Checkout PyTorch
698 uses: malfet/checkout@silent-checkout
702 quiet-checkout: true
703 - name: Clean PyTorch checkout
706 git clean -fxd
707 working-directory: pytorch
708 - name: Checkout pytorch/builder
709 uses: malfet/checkout@silent-checkout
715 quiet-checkout: true
716 - name: Clean pytorch/builder checkout
719 git clean -fxd
720 working-directory: builder
721 - name: Populate binary env
725 - name: Test PyTorch binary
729 - name: Wait until all sessions have drained
731 working-directory: pytorch
733 timeout-minutes: 120
736 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
738 working-directory: pytorch
742 wheel-py3_8-cuda12_1-upload: # Uploading
745 id-token: write
747 needs: wheel-py3_8-cuda12_1-test
758 build_name: wheel-py3_8-cuda12_1
760 github-token: ${{ secrets.GITHUB_TOKEN }}
761 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
762 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
763 uses: ./.github/workflows/_binary-upload.yml
764 wheel-py3_8-cuda12_4-build:
766 runs-on: windows.4xlarge
767 timeout-minutes: 240
779-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
781 - name: Display EC2 information
784 set -euo pipefail
787 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
789 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
791 echo "ami-id: $(get_ec2_metadata ami-id)"
792 echo "instance-id: $(get_ec2_metadata instance-id)"
793 echo "instance-type: $(get_ec2_metadata instance-type)"
794 echo "system info $(uname -a)"
795 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
796 uses: pytorch/test-infra/.github/actions/setup-ssh@main
797 continue-on-error: true
799 github-secret: ${{ secrets.GITHUB_TOKEN }}
800 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
801 - name: Enable long paths on Windows
804 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
807- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
808 continue-on-error: true
811 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
814 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
818 - name: Populate binary env
824 - name: Checkout PyTorch
825 uses: malfet/checkout@silent-checkout
829 quiet-checkout: true
830 - name: Clean PyTorch checkout
833 git clean -fxd
834 working-directory: pytorch
835 - name: Checkout pytorch/builder
836 uses: malfet/checkout@silent-checkout
842 quiet-checkout: true
843 - name: Clean pytorch/builder checkout
846 git clean -fxd
847 working-directory: builder
848 - name: Populate binary env
852 - name: Build PyTorch binary
856 - uses: actions/upload-artifact@v3
859 name: wheel-py3_8-cuda12_4
860 retention-days: 14
861 if-no-files-found: error
863 - name: Wait until all sessions have drained
865 working-directory: pytorch
867 timeout-minutes: 120
870 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
872 working-directory: pytorch
876 wheel-py3_8-cuda12_4-test: # Testing
878 needs: wheel-py3_8-cuda12_4-build
879 runs-on: windows.8xlarge.nvidia.gpu
880 timeout-minutes: 240
893 - name: Display EC2 information
896 set -euo pipefail
899 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
901 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
903 echo "ami-id: $(get_ec2_metadata ami-id)"
904 echo "instance-id: $(get_ec2_metadata instance-id)"
905 echo "instance-type: $(get_ec2_metadata instance-type)"
906 echo "system info $(uname -a)"
907 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
908 uses: pytorch/test-infra/.github/actions/setup-ssh@main
909 continue-on-error: true
911 github-secret: ${{ secrets.GITHUB_TOKEN }}
912 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
913 - name: Enable long paths on Windows
916 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
919- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
920 continue-on-error: true
923 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
926 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
930 - name: Populate binary env
936 - uses: actions/download-artifact@v3
939 name: wheel-py3_8-cuda12_4
941 - name: Checkout PyTorch
942 uses: malfet/checkout@silent-checkout
946 quiet-checkout: true
947 - name: Clean PyTorch checkout
950 git clean -fxd
951 working-directory: pytorch
952 - name: Checkout pytorch/builder
953 uses: malfet/checkout@silent-checkout
959 quiet-checkout: true
960 - name: Clean pytorch/builder checkout
963 git clean -fxd
964 working-directory: builder
965 - name: Populate binary env
969 - name: Test PyTorch binary
973 - name: Wait until all sessions have drained
975 working-directory: pytorch
977 timeout-minutes: 120
980 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
982 working-directory: pytorch
986 wheel-py3_8-cuda12_4-upload: # Uploading
989 id-token: write
991 needs: wheel-py3_8-cuda12_4-test
1002 build_name: wheel-py3_8-cuda12_4
1004 github-token: ${{ secrets.GITHUB_TOKEN }}
1005 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
1006 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
1007 uses: ./.github/workflows/_binary-upload.yml
1008 wheel-py3_9-cpu-build:
1010 runs-on: windows.4xlarge
1011 timeout-minutes: 240
1022-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
1024 - name: Display EC2 information
1027 set -euo pipefail
1030 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1032 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1034 echo "ami-id: $(get_ec2_metadata ami-id)"
1035 echo "instance-id: $(get_ec2_metadata instance-id)"
1036 echo "instance-type: $(get_ec2_metadata instance-type)"
1037 echo "system info $(uname -a)"
1038 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1039 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1040 continue-on-error: true
1042 github-secret: ${{ secrets.GITHUB_TOKEN }}
1043 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1044 - name: Enable long paths on Windows
1047 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1050- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1051 continue-on-error: true
1054 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1057 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1061 - name: Populate binary env
1067 - name: Checkout PyTorch
1068 uses: malfet/checkout@silent-checkout
1072 quiet-checkout: true
1073 - name: Clean PyTorch checkout
1076 git clean -fxd
1077 working-directory: pytorch
1078 - name: Checkout pytorch/builder
1079 uses: malfet/checkout@silent-checkout
1085 quiet-checkout: true
1086 - name: Clean pytorch/builder checkout
1089 git clean -fxd
1090 working-directory: builder
1091 - name: Populate binary env
1095 - name: Build PyTorch binary
1099 - uses: actions/upload-artifact@v3
1102 name: wheel-py3_9-cpu
1103 retention-days: 14
1104 if-no-files-found: error
1106 - name: Wait until all sessions have drained
1108 working-directory: pytorch
1110 timeout-minutes: 120
1113 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1115 working-directory: pytorch
1119 wheel-py3_9-cpu-test: # Testing
1121 needs: wheel-py3_9-cpu-build
1122 runs-on: windows.4xlarge.nonephemeral
1123 timeout-minutes: 240
1135 - name: Display EC2 information
1138 set -euo pipefail
1141 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1143 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1145 echo "ami-id: $(get_ec2_metadata ami-id)"
1146 echo "instance-id: $(get_ec2_metadata instance-id)"
1147 echo "instance-type: $(get_ec2_metadata instance-type)"
1148 echo "system info $(uname -a)"
1149 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1150 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1151 continue-on-error: true
1153 github-secret: ${{ secrets.GITHUB_TOKEN }}
1154 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1155 - name: Enable long paths on Windows
1158 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1161- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1162 continue-on-error: true
1165 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1168 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1172 - name: Populate binary env
1178 - uses: actions/download-artifact@v3
1181 name: wheel-py3_9-cpu
1183 - name: Checkout PyTorch
1184 uses: malfet/checkout@silent-checkout
1188 quiet-checkout: true
1189 - name: Clean PyTorch checkout
1192 git clean -fxd
1193 working-directory: pytorch
1194 - name: Checkout pytorch/builder
1195 uses: malfet/checkout@silent-checkout
1201 quiet-checkout: true
1202 - name: Clean pytorch/builder checkout
1205 git clean -fxd
1206 working-directory: builder
1207 - name: Populate binary env
1211 - name: Test PyTorch binary
1215 - name: Wait until all sessions have drained
1217 working-directory: pytorch
1219 timeout-minutes: 120
1222 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1224 working-directory: pytorch
1228 wheel-py3_9-cpu-upload: # Uploading
1231 id-token: write
1233 needs: wheel-py3_9-cpu-test
1243 build_name: wheel-py3_9-cpu
1245 github-token: ${{ secrets.GITHUB_TOKEN }}
1246 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
1247 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
1248 uses: ./.github/workflows/_binary-upload.yml
1249 wheel-py3_9-cuda11_8-build:
1251 runs-on: windows.4xlarge
1252 timeout-minutes: 240
1264-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
1266 - name: Display EC2 information
1269 set -euo pipefail
1272 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1274 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1276 echo "ami-id: $(get_ec2_metadata ami-id)"
1277 echo "instance-id: $(get_ec2_metadata instance-id)"
1278 echo "instance-type: $(get_ec2_metadata instance-type)"
1279 echo "system info $(uname -a)"
1280 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1281 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1282 continue-on-error: true
1284 github-secret: ${{ secrets.GITHUB_TOKEN }}
1285 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1286 - name: Enable long paths on Windows
1289 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1292- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1293 continue-on-error: true
1296 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1299 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1303 - name: Populate binary env
1309 - name: Checkout PyTorch
1310 uses: malfet/checkout@silent-checkout
1314 quiet-checkout: true
1315 - name: Clean PyTorch checkout
1318 git clean -fxd
1319 working-directory: pytorch
1320 - name: Checkout pytorch/builder
1321 uses: malfet/checkout@silent-checkout
1327 quiet-checkout: true
1328 - name: Clean pytorch/builder checkout
1331 git clean -fxd
1332 working-directory: builder
1333 - name: Populate binary env
1337 - name: Build PyTorch binary
1341 - uses: actions/upload-artifact@v3
1344 name: wheel-py3_9-cuda11_8
1345 retention-days: 14
1346 if-no-files-found: error
1348 - name: Wait until all sessions have drained
1350 working-directory: pytorch
1352 timeout-minutes: 120
1355 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1357 working-directory: pytorch
1361 wheel-py3_9-cuda11_8-test: # Testing
1363 needs: wheel-py3_9-cuda11_8-build
1364 runs-on: windows.8xlarge.nvidia.gpu
1365 timeout-minutes: 240
1378 - name: Display EC2 information
1381 set -euo pipefail
1384 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1386 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1388 echo "ami-id: $(get_ec2_metadata ami-id)"
1389 echo "instance-id: $(get_ec2_metadata instance-id)"
1390 echo "instance-type: $(get_ec2_metadata instance-type)"
1391 echo "system info $(uname -a)"
1392 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1393 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1394 continue-on-error: true
1396 github-secret: ${{ secrets.GITHUB_TOKEN }}
1397 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1398 - name: Enable long paths on Windows
1401 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1404- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1405 continue-on-error: true
1408 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1411 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1415 - name: Populate binary env
1421 - uses: actions/download-artifact@v3
1424 name: wheel-py3_9-cuda11_8
1426 - name: Checkout PyTorch
1427 uses: malfet/checkout@silent-checkout
1431 quiet-checkout: true
1432 - name: Clean PyTorch checkout
1435 git clean -fxd
1436 working-directory: pytorch
1437 - name: Checkout pytorch/builder
1438 uses: malfet/checkout@silent-checkout
1444 quiet-checkout: true
1445 - name: Clean pytorch/builder checkout
1448 git clean -fxd
1449 working-directory: builder
1450 - name: Populate binary env
1454 - name: Test PyTorch binary
1458 - name: Wait until all sessions have drained
1460 working-directory: pytorch
1462 timeout-minutes: 120
1465 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1467 working-directory: pytorch
1471 wheel-py3_9-cuda11_8-upload: # Uploading
1474 id-token: write
1476 needs: wheel-py3_9-cuda11_8-test
1487 build_name: wheel-py3_9-cuda11_8
1489 github-token: ${{ secrets.GITHUB_TOKEN }}
1490 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
1491 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
1492 uses: ./.github/workflows/_binary-upload.yml
1493 wheel-py3_9-cuda12_1-build:
1495 runs-on: windows.4xlarge
1496 timeout-minutes: 240
1508-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
1510 - name: Display EC2 information
1513 set -euo pipefail
1516 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1518 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1520 echo "ami-id: $(get_ec2_metadata ami-id)"
1521 echo "instance-id: $(get_ec2_metadata instance-id)"
1522 echo "instance-type: $(get_ec2_metadata instance-type)"
1523 echo "system info $(uname -a)"
1524 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1525 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1526 continue-on-error: true
1528 github-secret: ${{ secrets.GITHUB_TOKEN }}
1529 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1530 - name: Enable long paths on Windows
1533 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1536- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1537 continue-on-error: true
1540 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1543 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1547 - name: Populate binary env
1553 - name: Checkout PyTorch
1554 uses: malfet/checkout@silent-checkout
1558 quiet-checkout: true
1559 - name: Clean PyTorch checkout
1562 git clean -fxd
1563 working-directory: pytorch
1564 - name: Checkout pytorch/builder
1565 uses: malfet/checkout@silent-checkout
1571 quiet-checkout: true
1572 - name: Clean pytorch/builder checkout
1575 git clean -fxd
1576 working-directory: builder
1577 - name: Populate binary env
1581 - name: Build PyTorch binary
1585 - uses: actions/upload-artifact@v3
1588 name: wheel-py3_9-cuda12_1
1589 retention-days: 14
1590 if-no-files-found: error
1592 - name: Wait until all sessions have drained
1594 working-directory: pytorch
1596 timeout-minutes: 120
1599 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1601 working-directory: pytorch
1605 wheel-py3_9-cuda12_1-test: # Testing
1607 needs: wheel-py3_9-cuda12_1-build
1608 runs-on: windows.8xlarge.nvidia.gpu
1609 timeout-minutes: 240
1622 - name: Display EC2 information
1625 set -euo pipefail
1628 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1630 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1632 echo "ami-id: $(get_ec2_metadata ami-id)"
1633 echo "instance-id: $(get_ec2_metadata instance-id)"
1634 echo "instance-type: $(get_ec2_metadata instance-type)"
1635 echo "system info $(uname -a)"
1636 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1637 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1638 continue-on-error: true
1640 github-secret: ${{ secrets.GITHUB_TOKEN }}
1641 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1642 - name: Enable long paths on Windows
1645 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1648- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1649 continue-on-error: true
1652 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1655 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1659 - name: Populate binary env
1665 - uses: actions/download-artifact@v3
1668 name: wheel-py3_9-cuda12_1
1670 - name: Checkout PyTorch
1671 uses: malfet/checkout@silent-checkout
1675 quiet-checkout: true
1676 - name: Clean PyTorch checkout
1679 git clean -fxd
1680 working-directory: pytorch
1681 - name: Checkout pytorch/builder
1682 uses: malfet/checkout@silent-checkout
1688 quiet-checkout: true
1689 - name: Clean pytorch/builder checkout
1692 git clean -fxd
1693 working-directory: builder
1694 - name: Populate binary env
1698 - name: Test PyTorch binary
1702 - name: Wait until all sessions have drained
1704 working-directory: pytorch
1706 timeout-minutes: 120
1709 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1711 working-directory: pytorch
1715 wheel-py3_9-cuda12_1-upload: # Uploading
1718 id-token: write
1720 needs: wheel-py3_9-cuda12_1-test
1731 build_name: wheel-py3_9-cuda12_1
1733 github-token: ${{ secrets.GITHUB_TOKEN }}
1734 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
1735 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
1736 uses: ./.github/workflows/_binary-upload.yml
1737 wheel-py3_9-cuda12_4-build:
1739 runs-on: windows.4xlarge
1740 timeout-minutes: 240
1752-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
1754 - name: Display EC2 information
1757 set -euo pipefail
1760 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1762 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1764 echo "ami-id: $(get_ec2_metadata ami-id)"
1765 echo "instance-id: $(get_ec2_metadata instance-id)"
1766 echo "instance-type: $(get_ec2_metadata instance-type)"
1767 echo "system info $(uname -a)"
1768 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1769 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1770 continue-on-error: true
1772 github-secret: ${{ secrets.GITHUB_TOKEN }}
1773 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1774 - name: Enable long paths on Windows
1777 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1780- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1781 continue-on-error: true
1784 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1787 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1791 - name: Populate binary env
1797 - name: Checkout PyTorch
1798 uses: malfet/checkout@silent-checkout
1802 quiet-checkout: true
1803 - name: Clean PyTorch checkout
1806 git clean -fxd
1807 working-directory: pytorch
1808 - name: Checkout pytorch/builder
1809 uses: malfet/checkout@silent-checkout
1815 quiet-checkout: true
1816 - name: Clean pytorch/builder checkout
1819 git clean -fxd
1820 working-directory: builder
1821 - name: Populate binary env
1825 - name: Build PyTorch binary
1829 - uses: actions/upload-artifact@v3
1832 name: wheel-py3_9-cuda12_4
1833 retention-days: 14
1834 if-no-files-found: error
1836 - name: Wait until all sessions have drained
1838 working-directory: pytorch
1840 timeout-minutes: 120
1843 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1845 working-directory: pytorch
1849 wheel-py3_9-cuda12_4-test: # Testing
1851 needs: wheel-py3_9-cuda12_4-build
1852 runs-on: windows.8xlarge.nvidia.gpu
1853 timeout-minutes: 240
1866 - name: Display EC2 information
1869 set -euo pipefail
1872 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
1874 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
1876 echo "ami-id: $(get_ec2_metadata ami-id)"
1877 echo "instance-id: $(get_ec2_metadata instance-id)"
1878 echo "instance-type: $(get_ec2_metadata instance-type)"
1879 echo "system info $(uname -a)"
1880 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
1881 uses: pytorch/test-infra/.github/actions/setup-ssh@main
1882 continue-on-error: true
1884 github-secret: ${{ secrets.GITHUB_TOKEN }}
1885 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
1886 - name: Enable long paths on Windows
1889 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
1892- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
1893 continue-on-error: true
1896 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
1899 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
1903 - name: Populate binary env
1909 - uses: actions/download-artifact@v3
1912 name: wheel-py3_9-cuda12_4
1914 - name: Checkout PyTorch
1915 uses: malfet/checkout@silent-checkout
1919 quiet-checkout: true
1920 - name: Clean PyTorch checkout
1923 git clean -fxd
1924 working-directory: pytorch
1925 - name: Checkout pytorch/builder
1926 uses: malfet/checkout@silent-checkout
1932 quiet-checkout: true
1933 - name: Clean pytorch/builder checkout
1936 git clean -fxd
1937 working-directory: builder
1938 - name: Populate binary env
1942 - name: Test PyTorch binary
1946 - name: Wait until all sessions have drained
1948 working-directory: pytorch
1950 timeout-minutes: 120
1953 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
1955 working-directory: pytorch
1959 wheel-py3_9-cuda12_4-upload: # Uploading
1962 id-token: write
1964 needs: wheel-py3_9-cuda12_4-test
1975 build_name: wheel-py3_9-cuda12_4
1977 github-token: ${{ secrets.GITHUB_TOKEN }}
1978 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
1979 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
1980 uses: ./.github/workflows/_binary-upload.yml
1981 wheel-py3_10-cpu-build:
1983 runs-on: windows.4xlarge
1984 timeout-minutes: 240
1995-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
1997 - name: Display EC2 information
2000 set -euo pipefail
2003 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2005 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2007 echo "ami-id: $(get_ec2_metadata ami-id)"
2008 echo "instance-id: $(get_ec2_metadata instance-id)"
2009 echo "instance-type: $(get_ec2_metadata instance-type)"
2010 echo "system info $(uname -a)"
2011 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2012 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2013 continue-on-error: true
2015 github-secret: ${{ secrets.GITHUB_TOKEN }}
2016 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2017 - name: Enable long paths on Windows
2020 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2023- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2024 continue-on-error: true
2027 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2030 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2034 - name: Populate binary env
2040 - name: Checkout PyTorch
2041 uses: malfet/checkout@silent-checkout
2045 quiet-checkout: true
2046 - name: Clean PyTorch checkout
2049 git clean -fxd
2050 working-directory: pytorch
2051 - name: Checkout pytorch/builder
2052 uses: malfet/checkout@silent-checkout
2058 quiet-checkout: true
2059 - name: Clean pytorch/builder checkout
2062 git clean -fxd
2063 working-directory: builder
2064 - name: Populate binary env
2068 - name: Build PyTorch binary
2072 - uses: actions/upload-artifact@v3
2075 name: wheel-py3_10-cpu
2076 retention-days: 14
2077 if-no-files-found: error
2079 - name: Wait until all sessions have drained
2081 working-directory: pytorch
2083 timeout-minutes: 120
2086 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2088 working-directory: pytorch
2092 wheel-py3_10-cpu-test: # Testing
2094 needs: wheel-py3_10-cpu-build
2095 runs-on: windows.4xlarge.nonephemeral
2096 timeout-minutes: 240
2108 - name: Display EC2 information
2111 set -euo pipefail
2114 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2116 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2118 echo "ami-id: $(get_ec2_metadata ami-id)"
2119 echo "instance-id: $(get_ec2_metadata instance-id)"
2120 echo "instance-type: $(get_ec2_metadata instance-type)"
2121 echo "system info $(uname -a)"
2122 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2123 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2124 continue-on-error: true
2126 github-secret: ${{ secrets.GITHUB_TOKEN }}
2127 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2128 - name: Enable long paths on Windows
2131 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2134- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2135 continue-on-error: true
2138 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2141 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2145 - name: Populate binary env
2151 - uses: actions/download-artifact@v3
2154 name: wheel-py3_10-cpu
2156 - name: Checkout PyTorch
2157 uses: malfet/checkout@silent-checkout
2161 quiet-checkout: true
2162 - name: Clean PyTorch checkout
2165 git clean -fxd
2166 working-directory: pytorch
2167 - name: Checkout pytorch/builder
2168 uses: malfet/checkout@silent-checkout
2174 quiet-checkout: true
2175 - name: Clean pytorch/builder checkout
2178 git clean -fxd
2179 working-directory: builder
2180 - name: Populate binary env
2184 - name: Test PyTorch binary
2188 - name: Wait until all sessions have drained
2190 working-directory: pytorch
2192 timeout-minutes: 120
2195 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2197 working-directory: pytorch
2201 wheel-py3_10-cpu-upload: # Uploading
2204 id-token: write
2206 needs: wheel-py3_10-cpu-test
2216 build_name: wheel-py3_10-cpu
2218 github-token: ${{ secrets.GITHUB_TOKEN }}
2219 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
2220 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
2221 uses: ./.github/workflows/_binary-upload.yml
2222 wheel-py3_10-cuda11_8-build:
2224 runs-on: windows.4xlarge
2225 timeout-minutes: 240
2237-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
2239 - name: Display EC2 information
2242 set -euo pipefail
2245 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2247 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2249 echo "ami-id: $(get_ec2_metadata ami-id)"
2250 echo "instance-id: $(get_ec2_metadata instance-id)"
2251 echo "instance-type: $(get_ec2_metadata instance-type)"
2252 echo "system info $(uname -a)"
2253 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2254 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2255 continue-on-error: true
2257 github-secret: ${{ secrets.GITHUB_TOKEN }}
2258 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2259 - name: Enable long paths on Windows
2262 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2265- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2266 continue-on-error: true
2269 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2272 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2276 - name: Populate binary env
2282 - name: Checkout PyTorch
2283 uses: malfet/checkout@silent-checkout
2287 quiet-checkout: true
2288 - name: Clean PyTorch checkout
2291 git clean -fxd
2292 working-directory: pytorch
2293 - name: Checkout pytorch/builder
2294 uses: malfet/checkout@silent-checkout
2300 quiet-checkout: true
2301 - name: Clean pytorch/builder checkout
2304 git clean -fxd
2305 working-directory: builder
2306 - name: Populate binary env
2310 - name: Build PyTorch binary
2314 - uses: actions/upload-artifact@v3
2317 name: wheel-py3_10-cuda11_8
2318 retention-days: 14
2319 if-no-files-found: error
2321 - name: Wait until all sessions have drained
2323 working-directory: pytorch
2325 timeout-minutes: 120
2328 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2330 working-directory: pytorch
2334 wheel-py3_10-cuda11_8-test: # Testing
2336 needs: wheel-py3_10-cuda11_8-build
2337 runs-on: windows.8xlarge.nvidia.gpu
2338 timeout-minutes: 240
2351 - name: Display EC2 information
2354 set -euo pipefail
2357 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2359 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2361 echo "ami-id: $(get_ec2_metadata ami-id)"
2362 echo "instance-id: $(get_ec2_metadata instance-id)"
2363 echo "instance-type: $(get_ec2_metadata instance-type)"
2364 echo "system info $(uname -a)"
2365 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2366 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2367 continue-on-error: true
2369 github-secret: ${{ secrets.GITHUB_TOKEN }}
2370 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2371 - name: Enable long paths on Windows
2374 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2377- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2378 continue-on-error: true
2381 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2384 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2388 - name: Populate binary env
2394 - uses: actions/download-artifact@v3
2397 name: wheel-py3_10-cuda11_8
2399 - name: Checkout PyTorch
2400 uses: malfet/checkout@silent-checkout
2404 quiet-checkout: true
2405 - name: Clean PyTorch checkout
2408 git clean -fxd
2409 working-directory: pytorch
2410 - name: Checkout pytorch/builder
2411 uses: malfet/checkout@silent-checkout
2417 quiet-checkout: true
2418 - name: Clean pytorch/builder checkout
2421 git clean -fxd
2422 working-directory: builder
2423 - name: Populate binary env
2427 - name: Test PyTorch binary
2431 - name: Wait until all sessions have drained
2433 working-directory: pytorch
2435 timeout-minutes: 120
2438 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2440 working-directory: pytorch
2444 wheel-py3_10-cuda11_8-upload: # Uploading
2447 id-token: write
2449 needs: wheel-py3_10-cuda11_8-test
2460 build_name: wheel-py3_10-cuda11_8
2462 github-token: ${{ secrets.GITHUB_TOKEN }}
2463 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
2464 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
2465 uses: ./.github/workflows/_binary-upload.yml
2466 wheel-py3_10-cuda12_1-build:
2468 runs-on: windows.4xlarge
2469 timeout-minutes: 240
2481-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
2483 - name: Display EC2 information
2486 set -euo pipefail
2489 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2491 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2493 echo "ami-id: $(get_ec2_metadata ami-id)"
2494 echo "instance-id: $(get_ec2_metadata instance-id)"
2495 echo "instance-type: $(get_ec2_metadata instance-type)"
2496 echo "system info $(uname -a)"
2497 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2498 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2499 continue-on-error: true
2501 github-secret: ${{ secrets.GITHUB_TOKEN }}
2502 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2503 - name: Enable long paths on Windows
2506 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2509- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2510 continue-on-error: true
2513 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2516 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2520 - name: Populate binary env
2526 - name: Checkout PyTorch
2527 uses: malfet/checkout@silent-checkout
2531 quiet-checkout: true
2532 - name: Clean PyTorch checkout
2535 git clean -fxd
2536 working-directory: pytorch
2537 - name: Checkout pytorch/builder
2538 uses: malfet/checkout@silent-checkout
2544 quiet-checkout: true
2545 - name: Clean pytorch/builder checkout
2548 git clean -fxd
2549 working-directory: builder
2550 - name: Populate binary env
2554 - name: Build PyTorch binary
2558 - uses: actions/upload-artifact@v3
2561 name: wheel-py3_10-cuda12_1
2562 retention-days: 14
2563 if-no-files-found: error
2565 - name: Wait until all sessions have drained
2567 working-directory: pytorch
2569 timeout-minutes: 120
2572 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2574 working-directory: pytorch
2578 wheel-py3_10-cuda12_1-test: # Testing
2580 needs: wheel-py3_10-cuda12_1-build
2581 runs-on: windows.8xlarge.nvidia.gpu
2582 timeout-minutes: 240
2595 - name: Display EC2 information
2598 set -euo pipefail
2601 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2603 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2605 echo "ami-id: $(get_ec2_metadata ami-id)"
2606 echo "instance-id: $(get_ec2_metadata instance-id)"
2607 echo "instance-type: $(get_ec2_metadata instance-type)"
2608 echo "system info $(uname -a)"
2609 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2610 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2611 continue-on-error: true
2613 github-secret: ${{ secrets.GITHUB_TOKEN }}
2614 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2615 - name: Enable long paths on Windows
2618 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2621- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2622 continue-on-error: true
2625 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2628 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2632 - name: Populate binary env
2638 - uses: actions/download-artifact@v3
2641 name: wheel-py3_10-cuda12_1
2643 - name: Checkout PyTorch
2644 uses: malfet/checkout@silent-checkout
2648 quiet-checkout: true
2649 - name: Clean PyTorch checkout
2652 git clean -fxd
2653 working-directory: pytorch
2654 - name: Checkout pytorch/builder
2655 uses: malfet/checkout@silent-checkout
2661 quiet-checkout: true
2662 - name: Clean pytorch/builder checkout
2665 git clean -fxd
2666 working-directory: builder
2667 - name: Populate binary env
2671 - name: Test PyTorch binary
2675 - name: Wait until all sessions have drained
2677 working-directory: pytorch
2679 timeout-minutes: 120
2682 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2684 working-directory: pytorch
2688 wheel-py3_10-cuda12_1-upload: # Uploading
2691 id-token: write
2693 needs: wheel-py3_10-cuda12_1-test
2704 build_name: wheel-py3_10-cuda12_1
2706 github-token: ${{ secrets.GITHUB_TOKEN }}
2707 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
2708 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
2709 uses: ./.github/workflows/_binary-upload.yml
2710 wheel-py3_10-cuda12_4-build:
2712 runs-on: windows.4xlarge
2713 timeout-minutes: 240
2725-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
2727 - name: Display EC2 information
2730 set -euo pipefail
2733 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2735 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2737 echo "ami-id: $(get_ec2_metadata ami-id)"
2738 echo "instance-id: $(get_ec2_metadata instance-id)"
2739 echo "instance-type: $(get_ec2_metadata instance-type)"
2740 echo "system info $(uname -a)"
2741 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2742 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2743 continue-on-error: true
2745 github-secret: ${{ secrets.GITHUB_TOKEN }}
2746 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2747 - name: Enable long paths on Windows
2750 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2753- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2754 continue-on-error: true
2757 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2760 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2764 - name: Populate binary env
2770 - name: Checkout PyTorch
2771 uses: malfet/checkout@silent-checkout
2775 quiet-checkout: true
2776 - name: Clean PyTorch checkout
2779 git clean -fxd
2780 working-directory: pytorch
2781 - name: Checkout pytorch/builder
2782 uses: malfet/checkout@silent-checkout
2788 quiet-checkout: true
2789 - name: Clean pytorch/builder checkout
2792 git clean -fxd
2793 working-directory: builder
2794 - name: Populate binary env
2798 - name: Build PyTorch binary
2802 - uses: actions/upload-artifact@v3
2805 name: wheel-py3_10-cuda12_4
2806 retention-days: 14
2807 if-no-files-found: error
2809 - name: Wait until all sessions have drained
2811 working-directory: pytorch
2813 timeout-minutes: 120
2816 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2818 working-directory: pytorch
2822 wheel-py3_10-cuda12_4-test: # Testing
2824 needs: wheel-py3_10-cuda12_4-build
2825 runs-on: windows.8xlarge.nvidia.gpu
2826 timeout-minutes: 240
2839 - name: Display EC2 information
2842 set -euo pipefail
2845 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2847 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2849 echo "ami-id: $(get_ec2_metadata ami-id)"
2850 echo "instance-id: $(get_ec2_metadata instance-id)"
2851 echo "instance-type: $(get_ec2_metadata instance-type)"
2852 echo "system info $(uname -a)"
2853 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2854 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2855 continue-on-error: true
2857 github-secret: ${{ secrets.GITHUB_TOKEN }}
2858 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2859 - name: Enable long paths on Windows
2862 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2865- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2866 continue-on-error: true
2869 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
2872 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
2876 - name: Populate binary env
2882 - uses: actions/download-artifact@v3
2885 name: wheel-py3_10-cuda12_4
2887 - name: Checkout PyTorch
2888 uses: malfet/checkout@silent-checkout
2892 quiet-checkout: true
2893 - name: Clean PyTorch checkout
2896 git clean -fxd
2897 working-directory: pytorch
2898 - name: Checkout pytorch/builder
2899 uses: malfet/checkout@silent-checkout
2905 quiet-checkout: true
2906 - name: Clean pytorch/builder checkout
2909 git clean -fxd
2910 working-directory: builder
2911 - name: Populate binary env
2915 - name: Test PyTorch binary
2919 - name: Wait until all sessions have drained
2921 working-directory: pytorch
2923 timeout-minutes: 120
2926 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
2928 working-directory: pytorch
2932 wheel-py3_10-cuda12_4-upload: # Uploading
2935 id-token: write
2937 needs: wheel-py3_10-cuda12_4-test
2948 build_name: wheel-py3_10-cuda12_4
2950 github-token: ${{ secrets.GITHUB_TOKEN }}
2951 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
2952 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
2953 uses: ./.github/workflows/_binary-upload.yml
2954 wheel-py3_11-cpu-build:
2956 runs-on: windows.4xlarge
2957 timeout-minutes: 240
2968-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
2970 - name: Display EC2 information
2973 set -euo pipefail
2976 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
2978 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
2980 echo "ami-id: $(get_ec2_metadata ami-id)"
2981 echo "instance-id: $(get_ec2_metadata instance-id)"
2982 echo "instance-type: $(get_ec2_metadata instance-type)"
2983 echo "system info $(uname -a)"
2984 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
2985 uses: pytorch/test-infra/.github/actions/setup-ssh@main
2986 continue-on-error: true
2988 github-secret: ${{ secrets.GITHUB_TOKEN }}
2989 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
2990 - name: Enable long paths on Windows
2993 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
2996- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
2997 continue-on-error: true
3000 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3003 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3007 - name: Populate binary env
3013 - name: Checkout PyTorch
3014 uses: malfet/checkout@silent-checkout
3018 quiet-checkout: true
3019 - name: Clean PyTorch checkout
3022 git clean -fxd
3023 working-directory: pytorch
3024 - name: Checkout pytorch/builder
3025 uses: malfet/checkout@silent-checkout
3031 quiet-checkout: true
3032 - name: Clean pytorch/builder checkout
3035 git clean -fxd
3036 working-directory: builder
3037 - name: Populate binary env
3041 - name: Build PyTorch binary
3045 - uses: actions/upload-artifact@v3
3048 name: wheel-py3_11-cpu
3049 retention-days: 14
3050 if-no-files-found: error
3052 - name: Wait until all sessions have drained
3054 working-directory: pytorch
3056 timeout-minutes: 120
3059 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3061 working-directory: pytorch
3065 wheel-py3_11-cpu-test: # Testing
3067 needs: wheel-py3_11-cpu-build
3068 runs-on: windows.4xlarge.nonephemeral
3069 timeout-minutes: 240
3081 - name: Display EC2 information
3084 set -euo pipefail
3087 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3089 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3091 echo "ami-id: $(get_ec2_metadata ami-id)"
3092 echo "instance-id: $(get_ec2_metadata instance-id)"
3093 echo "instance-type: $(get_ec2_metadata instance-type)"
3094 echo "system info $(uname -a)"
3095 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3096 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3097 continue-on-error: true
3099 github-secret: ${{ secrets.GITHUB_TOKEN }}
3100 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3101 - name: Enable long paths on Windows
3104 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3107- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3108 continue-on-error: true
3111 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3114 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3118 - name: Populate binary env
3124 - uses: actions/download-artifact@v3
3127 name: wheel-py3_11-cpu
3129 - name: Checkout PyTorch
3130 uses: malfet/checkout@silent-checkout
3134 quiet-checkout: true
3135 - name: Clean PyTorch checkout
3138 git clean -fxd
3139 working-directory: pytorch
3140 - name: Checkout pytorch/builder
3141 uses: malfet/checkout@silent-checkout
3147 quiet-checkout: true
3148 - name: Clean pytorch/builder checkout
3151 git clean -fxd
3152 working-directory: builder
3153 - name: Populate binary env
3157 - name: Test PyTorch binary
3161 - name: Wait until all sessions have drained
3163 working-directory: pytorch
3165 timeout-minutes: 120
3168 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3170 working-directory: pytorch
3174 wheel-py3_11-cpu-upload: # Uploading
3177 id-token: write
3179 needs: wheel-py3_11-cpu-test
3189 build_name: wheel-py3_11-cpu
3191 github-token: ${{ secrets.GITHUB_TOKEN }}
3192 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
3193 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
3194 uses: ./.github/workflows/_binary-upload.yml
3195 wheel-py3_11-cuda11_8-build:
3197 runs-on: windows.4xlarge
3198 timeout-minutes: 240
3210-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
3212 - name: Display EC2 information
3215 set -euo pipefail
3218 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3220 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3222 echo "ami-id: $(get_ec2_metadata ami-id)"
3223 echo "instance-id: $(get_ec2_metadata instance-id)"
3224 echo "instance-type: $(get_ec2_metadata instance-type)"
3225 echo "system info $(uname -a)"
3226 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3227 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3228 continue-on-error: true
3230 github-secret: ${{ secrets.GITHUB_TOKEN }}
3231 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3232 - name: Enable long paths on Windows
3235 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3238- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3239 continue-on-error: true
3242 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3245 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3249 - name: Populate binary env
3255 - name: Checkout PyTorch
3256 uses: malfet/checkout@silent-checkout
3260 quiet-checkout: true
3261 - name: Clean PyTorch checkout
3264 git clean -fxd
3265 working-directory: pytorch
3266 - name: Checkout pytorch/builder
3267 uses: malfet/checkout@silent-checkout
3273 quiet-checkout: true
3274 - name: Clean pytorch/builder checkout
3277 git clean -fxd
3278 working-directory: builder
3279 - name: Populate binary env
3283 - name: Build PyTorch binary
3287 - uses: actions/upload-artifact@v3
3290 name: wheel-py3_11-cuda11_8
3291 retention-days: 14
3292 if-no-files-found: error
3294 - name: Wait until all sessions have drained
3296 working-directory: pytorch
3298 timeout-minutes: 120
3301 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3303 working-directory: pytorch
3307 wheel-py3_11-cuda11_8-test: # Testing
3309 needs: wheel-py3_11-cuda11_8-build
3310 runs-on: windows.8xlarge.nvidia.gpu
3311 timeout-minutes: 240
3324 - name: Display EC2 information
3327 set -euo pipefail
3330 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3332 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3334 echo "ami-id: $(get_ec2_metadata ami-id)"
3335 echo "instance-id: $(get_ec2_metadata instance-id)"
3336 echo "instance-type: $(get_ec2_metadata instance-type)"
3337 echo "system info $(uname -a)"
3338 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3339 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3340 continue-on-error: true
3342 github-secret: ${{ secrets.GITHUB_TOKEN }}
3343 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3344 - name: Enable long paths on Windows
3347 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3350- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3351 continue-on-error: true
3354 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3357 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3361 - name: Populate binary env
3367 - uses: actions/download-artifact@v3
3370 name: wheel-py3_11-cuda11_8
3372 - name: Checkout PyTorch
3373 uses: malfet/checkout@silent-checkout
3377 quiet-checkout: true
3378 - name: Clean PyTorch checkout
3381 git clean -fxd
3382 working-directory: pytorch
3383 - name: Checkout pytorch/builder
3384 uses: malfet/checkout@silent-checkout
3390 quiet-checkout: true
3391 - name: Clean pytorch/builder checkout
3394 git clean -fxd
3395 working-directory: builder
3396 - name: Populate binary env
3400 - name: Test PyTorch binary
3404 - name: Wait until all sessions have drained
3406 working-directory: pytorch
3408 timeout-minutes: 120
3411 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3413 working-directory: pytorch
3417 wheel-py3_11-cuda11_8-upload: # Uploading
3420 id-token: write
3422 needs: wheel-py3_11-cuda11_8-test
3433 build_name: wheel-py3_11-cuda11_8
3435 github-token: ${{ secrets.GITHUB_TOKEN }}
3436 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
3437 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
3438 uses: ./.github/workflows/_binary-upload.yml
3439 wheel-py3_11-cuda12_1-build:
3441 runs-on: windows.4xlarge
3442 timeout-minutes: 240
3454-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
3456 - name: Display EC2 information
3459 set -euo pipefail
3462 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3464 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3466 echo "ami-id: $(get_ec2_metadata ami-id)"
3467 echo "instance-id: $(get_ec2_metadata instance-id)"
3468 echo "instance-type: $(get_ec2_metadata instance-type)"
3469 echo "system info $(uname -a)"
3470 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3471 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3472 continue-on-error: true
3474 github-secret: ${{ secrets.GITHUB_TOKEN }}
3475 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3476 - name: Enable long paths on Windows
3479 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3482- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3483 continue-on-error: true
3486 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3489 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3493 - name: Populate binary env
3499 - name: Checkout PyTorch
3500 uses: malfet/checkout@silent-checkout
3504 quiet-checkout: true
3505 - name: Clean PyTorch checkout
3508 git clean -fxd
3509 working-directory: pytorch
3510 - name: Checkout pytorch/builder
3511 uses: malfet/checkout@silent-checkout
3517 quiet-checkout: true
3518 - name: Clean pytorch/builder checkout
3521 git clean -fxd
3522 working-directory: builder
3523 - name: Populate binary env
3527 - name: Build PyTorch binary
3531 - uses: actions/upload-artifact@v3
3534 name: wheel-py3_11-cuda12_1
3535 retention-days: 14
3536 if-no-files-found: error
3538 - name: Wait until all sessions have drained
3540 working-directory: pytorch
3542 timeout-minutes: 120
3545 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3547 working-directory: pytorch
3551 wheel-py3_11-cuda12_1-test: # Testing
3553 needs: wheel-py3_11-cuda12_1-build
3554 runs-on: windows.8xlarge.nvidia.gpu
3555 timeout-minutes: 240
3568 - name: Display EC2 information
3571 set -euo pipefail
3574 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3576 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3578 echo "ami-id: $(get_ec2_metadata ami-id)"
3579 echo "instance-id: $(get_ec2_metadata instance-id)"
3580 echo "instance-type: $(get_ec2_metadata instance-type)"
3581 echo "system info $(uname -a)"
3582 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3583 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3584 continue-on-error: true
3586 github-secret: ${{ secrets.GITHUB_TOKEN }}
3587 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3588 - name: Enable long paths on Windows
3591 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3594- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3595 continue-on-error: true
3598 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3601 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3605 - name: Populate binary env
3611 - uses: actions/download-artifact@v3
3614 name: wheel-py3_11-cuda12_1
3616 - name: Checkout PyTorch
3617 uses: malfet/checkout@silent-checkout
3621 quiet-checkout: true
3622 - name: Clean PyTorch checkout
3625 git clean -fxd
3626 working-directory: pytorch
3627 - name: Checkout pytorch/builder
3628 uses: malfet/checkout@silent-checkout
3634 quiet-checkout: true
3635 - name: Clean pytorch/builder checkout
3638 git clean -fxd
3639 working-directory: builder
3640 - name: Populate binary env
3644 - name: Test PyTorch binary
3648 - name: Wait until all sessions have drained
3650 working-directory: pytorch
3652 timeout-minutes: 120
3655 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3657 working-directory: pytorch
3661 wheel-py3_11-cuda12_1-upload: # Uploading
3664 id-token: write
3666 needs: wheel-py3_11-cuda12_1-test
3677 build_name: wheel-py3_11-cuda12_1
3679 github-token: ${{ secrets.GITHUB_TOKEN }}
3680 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
3681 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
3682 uses: ./.github/workflows/_binary-upload.yml
3683 wheel-py3_11-cuda12_4-build:
3685 runs-on: windows.4xlarge
3686 timeout-minutes: 240
3698-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
3700 - name: Display EC2 information
3703 set -euo pipefail
3706 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3708 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3710 echo "ami-id: $(get_ec2_metadata ami-id)"
3711 echo "instance-id: $(get_ec2_metadata instance-id)"
3712 echo "instance-type: $(get_ec2_metadata instance-type)"
3713 echo "system info $(uname -a)"
3714 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3715 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3716 continue-on-error: true
3718 github-secret: ${{ secrets.GITHUB_TOKEN }}
3719 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3720 - name: Enable long paths on Windows
3723 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3726- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3727 continue-on-error: true
3730 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3733 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3737 - name: Populate binary env
3743 - name: Checkout PyTorch
3744 uses: malfet/checkout@silent-checkout
3748 quiet-checkout: true
3749 - name: Clean PyTorch checkout
3752 git clean -fxd
3753 working-directory: pytorch
3754 - name: Checkout pytorch/builder
3755 uses: malfet/checkout@silent-checkout
3761 quiet-checkout: true
3762 - name: Clean pytorch/builder checkout
3765 git clean -fxd
3766 working-directory: builder
3767 - name: Populate binary env
3771 - name: Build PyTorch binary
3775 - uses: actions/upload-artifact@v3
3778 name: wheel-py3_11-cuda12_4
3779 retention-days: 14
3780 if-no-files-found: error
3782 - name: Wait until all sessions have drained
3784 working-directory: pytorch
3786 timeout-minutes: 120
3789 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3791 working-directory: pytorch
3795 wheel-py3_11-cuda12_4-test: # Testing
3797 needs: wheel-py3_11-cuda12_4-build
3798 runs-on: windows.8xlarge.nvidia.gpu
3799 timeout-minutes: 240
3812 - name: Display EC2 information
3815 set -euo pipefail
3818 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3820 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3822 echo "ami-id: $(get_ec2_metadata ami-id)"
3823 echo "instance-id: $(get_ec2_metadata instance-id)"
3824 echo "instance-type: $(get_ec2_metadata instance-type)"
3825 echo "system info $(uname -a)"
3826 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3827 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3828 continue-on-error: true
3830 github-secret: ${{ secrets.GITHUB_TOKEN }}
3831 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3832 - name: Enable long paths on Windows
3835 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3838- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3839 continue-on-error: true
3842 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3845 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3849 - name: Populate binary env
3855 - uses: actions/download-artifact@v3
3858 name: wheel-py3_11-cuda12_4
3860 - name: Checkout PyTorch
3861 uses: malfet/checkout@silent-checkout
3865 quiet-checkout: true
3866 - name: Clean PyTorch checkout
3869 git clean -fxd
3870 working-directory: pytorch
3871 - name: Checkout pytorch/builder
3872 uses: malfet/checkout@silent-checkout
3878 quiet-checkout: true
3879 - name: Clean pytorch/builder checkout
3882 git clean -fxd
3883 working-directory: builder
3884 - name: Populate binary env
3888 - name: Test PyTorch binary
3892 - name: Wait until all sessions have drained
3894 working-directory: pytorch
3896 timeout-minutes: 120
3899 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
3901 working-directory: pytorch
3905 wheel-py3_11-cuda12_4-upload: # Uploading
3908 id-token: write
3910 needs: wheel-py3_11-cuda12_4-test
3921 build_name: wheel-py3_11-cuda12_4
3923 github-token: ${{ secrets.GITHUB_TOKEN }}
3924 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
3925 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
3926 uses: ./.github/workflows/_binary-upload.yml
3927 wheel-py3_12-cpu-build:
3929 runs-on: windows.4xlarge
3930 timeout-minutes: 240
3941-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
3943 - name: Display EC2 information
3946 set -euo pipefail
3949 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
3951 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
3953 echo "ami-id: $(get_ec2_metadata ami-id)"
3954 echo "instance-id: $(get_ec2_metadata instance-id)"
3955 echo "instance-type: $(get_ec2_metadata instance-type)"
3956 echo "system info $(uname -a)"
3957 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
3958 uses: pytorch/test-infra/.github/actions/setup-ssh@main
3959 continue-on-error: true
3961 github-secret: ${{ secrets.GITHUB_TOKEN }}
3962 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
3963 - name: Enable long paths on Windows
3966 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
3969- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
3970 continue-on-error: true
3973 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
3976 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
3980 - name: Populate binary env
3986 - name: Checkout PyTorch
3987 uses: malfet/checkout@silent-checkout
3991 quiet-checkout: true
3992 - name: Clean PyTorch checkout
3995 git clean -fxd
3996 working-directory: pytorch
3997 - name: Checkout pytorch/builder
3998 uses: malfet/checkout@silent-checkout
4004 quiet-checkout: true
4005 - name: Clean pytorch/builder checkout
4008 git clean -fxd
4009 working-directory: builder
4010 - name: Populate binary env
4014 - name: Build PyTorch binary
4018 - uses: actions/upload-artifact@v3
4021 name: wheel-py3_12-cpu
4022 retention-days: 14
4023 if-no-files-found: error
4025 - name: Wait until all sessions have drained
4027 working-directory: pytorch
4029 timeout-minutes: 120
4032 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4034 working-directory: pytorch
4038 wheel-py3_12-cpu-test: # Testing
4040 needs: wheel-py3_12-cpu-build
4041 runs-on: windows.4xlarge.nonephemeral
4042 timeout-minutes: 240
4054 - name: Display EC2 information
4057 set -euo pipefail
4060 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4062 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4064 echo "ami-id: $(get_ec2_metadata ami-id)"
4065 echo "instance-id: $(get_ec2_metadata instance-id)"
4066 echo "instance-type: $(get_ec2_metadata instance-type)"
4067 echo "system info $(uname -a)"
4068 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4069 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4070 continue-on-error: true
4072 github-secret: ${{ secrets.GITHUB_TOKEN }}
4073 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4074 - name: Enable long paths on Windows
4077 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4080- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4081 continue-on-error: true
4084 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4087 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4091 - name: Populate binary env
4097 - uses: actions/download-artifact@v3
4100 name: wheel-py3_12-cpu
4102 - name: Checkout PyTorch
4103 uses: malfet/checkout@silent-checkout
4107 quiet-checkout: true
4108 - name: Clean PyTorch checkout
4111 git clean -fxd
4112 working-directory: pytorch
4113 - name: Checkout pytorch/builder
4114 uses: malfet/checkout@silent-checkout
4120 quiet-checkout: true
4121 - name: Clean pytorch/builder checkout
4124 git clean -fxd
4125 working-directory: builder
4126 - name: Populate binary env
4130 - name: Test PyTorch binary
4134 - name: Wait until all sessions have drained
4136 working-directory: pytorch
4138 timeout-minutes: 120
4141 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4143 working-directory: pytorch
4147 wheel-py3_12-cpu-upload: # Uploading
4150 id-token: write
4152 needs: wheel-py3_12-cpu-test
4162 build_name: wheel-py3_12-cpu
4164 github-token: ${{ secrets.GITHUB_TOKEN }}
4165 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
4166 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
4167 uses: ./.github/workflows/_binary-upload.yml
4168 wheel-py3_12-cuda11_8-build:
4170 runs-on: windows.4xlarge
4171 timeout-minutes: 240
4183-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
4185 - name: Display EC2 information
4188 set -euo pipefail
4191 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4193 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4195 echo "ami-id: $(get_ec2_metadata ami-id)"
4196 echo "instance-id: $(get_ec2_metadata instance-id)"
4197 echo "instance-type: $(get_ec2_metadata instance-type)"
4198 echo "system info $(uname -a)"
4199 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4200 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4201 continue-on-error: true
4203 github-secret: ${{ secrets.GITHUB_TOKEN }}
4204 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4205 - name: Enable long paths on Windows
4208 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4211- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4212 continue-on-error: true
4215 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4218 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4222 - name: Populate binary env
4228 - name: Checkout PyTorch
4229 uses: malfet/checkout@silent-checkout
4233 quiet-checkout: true
4234 - name: Clean PyTorch checkout
4237 git clean -fxd
4238 working-directory: pytorch
4239 - name: Checkout pytorch/builder
4240 uses: malfet/checkout@silent-checkout
4246 quiet-checkout: true
4247 - name: Clean pytorch/builder checkout
4250 git clean -fxd
4251 working-directory: builder
4252 - name: Populate binary env
4256 - name: Build PyTorch binary
4260 - uses: actions/upload-artifact@v3
4263 name: wheel-py3_12-cuda11_8
4264 retention-days: 14
4265 if-no-files-found: error
4267 - name: Wait until all sessions have drained
4269 working-directory: pytorch
4271 timeout-minutes: 120
4274 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4276 working-directory: pytorch
4280 wheel-py3_12-cuda11_8-test: # Testing
4282 needs: wheel-py3_12-cuda11_8-build
4283 runs-on: windows.8xlarge.nvidia.gpu
4284 timeout-minutes: 240
4297 - name: Display EC2 information
4300 set -euo pipefail
4303 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4305 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4307 echo "ami-id: $(get_ec2_metadata ami-id)"
4308 echo "instance-id: $(get_ec2_metadata instance-id)"
4309 echo "instance-type: $(get_ec2_metadata instance-type)"
4310 echo "system info $(uname -a)"
4311 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4312 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4313 continue-on-error: true
4315 github-secret: ${{ secrets.GITHUB_TOKEN }}
4316 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4317 - name: Enable long paths on Windows
4320 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4323- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4324 continue-on-error: true
4327 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4330 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4334 - name: Populate binary env
4340 - uses: actions/download-artifact@v3
4343 name: wheel-py3_12-cuda11_8
4345 - name: Checkout PyTorch
4346 uses: malfet/checkout@silent-checkout
4350 quiet-checkout: true
4351 - name: Clean PyTorch checkout
4354 git clean -fxd
4355 working-directory: pytorch
4356 - name: Checkout pytorch/builder
4357 uses: malfet/checkout@silent-checkout
4363 quiet-checkout: true
4364 - name: Clean pytorch/builder checkout
4367 git clean -fxd
4368 working-directory: builder
4369 - name: Populate binary env
4373 - name: Test PyTorch binary
4377 - name: Wait until all sessions have drained
4379 working-directory: pytorch
4381 timeout-minutes: 120
4384 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4386 working-directory: pytorch
4390 wheel-py3_12-cuda11_8-upload: # Uploading
4393 id-token: write
4395 needs: wheel-py3_12-cuda11_8-test
4406 build_name: wheel-py3_12-cuda11_8
4408 github-token: ${{ secrets.GITHUB_TOKEN }}
4409 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
4410 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
4411 uses: ./.github/workflows/_binary-upload.yml
4412 wheel-py3_12-cuda12_1-build:
4414 runs-on: windows.4xlarge
4415 timeout-minutes: 240
4427-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
4429 - name: Display EC2 information
4432 set -euo pipefail
4435 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4437 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4439 echo "ami-id: $(get_ec2_metadata ami-id)"
4440 echo "instance-id: $(get_ec2_metadata instance-id)"
4441 echo "instance-type: $(get_ec2_metadata instance-type)"
4442 echo "system info $(uname -a)"
4443 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4444 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4445 continue-on-error: true
4447 github-secret: ${{ secrets.GITHUB_TOKEN }}
4448 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4449 - name: Enable long paths on Windows
4452 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4455- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4456 continue-on-error: true
4459 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4462 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4466 - name: Populate binary env
4472 - name: Checkout PyTorch
4473 uses: malfet/checkout@silent-checkout
4477 quiet-checkout: true
4478 - name: Clean PyTorch checkout
4481 git clean -fxd
4482 working-directory: pytorch
4483 - name: Checkout pytorch/builder
4484 uses: malfet/checkout@silent-checkout
4490 quiet-checkout: true
4491 - name: Clean pytorch/builder checkout
4494 git clean -fxd
4495 working-directory: builder
4496 - name: Populate binary env
4500 - name: Build PyTorch binary
4504 - uses: actions/upload-artifact@v3
4507 name: wheel-py3_12-cuda12_1
4508 retention-days: 14
4509 if-no-files-found: error
4511 - name: Wait until all sessions have drained
4513 working-directory: pytorch
4515 timeout-minutes: 120
4518 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4520 working-directory: pytorch
4524 wheel-py3_12-cuda12_1-test: # Testing
4526 needs: wheel-py3_12-cuda12_1-build
4527 runs-on: windows.8xlarge.nvidia.gpu
4528 timeout-minutes: 240
4541 - name: Display EC2 information
4544 set -euo pipefail
4547 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4549 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4551 echo "ami-id: $(get_ec2_metadata ami-id)"
4552 echo "instance-id: $(get_ec2_metadata instance-id)"
4553 echo "instance-type: $(get_ec2_metadata instance-type)"
4554 echo "system info $(uname -a)"
4555 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4556 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4557 continue-on-error: true
4559 github-secret: ${{ secrets.GITHUB_TOKEN }}
4560 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4561 - name: Enable long paths on Windows
4564 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4567- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4568 continue-on-error: true
4571 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4574 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4578 - name: Populate binary env
4584 - uses: actions/download-artifact@v3
4587 name: wheel-py3_12-cuda12_1
4589 - name: Checkout PyTorch
4590 uses: malfet/checkout@silent-checkout
4594 quiet-checkout: true
4595 - name: Clean PyTorch checkout
4598 git clean -fxd
4599 working-directory: pytorch
4600 - name: Checkout pytorch/builder
4601 uses: malfet/checkout@silent-checkout
4607 quiet-checkout: true
4608 - name: Clean pytorch/builder checkout
4611 git clean -fxd
4612 working-directory: builder
4613 - name: Populate binary env
4617 - name: Test PyTorch binary
4621 - name: Wait until all sessions have drained
4623 working-directory: pytorch
4625 timeout-minutes: 120
4628 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4630 working-directory: pytorch
4634 wheel-py3_12-cuda12_1-upload: # Uploading
4637 id-token: write
4639 needs: wheel-py3_12-cuda12_1-test
4650 build_name: wheel-py3_12-cuda12_1
4652 github-token: ${{ secrets.GITHUB_TOKEN }}
4653 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
4654 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
4655 uses: ./.github/workflows/_binary-upload.yml
4656 wheel-py3_12-cuda12_4-build:
4658 runs-on: windows.4xlarge
4659 timeout-minutes: 240
4671-cuda-nvrtc-cu12==12.1.105; platform_system == 'Linux' and platform_machine == 'x86_64' | nvidia-c…
4673 - name: Display EC2 information
4676 set -euo pipefail
4679 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4681 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4683 echo "ami-id: $(get_ec2_metadata ami-id)"
4684 echo "instance-id: $(get_ec2_metadata instance-id)"
4685 echo "instance-type: $(get_ec2_metadata instance-type)"
4686 echo "system info $(uname -a)"
4687 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4688 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4689 continue-on-error: true
4691 github-secret: ${{ secrets.GITHUB_TOKEN }}
4692 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4693 - name: Enable long paths on Windows
4696 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4699- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4700 continue-on-error: true
4703 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4706 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4710 - name: Populate binary env
4716 - name: Checkout PyTorch
4717 uses: malfet/checkout@silent-checkout
4721 quiet-checkout: true
4722 - name: Clean PyTorch checkout
4725 git clean -fxd
4726 working-directory: pytorch
4727 - name: Checkout pytorch/builder
4728 uses: malfet/checkout@silent-checkout
4734 quiet-checkout: true
4735 - name: Clean pytorch/builder checkout
4738 git clean -fxd
4739 working-directory: builder
4740 - name: Populate binary env
4744 - name: Build PyTorch binary
4748 - uses: actions/upload-artifact@v3
4751 name: wheel-py3_12-cuda12_4
4752 retention-days: 14
4753 if-no-files-found: error
4755 - name: Wait until all sessions have drained
4757 working-directory: pytorch
4759 timeout-minutes: 120
4762 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4764 working-directory: pytorch
4768 wheel-py3_12-cuda12_4-test: # Testing
4770 needs: wheel-py3_12-cuda12_4-build
4771 runs-on: windows.8xlarge.nvidia.gpu
4772 timeout-minutes: 240
4785 - name: Display EC2 information
4788 set -euo pipefail
4791 … # see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instancedata-data-retrieval.html
4793 curl -fsSL "http://169.254.169.254/latest/meta-data/${category}"
4795 echo "ami-id: $(get_ec2_metadata ami-id)"
4796 echo "instance-id: $(get_ec2_metadata instance-id)"
4797 echo "instance-type: $(get_ec2_metadata instance-type)"
4798 echo "system info $(uname -a)"
4799 - name: "[FB EMPLOYEES] Enable SSH (Click me for login details)"
4800 uses: pytorch/test-infra/.github/actions/setup-ssh@main
4801 continue-on-error: true
4803 github-secret: ${{ secrets.GITHUB_TOKEN }}
4804 …ded for binary builds, see: https://github.com/pytorch/pytorch/issues/73339#issuecomment-1058981560
4805 - name: Enable long paths on Windows
4808 …Set-ItemProperty -Path "HKLM:\\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnable…
4811- name: Disables Windows Defender scheduled and real-time scanning for files in directories used b…
4812 continue-on-error: true
4815 Add-MpPreference -ExclusionPath $(Get-Location).tostring(),$Env:TEMP -ErrorAction Ignore
4818 Set-MpPreference -DisableRealtimeMonitoring $True -ErrorAction Ignore
4822 - name: Populate binary env
4828 - uses: actions/download-artifact@v3
4831 name: wheel-py3_12-cuda12_4
4833 - name: Checkout PyTorch
4834 uses: malfet/checkout@silent-checkout
4838 quiet-checkout: true
4839 - name: Clean PyTorch checkout
4842 git clean -fxd
4843 working-directory: pytorch
4844 - name: Checkout pytorch/builder
4845 uses: malfet/checkout@silent-checkout
4851 quiet-checkout: true
4852 - name: Clean pytorch/builder checkout
4855 git clean -fxd
4856 working-directory: builder
4857 - name: Populate binary env
4861 - name: Test PyTorch binary
4865 - name: Wait until all sessions have drained
4867 working-directory: pytorch
4869 timeout-minutes: 120
4872 - name: Kill active ssh sessions if still around (Useful if workflow was cancelled)
4874 working-directory: pytorch
4878 wheel-py3_12-cuda12_4-upload: # Uploading
4881 id-token: write
4883 needs: wheel-py3_12-cuda12_4-test
4894 build_name: wheel-py3_12-cuda12_4
4896 github-token: ${{ secrets.GITHUB_TOKEN }}
4897 conda-pytorchbot-token: ${{ secrets.CONDA_PYTORCHBOT_TOKEN }}
4898 conda-pytorchbot-token-test: ${{ secrets.CONDA_PYTORCHBOT_TOKEN_TEST }}
4899 uses: ./.github/workflows/_binary-upload.yml