Update for cpu install option in performance tests (#11060)
This commit is contained in:
		
							parent
							
								
									d963e95363
								
							
						
					
					
						commit
						b3027e2d60
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								.github/workflows/llm_performance_tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/llm_performance_tests.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -198,7 +198,7 @@ jobs:
 | 
				
			||||||
      - name: Install IPEX-LLM from Pypi
 | 
					      - name: Install IPEX-LLM from Pypi
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pip install --pre --upgrade ipex-llm[all] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
 | 
					          pip install --pre --upgrade ipex-llm[all] --extra-index-url https://download.pytorch.org/whl/cpu
 | 
				
			||||||
          test_version_date=`date -d 'yesterday' '+%Y%m%d'`
 | 
					          test_version_date=`date -d 'yesterday' '+%Y%m%d'`
 | 
				
			||||||
          if ! pip show ipex-llm | grep $test_version_date; then
 | 
					          if ! pip show ipex-llm | grep $test_version_date; then
 | 
				
			||||||
            echo "Did not install ipex-llm with excepted version $test_version_date"
 | 
					            echo "Did not install ipex-llm with excepted version $test_version_date"
 | 
				
			||||||
| 
						 | 
					@ -272,7 +272,7 @@ jobs:
 | 
				
			||||||
      - name: Install IPEX-LLM from Pypi
 | 
					      - name: Install IPEX-LLM from Pypi
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          pip install --pre --upgrade ipex-llm[all] --extra-index-url https://pytorch-extension.intel.com/release-whl/stable/xpu/cn/
 | 
					          pip install --pre --upgrade ipex-llm[all]
 | 
				
			||||||
          test_version_date=`date -d 'yesterday' '+%Y%m%d'`
 | 
					          test_version_date=`date -d 'yesterday' '+%Y%m%d'`
 | 
				
			||||||
          if ! pip show ipex-llm | grep $test_version_date; then
 | 
					          if ! pip show ipex-llm | grep $test_version_date; then
 | 
				
			||||||
            echo "Did not install ipex-llm with excepted version $test_version_date"
 | 
					            echo "Did not install ipex-llm with excepted version $test_version_date"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue