260 Commits
Author SHA1 Message Date
Rohan170603 88862e1c24 docs: fix float16 accumulation data type (#2477) 2026-08-18 16:42:28 +02:00
Mishig a12c44c3b1 Make doc builds faster (#2457)
* Update doc build workflow: light installs, drop custom container

* Update doc build workflow: light installs, drop custom container

* Replace string onclick handlers with real links (Svelte 5 rejects string event attributes)
2026-07-06 15:44:14 +02:00
3d1f5e74ea Fix GPT-QModel compat and deprecate AutoGPTQ (#2426)
* remove references to deprecated exllama v1 kernel

* remove max_input_length from gptq api

* remove exllamav2-specific gptq docs and tests

* rename gptqmodel references to GPTQ-Model in docs

* restore gptq serialization test coverage

* remove autogptq support from gptq integration

* fix gptq formatting

* test real gptq post-init path

* update version

* fix tests/gptq/test_quantization.py

Signed-off-by: ZX-ModelCloud <[email protected]>

* Apply suggestion from @IlyasMoutawwakil

---------

Signed-off-by: ZX-ModelCloud <[email protected]>
Co-authored-by: ZX-ModelCloud <[email protected]>
Co-authored-by: Ilyas Moutawwakil <[email protected]>
2026-06-19 17:35:12 +02:00
Ella Charlaix 08b7293ae6 Remove deprecated IPEX pipelines (#2429)
Remove deprecated IPEX
2026-05-18 14:00:20 +02:00
Ella Charlaix 92c00b5488 Remove optimum-amd from documentation (#2413)
* Remove optimum-amd from documentation

* 3 items per row
2026-03-13 10:28:29 +01:00
hongping-zhandhongping 481262f029 docs: add empirical energy efficiency data to quantization concept guide (#2410)
Co-authored-by: hongping <your.email@exampl>
2026-03-11 17:40:25 +01:00
Ella Charlaix 6cfe1ee69f Remove deprecated INC and IPEX from documentation (#2396)
* Remove deprecated INC and IPEX from documentation

* remove notebook

* fix openvino doc url
2025-12-19 16:32:53 +01:00
regisss 79e8cd85a2 Update Intel doc (#2378) 2025-10-30 11:46:02 +01:00
Ella Charlaix 90815ffe20 Combine documentation from all optimum subpackages (#2353)
* Combine documentation from all optimum subpackages

* style

* add links

* update workflow

* fix habana section title

* move habana section to make it closer to intel

* add redirects
2025-10-28 14:21:45 +01:00
Imad Saddik 86024c3ea1 Add documentation typo fix (#2375)
Fixed a small typo
2025-10-27 15:24:53 +01:00
Ilyas Moutawwakil 5a63cee569 Misc v2 preparations (#2365)
* remove more tensorflow

* warning

* style

* correct

* Update optimum/commands/optimum_cli.py

* docs

* optimize cli startup time

* fix without breaking

* keep the speed

* add missing

* gard numpy import in import utils

* avoid importing diffusers simply because it is available and remove more tensorflow

* better error

* remove use_auth_auth

* add an all tasks constant

* rm old torch checks

* Update docs/source/exporters/overview.mdx

* fix

* add all tasks constant for export commands (use instead of TasksManager.get_all_tasks)

* Update optimum/utils/__init__.py

* fix

* speedup optimum-onnx cli

* fix

* fix typos
2025-10-06 16:19:52 +02:00
Ilyas Moutawwakil 267500ead1 Optimum pipelines (#2343)
* optimum pipelines

* fix

* fix ci tests

* test

* test

* fix ?

* test

* fix

* add ort model test

* test

* test
2025-09-03 12:03:31 +02:00
Ilyas Moutawwakil 2a269df4fa Fix main doc (#2342)
* fix main doc

* don't use unnecessary docker

* pr docs as well

* test

* test
2025-08-25 15:05:01 +02:00
Ilyas Moutawwakil b8c953a568 Remove tflite (#2340)
* remove tflite

* rm exporters-tf

* Update setup.py

* Update setup.py

* Update .github/ISSUE_TEMPLATE/bug-report.yml

* use rm-tflite branch

* fix command registration

* use a model that has safetensors to avoid macos-13 ci failing

* remove some onnx/onnxruntime stuff

* fix

* fix

* test

* test non docker intel doc build
2025-08-25 10:08:48 +02:00
Ella CharlaixandIlyasMoutawwakil 3fc15a8d52 Move onnx and ort related code to optimum-onnx (#2298)
* remove onnxruntime

* remove commands

* remove onnx

* remove ORT examples

* remove onnx related tests

* remove onnx exporters

* remove ort workflows

* rm exporters tests

* fix doc generation

* remove cli export config

* remove onnx exporter command

* style

* style

* rm onnx cli tests

* add

* remove onnx related tests

* install from source from branch

* remove docs

* add documentation

* update setup

* add back

* add link redirect

* update setup exporters extras

* declare namespace packages explicitly

* fix setup.py

* todo

* remove uneccesary installs

* doc

* fix style

* update README

* remove unnecessary

* rm fixed torch version cli workflow

---------

Co-authored-by: IlyasMoutawwakil <[email protected]>
2025-08-18 10:48:03 +02:00
Ilyas MoutawwakilandElla Charlaix cd1f23777f Remove BetterTransformer (#2305)
* remove bettertransformer

* style

---------

Co-authored-by: Ella Charlaix <[email protected]>
2025-07-31 19:57:55 +02:00
VolodymyrBg eb187facea Fix broken Trainer documentation link in README (#2304) 2025-06-25 11:25:47 +02:00
Joshua LochnerandElla Charlaix 74f2345bef Add ONNX export support for Chinese CLIP (#1591)
* Add ONNX export support for chinese CLIP

* remove chinese clip normalized config

* remove chinese projection config

* fix

* remove as unused

* remove config

---------

Co-authored-by: Ella Charlaix <[email protected]>
2025-06-11 15:39:15 +02:00
Ella Charlaix 76ddcba844 Furiosa documentation (#2285)
* remove furiosa doc build

* add furiosa section

* style
2025-06-10 10:00:39 +02:00
297a6a0738 Add ONNX support for InternLM2 (#2244)
* Add ONNX support for InternLM2

* Add InternLM2 tests

* add trust_remote_code

* add trust remote code

* revert

* add missing trust remote code

* update model

---------

Co-authored-by: Gerard Marcos Freixas <[email protected]>
Co-authored-by: Ella Charlaix <[email protected]>
2025-06-06 20:25:29 +02:00
Ilyas MoutawwakilandElla Charlaix 85376e3376 Distribute and complete onnxruntime tests (decoder models) (#2278)
* added test_decoders.py

* fix position ids for single batch and more complete decoder testing for finegrained debugging

* support merging seq2seq models when used as decoders and add more tests

* fix pipe tests

* update phi min transformers version (broken by cache position refactorization)

* remove deprecated bloom modeling

* update opt onnx config to the one with position ids

* remove all complex deprecated modeling

* get_supported_model_type_for_task should only return suooprted model types

* update min transformers

* use transformers like api for use_cache and add can_use_cache and is_merged

* testing

* fix

* fix

* remove unnecessary

* simply qwen3

* docs

* qwen-moe

* model type shenanigans

* fix

* use test models from optimum-internal-hf with proper metadata

* Update optimum/onnxruntime/modeling_decoder.py

Co-authored-by: Ella Charlaix <[email protected]>

* keep supported model types

* optimum model

* fix failing test by forcing export

---------

Co-authored-by: Ella Charlaix <[email protected]>
2025-05-28 10:51:40 +02:00
Joshua LochnerandElla Charlaix 93c284a8bf Add ONNX export support for D-FINE (#2249)
* Add ONNX export support for D-FINE

* Patch transformers version incompatibility (missing import)

* add min transformers version

* rename

---------

Co-authored-by: Ella Charlaix <[email protected]>
2025-05-27 17:41:26 +02:00
Ella Charlaix 4274fda37f Doc tpu section gradient top to right (#2265) 2025-05-14 09:36:03 +02:00
Ilyas Moutawwakil 7ffa87e7a1 TRT engine docs (#1396)
* updated docs

* use optimum/gpt2
2025-04-15 09:58:28 +02:00
Guang YangandGuang Yang f795e82a4f Link Optimum-ExecuTorch to parent Optimum on Hub (#2222)
Co-authored-by: Guang Yang <[email protected]>
2025-04-08 12:17:05 +02:00
Ella Charlaix 3adbe7c75e Add executorch documentation section (#2193)
Add executorch section
2025-03-07 16:22:02 +01:00
Janak efe311c7a3 Fix the onnx export custom model example (#2203)
fix the export custom model example; fix repo name; fix opset version;
2025-03-03 16:38:51 +01:00
Ruida Zeng 180bddfcac Fixed All Typos in docs (#2185)
* docs: fixed minor typo in quicktour.mdx

* docs: fixed missing closing quotations mark in onnx/runtime/usage_guides/models.mdx

* docs: removed extra quotation mark at the end in onnxruntime/usage_guides/optimization.mdx

* docs: fixed spelling of NVIDIA in bettertransformer/overview.mdx

* docs: fixed other typos in bettertransformer/overview.mdx

* docs: fixed multiple typos in bettertransformer/tutorials/contribute.mdx

* docs: corrected minor typos and grammar in bettertransformer/tutorials/convert.mdx
2025-02-11 11:31:13 +01:00
Ella Charlaix 4fdeea77d7 Move executorch to optimum-executorch (#2165)
* Move executorch

* remove workflows

* fix docs

* remove executorch command
2025-01-23 15:54:45 +01:00
Joshua LochnerandElla Charlaix b9fa9aa8de Add ONNX export support for PatchTST (#2101)
* Add ONNX export support for `PatchTST`

* Add unit test for patchtst

* Add listed support for PatchTST

* Add ONNX export support for patchtsmixer

* Add task=feature-extraction

* Fix ONNX compatible unfold

* Formatting

* Correctly handle negative indexing for onnx compatible unfold

* Update tests/exporters/exporters_utils.py

Co-authored-by: Ella Charlaix <[email protected]>

* Update optimum/exporters/tasks.py

Co-authored-by: Ella Charlaix <[email protected]>

* Move dummy patch tst input generator to input_generators.py

* Code formatting

---------

Co-authored-by: Ella Charlaix <[email protected]>
2025-01-09 19:41:35 +02:00
Joshua Lochner 72498dde03 Add ONNX export support for ModernBERT (#2131)
* Introduce `DisableCompileContextManager`

* DisableCompileContextManager definition

* Add ONNX export support for modernbert

* Always use `DisableCompileContextManager` during export

* Add modernbert to listed models

* Add modernbert unit tests
2025-01-07 21:23:50 +02:00
d21256c296 Export to ExecuTorch: Initial Integration (#2090)
Co-authored-by: Guang Yang <[email protected]>
Co-authored-by: Michael Benayoun <[email protected]>
Co-authored-by: Github Executorch <[email protected]>
2024-12-20 14:05:38 +01:00
Joshua LochnerandElla Charlaix 0c42291f9d Add ONNX export support for DinoV2, Hiera, Maskformer, PVT, SigLIP, SwinV2, VitMAE, and VitMSN models (#2001)
* Add support for siglip models

* cleanup

* remove submodule

* Add ONNX export for DinoV2 models

* Use height and width from preprocessor

* formatting

* Remove attention mask from model input

* Add ONNX export support for Hiera models

* Add ONNX export support for SwinV2

* Upgrade Siglip to opset=14

* Add VQA task

* Add ONNX export support for Maskformer

* Add ONNX export support for PVT

* Add ONNX export support for ViTMAE and ViTMSN

* Add siglip unit tests

* Add vit-mae unit tests

* Code formatting

* Add maskformer to list of supported models

* Formatting

* fix typo

* remove vit-mae masked-im task

* remove vit-msn masked-im task

* fix output names for maskformer export

---------

Co-authored-by: Ella Charlaix <[email protected]>
2024-12-19 09:47:39 +01:00
Joshua LochnerandElla Charlaix 3f00766137 Add ONNX export support for OLMo and OLMo2 (#2121)
Add support for OLMo and OLMo2

Co-authored-by: Ella Charlaix <[email protected]>
2024-12-13 16:58:40 +01:00
Joshua Lochner 22d93e74ce Add ONNX export support for MGP-STR (#2099)
* Enable mpg-str ONNX export

* No longer needed

* Improve model patcher

* Formatting

* `ruff`

* Also support image-to-text task

* Add unit tests

* Add listed support for MGP-STR
2024-12-12 15:17:18 +02:00
Ella Charlaix d6de6762e0 Update documentation color from google tpu section (#2113)
* Update documentation color from google tpu section

* fix
2024-12-03 19:20:09 +01:00
Tomáš MlynářandIlyas Moutawwakil f22655c036 Add RemBERT ONNX support (#2108)
* ONNX config for RemBERT added

* added RemBERT to TasksManager

* rembert added to exporters_utils

* RemBERT added to test modelling tasks

* changed rembert model

* added RemBERT to test utils

* Added RemBERT to documentation

* Apply suggestions from code review

---------

Co-authored-by: Ilyas Moutawwakil <[email protected]>
2024-12-02 14:54:08 +01:00
65a8a94ada Add ONNX Support for Decision Transformer Model (#2038)
* Decision Transformer to ONNX V0.1

* Decision Transformer to ONNX V0.2

* Update optimum/exporters/onnx/model_configs.py

* Apply suggestions from code review

* Update optimum/exporters/onnx/base.py

* Update optimum/exporters/onnx/model_configs.py

* Update optimum/utils/input_generators.py

* Update optimum/exporters/onnx/model_configs.py

* Apply suggestions from code review

* Update optimum/exporters/tasks.py

* ONNXToDT: changes to order of OrderedDict elements

* make style changes

* test

* remove custom normalized config

* remove unncessary dynamic axes

---------

Co-authored-by: Ilyas Moutawwakil <[email protected]>
Co-authored-by: IlyasMoutawwakil <[email protected]>
2024-11-25 14:00:00 +01:00
Ella Charlaix e8b0332103 Update Dockerfile base image (#2089)
upgrade base image
2024-11-15 17:15:33 +01:00
Ella Charlaix 2e637be5d6 Add sentence-transformers and timm documentation example (#2072)
* add sentence-transformers and timm example to documentation

* replace with onnx models

* rephrase
2024-10-25 13:41:10 +02:00
Ella Charlaix 8af46e53bd Fix ort documentation code snippet (#2070)
fix code snippet
2024-10-19 20:37:48 +02:00
Ella Charlaix 59d6f7f04e Clean up ORT documentation (#2065)
* refactor ort doc

* fix links

* fix
2024-10-18 15:59:22 +02:00
rbrugaro c6b46786ce Add ipex to documentation (#2027)
* adding ipex reference in optimum docs

* minor fix
2024-09-30 11:50:23 +02:00
nikkie c0d9111775 Fix typo in BetterTransformer's overview docs (#2015) 2024-09-05 16:01:33 +02:00
Albert Catalan Tatjer fa2a2986ff Fix typos in quantization.mdx (#1989)
Fix typos quantization.mdx

Fixed 3 typos
2024-08-14 16:42:47 +02:00
Ilyas Moutawwakil ab4341b2bc Refactor diffusers tasks (#1947)
* refactor diffusers tasks "stable-diffusion" and "stable-diffusion-xl" into "text-to-image", "image-to-image" and "inpainting"

* warn depreated tasks

* generalize diffusion export

* fix

* fix

* fix

* clean up

* trocr

* fix

* standardise model/pipeline mapping task lookup

* add latent consistency

* test

* fix

* fix

* final

* refactor

* fix

* fix offline hub support

* remove unnecessary

* misc

* test

* style

* update docs
2024-07-16 10:52:52 +02:00
Ella Charlaix ea2beba27f Add redirection for optimum intel doc (#1918) 2024-06-25 17:06:35 +02:00
Mohit Sharma f3008651c6 Update ORT doc for ROCM 6.0 (#1862)
* Update ORT doc for ROCM 6.0

* Update amdgpu.mdx
2024-05-28 14:02:19 +05:30
Jingya HUANGandJingya 7184ef4e72 Add phi3 support in ONNX exporter (#1870)
* add phi3 support

* add test

* add phi3 to modeeling test

* replace ckpt to avoid remote code

* fix test

* bump trfrs to fix test

---------

Co-authored-by: Jingya <[email protected]>
2024-05-24 15:53:06 +02:00
Ella Charlaix fca7e99b4b Update installation instructions (#1806)
* Update installation instructions

* update
2024-04-10 14:32:45 +02:00