huggingface / huggingface/optimum-executorch

Support installation in editable mode

Open
#32 0 comments 0 reactions 1 assignee Claimed by @echarlaix View on GitHub
Dominant language
Python
Stars
141
Forks
48
Avg merge
26m
Merged PRs (30d)
2

Description

Issue:
If we install optimum-executorch in editable mode:
```
git clone https://github.com/huggingface/optimum-executorch.git
cd optimum-executorch
pip install -e .
```
This can run through successfully.
```
optimum 1.24.0
optimum-executorch 0.0.0.dev0 /Users/guangyang/optimum-executorch
```

However, when run `optimum-cli export executorch --help`, it will end with error:
```
usage: optimum-cli export [-h] {onnx,tflite} ...
optimum-cli export: error: argument {onnx,tflite}: invalid choice: 'executorch' (choose from 'onnx', 'tflite')
(optimum-executorch)[guangyang-mbp (fix_readme) *]: ~/optimum-executorch$ optimum-cli export executorch --help
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.