File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ jobs:
199199      - name : Run Docker container and execute build script 
200200        if : inputs.build-environment == 'linux-ppc64le-binary-manywheel' 
201201        run : | 
202-             docker run --rm -v $(pwd)/dist:/workspace/pytorch/dist --cpus=4 --memory=16g --memory-swap=32g  pytorch-ppc64le:ubi9.3 /ppc64le-build.sh 
202+             docker run --rm -v $(pwd)/dist:/workspace/pytorch/dist pytorch-ppc64le:ubi9.3 /ppc64le-build.sh 
203203
204204name : Build 
205205        if : (steps.filter.outputs.is-test-matrix-empty == 'False' || inputs.test-matrix == '' ) && (inputs.build-environment != 'linux-ppc64le-binary-manywheel') 
@@ -276,7 +276,7 @@ jobs:
276276          docker exec -t "${container_name}" sh -c '.ci/pytorch/build.sh' 
277277
278278name : Archive artifacts into zip 
279-         # f : inputs.build-generates-artifacts && steps.build.outcome != 'skipped'
279+         if : inputs.build-generates-artifacts && steps.build.outcome != 'skipped' 
280280        run : | 
281281          zip -1 -r artifacts.zip dist/ build/custom_test_artifacts build/lib build/bin .additional_ci_files 
282282
@@ -318,10 +318,11 @@ jobs:
318318          if-no-files-found : error 
319319          path : artifacts.zip 
320320
321-       # - name: Archive ppc64le artifacts into zip
322-         # run: |
323-           # cd dist
324-          #  zip -1 ../artifacts.zip *.whl
321+       - name : Archive ppc64le artifacts into zip 
322+         if : inputs.build-environment == 'linux-ppc64le-binary-manywheel' 
323+         run : | 
324+           cd dist 
325+           zip -1 ../artifacts.zip *.whl 
325326
326327      - name : Store PyTorch Build Artifacts for ppc64le 
327328        uses : actions/upload-artifact@v3 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments