Closed
Description
🐛 Describe the bug
After I install
pip install --extra-index-url https://download.pytorch.org/whl/test/cpu executorch==0.6.0
The following commmand doesn't work:
import torchao
Let's either
- pin to particular version of ao in pyproject.toml directly similar to https://github.com/pytorch/executorch/pull/8038/files
- Make pip wheel build ao from third-party/ao submodule
If we go with the first route, one thing to make sure is that third-party/ao submodule hash is the same as pinned torchao release
Versions
(executorch_06_qa_1) mnachin@mnachin-mbp executorch % pip freeze
attrs==25.3.0
cattrs==24.1.3
coremltools==8.1
exceptiongroup==1.2.2
execnet==2.1.1
executorch==0.6.0
expecttest==0.3.0
flatbuffers==25.2.10
hypothesis==6.130.10
iniconfig==2.1.0
mpmath==1.3.0
numpy==2.2.4
packaging==24.2
pandas==2.2.3
parameterized==0.9.0
pluggy==1.5.0
protobuf==6.30.2
pyaml==25.1.0
pytest==8.3.5
pytest-rerunfailures==15.0
pytest-xdist==3.6.1
python-dateutil==2.9.0.post0
pytz==2025.2
PyYAML==6.0.2
ruamel.yaml==0.18.10
ruamel.yaml.clib==0.2.12
six==1.17.0
sortedcontainers==2.4.0
sympy==1.13.3
tabulate==0.9.0
tomli==2.2.1
tqdm==4.67.1
typing_extensions==4.13.1
tzdata==2025.2