Buckets:
| # ExecuTorch | |
| [ExecuTorch](https://pytorch.org/executorch/stable/index.html) runs PyTorch models on mobile and edge devices. Export your Transformers models to the ExecuTorch format with [Optimum ExecuTorch](https://github.com/huggingface/optimum-executorch) with the command below. | |
| ```bash | |
| optimum-cli export executorch \ | |
| --model "HuggingFaceTB/SmolLM2-135M-Instruct" \ | |
| --task "text-generation" \ | |
| --recipe "xnnpack" \ | |
| --use_custom_sdpa \ | |
| --use_custom_kv_cache \ | |
| --qlinear 8da4w \ | |
| --qembedding 8w \ | |
| --output_dir="hf_smollm2" | |
| ``` | |
| Run `optimum-cli export executorch --help` to see all export options. For detailed export instructions, check the [README](optimum/exporters/executorch/README.md). | |
Xet Storage Details
- Size:
- 728 Bytes
- Xet hash:
- 5408d9bfefebb0144cd45cef9a9ec1a012965f39cdbd0877f92826986542fe67
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.