Commit 094b3c4
authored
Fix installation that causes torch conflict (#13074)
Looking into resolving this:
pytorch/pytorch#159599
A package in requirements-examples.txt had a dependency on torchvision,
and we ended up installing stable release from standard pypi package.
And transitively we ended up installing stable torch and uninstalling
existing torch nightly.
We just need to swap the installation (first install domain libraries
and torch) and then necessary examples packages.
Test Plan:
`python ./install_requirements.sh --example`
Outputs
```
(executorch_test_9) mnachin@mnachin-mbp executorch % pip freeze | grep torch
pytorch_tokenizers @ file:///Users/mnachin/executorch/extension/llm/tokenizers
torch==2.9.0.dev20250725
torchao @ file:///Users/mnachin/executorch/third-party/ao
torchaudio==2.8.0.dev20250725
torchdata==0.11.0
torchsr==1.0.4
torchtune==0.6.1
torchvision==0.24.0.dev20250725
```1 parent 48e4822 commit 094b3c4
1 file changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | 145 | | |
159 | 146 | | |
160 | 147 | | |
| |||
178 | 165 | | |
179 | 166 | | |
180 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
0 commit comments