File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -823,25 +823,18 @@ jobs:
823823        echo "Recipe: $RECIPE" 
824824        echo "Quantize: $QUANTIZE" 
825825
826-         echo "::group::Set up ExecuTorch" 
827826        # The generic Linux job chooses to use base env, not the one setup by the image 
828827        CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]") 
829828        conda activate "${CONDA_ENV}" 
830829
831-         pip uninstall torch torchaudio torchvision -y 
832- 
833-         # Install executorch 
834-         echo "::group::Set up ExecuTorch" 
835-         ./install_requirements.sh 
830+         echo "::group::Setup ExecuTorch" 
831+         PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool "cmake" 
836832        echo "::endgroup::" 
837833
838-         # Used by .ci/scripts/test_huggingface_optimum_model.py 
839-         pip install datasets 
840- 
841-         echo "::group::Set up Hugging Face" 
834+         echo "::group::Setup Huggingface" 
842835        pip install -U "huggingface_hub[cli]" accelerate 
843836        huggingface-cli login --token $SECRET_EXECUTORCH_HF_TOKEN 
844-         OPTIMUM_ET_VERSION=8335b491fa77a6c43709b4dfc192184add6ef224  
837+         OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)  
845838        pip install git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION} 
846839        echo "::endgroup::" 
847840
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments