Fix wheel build and smoke test (#4429)
Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/4429 Test Plan: 1. Label `ciflow/binaries` to build wheel 2. CI and OSS CI. This makes sure that smoke test can pass, and a portable model can export and run E2E. Python 3.9 is not supported for now. 3. Run these helps validate unittest failure for quantized ops ``` pip uninstall executorch -y rm dist/*.whl source build/packaging/env_var_script_m1.sh # or Linux python setup.py bdist_wheel pip install dist/*.whl ``` Then in Python, try ``` from executorch.extension.pybindings import portable_lib from executorch.exir.dialects._ops import ops import executorch.kernels.quantized ops.edge.quantized_decomposed.add.default.to_out_variant().name() ``` Reviewed By: larryliu0820 Differential Revision: D60694247 Pulled By: kirklandsign fbshipit-source-id: 4da77493c0e7a868f86b583c9c33d54d08c3e48b
H
Hansong Zhang committed
bf477e42e6d6823ff4985eecd0f55a0d3364723e
Parent: 05a7d52
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
on 8/7/2024, 5:41:37 AM