parent
							
								
									191b184341
								
							
						
					
					
						commit
						33b8f524c2
					
				
					 1 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								.github/workflows/manually_build_for_testing.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/manually_build_for_testing.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -18,6 +18,7 @@ on:
 | 
			
		|||
        - ipex-llm-finetune-qlora-cpu
 | 
			
		||||
        - ipex-llm-finetune-qlora-xpu
 | 
			
		||||
        - ipex-llm-xpu
 | 
			
		||||
        - ipex-llm-cpp-xpu
 | 
			
		||||
        - ipex-llm-cpu
 | 
			
		||||
        - ipex-llm-serving-xpu
 | 
			
		||||
        - ipex-llm-serving-cpu
 | 
			
		||||
| 
						 | 
				
			
			@ -150,6 +151,35 @@ jobs:
 | 
			
		|||
        sudo docker push 10.239.45.10/arda/${image}:${TAG}
 | 
			
		||||
        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
 | 
			
		||||
 | 
			
		||||
  ipex-llm-cpp-xpu:
 | 
			
		||||
    if: ${{ github.event.inputs.artifact == 'ipex-llm-cpp-xpu' || github.event.inputs.artifact == 'all' }}
 | 
			
		||||
    runs-on: [self-hosted, Shire]
 | 
			
		||||
    
 | 
			
		||||
    steps:
 | 
			
		||||
    - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # actions/checkout@v3
 | 
			
		||||
      with:
 | 
			
		||||
        ref: ${{ github.event.inputs.sha }}
 | 
			
		||||
    - name: docker login
 | 
			
		||||
      run: |
 | 
			
		||||
        docker login -u ${DOCKERHUB_USERNAME} -p ${DOCKERHUB_PASSWORD}
 | 
			
		||||
    - name: ipex-llm-cpp-xpu
 | 
			
		||||
      run: |
 | 
			
		||||
        echo "##############################################################"
 | 
			
		||||
        echo "####### ipex-llm-cpp-xpu ########"
 | 
			
		||||
        echo "##############################################################"
 | 
			
		||||
        export image=intelanalytics/ipex-llm-cpp-xpu
 | 
			
		||||
        cd docker/llm/cpp/
 | 
			
		||||
        sudo docker build \
 | 
			
		||||
          --no-cache=true \
 | 
			
		||||
          --build-arg http_proxy=${HTTP_PROXY} \
 | 
			
		||||
          --build-arg https_proxy=${HTTPS_PROXY} \
 | 
			
		||||
          --build-arg no_proxy=${NO_PROXY} \
 | 
			
		||||
          -t ${image}:${TAG} -f ./Dockerfile .
 | 
			
		||||
        sudo docker push ${image}:${TAG}
 | 
			
		||||
        sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
 | 
			
		||||
        sudo docker push 10.239.45.10/arda/${image}:${TAG}
 | 
			
		||||
        sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
 | 
			
		||||
 | 
			
		||||
  ipex-llm-cpu:
 | 
			
		||||
    if: ${{ github.event.inputs.artifact == 'ipex-llm-cpu' || github.event.inputs.artifact == 'all' }}
 | 
			
		||||
    runs-on: [self-hosted, Shire]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue