File tree Expand file tree Collapse file tree 6 files changed +9
-21
lines changed 
backends/apple/coreml/scripts Expand file tree Collapse file tree 6 files changed +9
-21
lines changed Original file line number Diff line number Diff line change 11mpmath==1.3.0
2- numpy==1.21.3; python_version == '3.10'
3- numpy==1.23.2; python_version == '3.11'
4- numpy; python_version >= '3.12'
2+ numpy==2.0.0; python_version >= '3.10'
53PyYAML==6.0.1
64ruamel.yaml==0.17.32
75sympy==1.12
86timm==0.6.13
97tomli==2.0.1
108torchsr==1.0.4
11- transformers==4.38.0 
9+ transformers==4.47.1 
1210zstd==1.5.5.1
13- pandas==2.0.3; python_version == '3.10'
14- pandas; python_version >= '3.11'
11+ pandas==2.2.2; python_version >= '3.10'
1512pytest==7.2.0
1613pytest-cov==4.1.0
1714expecttest==0.1.6
@@ -24,7 +21,7 @@ sphinx-gallery==0.14.0
2421breathe==4.34.0
2522exhale==0.2.3
2623docutils==0.16
27- matplotlib==3.7.2 
24+ matplotlib==3.9.4 
2825# PyTorch Theme
2926-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
3027myst-parser==0.18.1
Original file line number Diff line number Diff line change @@ -47,11 +47,7 @@ cmake --build "$COREMLTOOLS_DIR_PATH/build" --parallel
4747
4848echo  " ${green} ExecuTorch: Installing coremltools." 
4949pip install " $COREMLTOOLS_DIR_PATH " 
50- #  CoreMLTools have started supporting numpy 2.0,
51- #  but ExecuTorch example model test env is still using older transformers,
52- #  so for now we will need to downgrade numpy to 1.x
53- #  TODO: Remove this numpy downgrade once later transformers starts to be used
54- pip install numpy==1.26.4
50+ 
5551STATUS=$? 
5652if  [ $STATUS  -ne  0 ];  then 
5753    echo  " ${red} ExecuTorch: Failed to install coremltools." 
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ pip install snakeviz sentencepiece
1313#  Install tiktoken for tokenizer
1414pip install lm_eval==0.4.5
1515pip install tiktoken blobfile
16- #  Restore numpy if >= 2.0
17- pip install " numpy<2.0" 
1816
1917#  Call the install helper for further setup
2018python examples/models/llama/install_requirement_helper.py
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ def python_is_compatible():
158158    "timm==1.0.7" ,
159159    f"torchaudio==2.6.0.{ NIGHTLY_VERSION }  "  if  USE_PYTORCH_NIGHTLY  else  "torchaudio" ,
160160    "torchsr==1.0.4" ,
161-     "transformers==4.46 .1" ,
161+     "transformers==4.47 .1" ,
162162]
163163
164164# pip packages needed for development. 
Original file line number Diff line number Diff line change @@ -55,12 +55,9 @@ dependencies=[
5555  " flatbuffers"  ,
5656  " hypothesis"  ,
5757  " mpmath==1.3.0"  ,
58-   " numpy==1.21.3; python_version == '3.10'"  ,
59-   " numpy==1.23.2; python_version == '3.11'"  ,
60-   " numpy; python_version >= '3.12'"  ,
58+   " numpy==2.0.0; python_version >= '3.10'"  ,
6159  " packaging"  ,
62-   " pandas==2.0.3; python_version == '3.10'"  ,
63-   " pandas; python_version >= '3.11'"  ,
60+   " pandas==2.2.2; python_version >= '3.10'"  ,
6461  " parameterized"  ,
6562  " pytest"  ,
6663  " pytest-xdist"  ,
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments