File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ pip install bitsandbytes -I
20
20
# numpy needs to be pin to 1.24. 1.26.4 will error out
21
21
pip install numpy==1.24
22
22
23
- # Newer transformer will give TypeError: LlavaLlamaForCausalLM.forward() got an unexpected keyword argument 'cache_position'
24
- pip install transformers==4.37.2
25
-
26
23
# The deps of llava can have different versions than deps of ExecuTorch.
27
24
# For example, torch version required from llava is older than ExecuTorch.
28
25
# To make both work, recover ExecuTorch's original dependencies by rerunning
29
26
# the install_requirements.sh.
30
27
bash -x ./install_requirements.sh --pybind xnnpack
28
+
29
+ # Newer transformer will give TypeError: LlavaLlamaForCausalLM.forward() got an unexpected keyword argument 'cache_position'
30
+ pip install timm==0.6.13
31
+ pip install transformers==4.38.2
Original file line number Diff line number Diff line change @@ -141,10 +141,10 @@ DEVEL_REQUIREMENTS=(
141
141
# pip packages needed to run examples.
142
142
# TODO(dbort): Make each example publish its own requirements.txt
143
143
EXAMPLES_REQUIREMENTS=(
144
- timm==0.6.13
144
+ timm==1.0.7
145
145
torchaudio==" 2.4.0.${NIGHTLY_VERSION} "
146
146
torchsr==1.0.4
147
- transformers==4.38.2
147
+ transformers==4.42.4
148
148
)
149
149
150
150
# Assemble the list of requirements to actually install.
You can’t perform that action at this time.
0 commit comments