Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
726 commits
Select commit Hold shift + click to select a range
cac1a71
Arm backend: Refactor check_platform_support (#13904)
perheld Sep 3, 2025
5abad6c
NXP backend: Add preprocessing pass to split multilayer `GRU`. (#13757)
MartinPavella Sep 3, 2025
0b4de82
Add extra logging in CoreML (#13890)
metascroy Sep 3, 2025
c393d17
Revert "Use extension module for pybind (#13858)" (#13911)
lucylq Sep 3, 2025
537d30b
Bump tokenizers to 4ed91cc (#13888)
GregoryComer Sep 3, 2025
8f724e0
Clean up optimized op_le
manuelcandales Sep 3, 2025
f0368db
Enforce range setting only used with per-channel (#13889)
rohansjoshi Sep 3, 2025
33c8f76
Add qnn deps to LlamaDemo gradle (#13912)
kirklandsign Sep 3, 2025
b2a8550
Qualcomm AI Engine Direct - Support Flip & Index_Select (#13906)
winskuo-quic Sep 3, 2025
d7fd78b
[Windows] Run Python unit test CI on Windows (#13716)
GregoryComer Sep 3, 2025
ad19cb8
Arm backend: Enable capture of debug information during TOSA serializ…
tom-arm Sep 3, 2025
932818c
XNNPACK: Kleidi QP8 and SME2 (#13887)
digantdesai Sep 3, 2025
874d3c1
Optimize index_out via fast path
manuelcandales Sep 3, 2025
66799e3
[Windows] Add model run CI (#13836)
GregoryComer Sep 3, 2025
18263c2
Fix bug in elu
manuelcandales Sep 3, 2025
17cad55
Remove EDSR from android benchmarking (#13877)
kirklandsign Sep 3, 2025
4fc602b
Enable per-row/per-col grouping in CoreML LUT ops (#13674)
metascroy Sep 3, 2025
3f2f7d6
Add audio to multimodal runner (#13851)
pytorchbot Sep 3, 2025
ae862f7
Add constraints for cadence idma ops.
hsharma35 Sep 3, 2025
a99b64f
Post memory planning passes.
hsharma35 Sep 3, 2025
f7de2da
Add Voxtral runner (#13853)
pytorchbot Sep 3, 2025
ab44d06
Make token and stat callback optional in multimodal runner (#13854)
pytorchbot Sep 3, 2025
ae07cb6
Support Half/BFloat16 in native_group_norm
manuelcandales Sep 3, 2025
624463e
Include audio preprocessing for raw audio tensor (#13855)
pytorchbot Sep 3, 2025
b759ae8
Add 16A8W linear ops support and test (#13922)
pytorchbot Sep 4, 2025
9cc092c
Static attention batch size > 1
sxu Sep 4, 2025
e9e868c
Back out "Add XNNPACK backend option for workspace sharing"
GregoryComer Sep 4, 2025
aa08df5
Force -O3 for executorch op_div.cpp in "clang 17" also
akrieger Sep 4, 2025
76a8906
Adjust atol/rtol for ring attention's quantized kv cache test (#13909)
kimishpatel Sep 4, 2025
9fa7edf
Revert #13851 #13853 #13854 #13855
kirklandsign Sep 4, 2025
32e82bc
let backends set info on the lowered_backend.meta from preprocess
JacobSzwejbka Sep 4, 2025
ea5cf49
Add backend-agnostic implementation for quantized_linear
DrJessop Sep 4, 2025
486dd4e
First working llama shared weights flow
neuropilot-captain Sep 1, 2025
6aac82a
Arm backend: Fix broken logic when checking os in utils.sh (#13939)
perheld Sep 4, 2025
8c79a53
Update Neutron Converter
JakeStevens Sep 4, 2025
f6d90ef
Arm backend: Move tosa files to tosa/ directory (#13938)
Sebastian-Larsson Sep 4, 2025
f9ce98f
Summary: Add detailed error message to exception flow (#13929)
psiddh Sep 4, 2025
c5ff74c
[EXIR] Register _clone_dim_order op and map aten.clone (#13735)
keyprocedure Sep 4, 2025
39594fa
Add audio to multimodal runner (#13948)
pytorchbot Sep 4, 2025
c1d973e
Add Voxtral runner (#13949)
pytorchbot Sep 4, 2025
e289f6c
Make token and stat callback optional in multimodal runner (#13950)
pytorchbot Sep 4, 2025
497f59c
Fix reduction over dim list for empty input
manuelcandales Sep 4, 2025
544cece
Include audio preprocessing for raw audio tensor (#13951)
pytorchbot Sep 4, 2025
30e7497
Update backend-agnostic quantize_per_tensor to use scale_inv to match…
DrJessop Sep 4, 2025
14d0745
Backend-agnostic implementation of quantized_layer_norm_per_tensor
DrJessop Sep 4, 2025
f4ec01a
Scriptify mel spectrogram processor (#13961)
jackzhxng Sep 4, 2025
19d22ab
Revert exposed_as_util functionality and refactor stack utils
manuelcandales Sep 4, 2025
646e0c4
Add Voxtral build and run instructions (#13962)
jackzhxng Sep 4, 2025
686bb71
Deprecate method retrieval in module (#13913)
shoumikhin Sep 4, 2025
d5a5164
Support qwen 0.5 b (#13972)
cccclai Sep 5, 2025
09a2e88
Add support for checking more than one output from delegate in numeri…
kimishpatel Sep 5, 2025
fcdcd8e
Disable xnnpack jobs in macos (#13959)
metascroy Sep 5, 2025
b02db12
[Executorch][target recipes] Add target based recipes for lowering mo…
pytorchbot Sep 5, 2025
7cc7321
Merge remote-tracking branch 'upstream/main' into extract_share
neuropilot-captain Sep 5, 2025
b2303b2
Merge branch 'main' into extract_share
neuropilot-captain Sep 5, 2025
dbe864d
Fix conflict
neuropilot-captain Sep 5, 2025
6491161
Update for delegate interface changes
neuropilot-captain Sep 5, 2025
7060fc5
Arm backend: Replace asserts with report_reject in operator_support (…
Sebastian-Larsson Sep 5, 2025
cfd9b68
Summary: Add Initial support to pico2 (Arm Cortex M) (#12518)
psiddh Sep 5, 2025
c6a6caa
Arm backend: Auto generate cycle table if ETDump is used (#13943)
zingo Sep 5, 2025
cec1400
Arm backend: Add INT64 support to to_copy (#13993)
oscarandersson8218 Sep 5, 2025
01258d2
Arm backend: Add VGF minimal example to out-of-box testing (#13861)
SaoirseARM Sep 5, 2025
0eed262
Fix qwen2_5_xnnpack_q8da4w.yaml (#13965)
jackzhxng Sep 5, 2025
8607c89
model : support LiquidAI LFM2 hybrid family (#13805)
Sep 5, 2025
8456567
Arm backend: Refactor compiler choices in setup.sh (#13995)
perheld Sep 5, 2025
f3b902a
Update README.md (#14008)
jackzhxng Sep 5, 2025
4628f89
Fix internal tests for LiquidAI LFM2
jackzhxng Sep 5, 2025
9dfc0d6
Fix crash in op_upsample_bilinear2d_aa
mergennachin Sep 5, 2025
3899beb
Arm backend: Propagate debug info to TOSA flatbuffer (#13998)
tom-arm Sep 5, 2025
364f493
Fix qwen2.5 1.5b test (#14013)
cccclai Sep 5, 2025
2261848
fix facto contraints to avoid char,byte in full
zonglinpeng Sep 5, 2025
7a7e939
Arm backend: Add decomposition of div.Tensor_mode (#13940)
wwwind Sep 5, 2025
303e2a0
Add boolean support for op_unbind_copy
mergennachin Sep 5, 2025
accc65e
Fix crash in optimized log softmax
mergennachin Sep 5, 2025
7e76ba2
Fix torchao quantization for deployment targets under iOS18 (#13896)
metascroy Sep 5, 2025
2517376
Update OSS flow to call the right APIs
mcremon-meta Sep 5, 2025
41c299f
[Backend Tester] Don't run fp64 model tests (#13982)
GregoryComer Sep 5, 2025
d3e19eb
Backend-agnostic implementation of quantized_conv_nchw
DrJessop Sep 6, 2025
fa4d935
[retake] Use extension module for pybind (#14029)
pytorchbot Sep 6, 2025
705150c
Use OSS kernels everywhere
mcremon-meta Sep 6, 2025
f01198f
Arm backend: fwd fix for tosa dir refactor for buck files (#14031)
digantdesai Sep 6, 2025
51b3329
Fix voxtral instructions (#14026)
mergennachin Sep 6, 2025
d0e46a8
Arm backend: Refactor setup.sh to break out vulkan (#14009)
perheld Sep 6, 2025
79744f0
Fixing the broken unit tests caused by missing portable lib import. (…
jirioc Sep 6, 2025
1a7441f
Delete copy of quantized SDPA in torchao/experimental
metascroy Sep 6, 2025
40d6d43
Fix gemma3 AoT SWA Mask
neuropilot-captain Sep 7, 2025
62352f4
Added platform-config argument
neuropilot-captain Sep 7, 2025
34e286b
Update runner support for varying number of inputs
neuropilot-captain Sep 7, 2025
d417b06
Merge remote-tracking branch 'origin/extract_share' into support_qwen…
neuropilot-captain Sep 7, 2025
781e953
Support share weights for phi, gemma, qwen
neuropilot-captain Sep 7, 2025
bf22ab7
Qualcomm AI Engine Direct - Strengthen Unit Test Robustness (#13892)
shewu-quic Sep 8, 2025
c1ea7e9
[ET-VK] Quantized Int8 Linear (#14041)
pytorchbot Sep 8, 2025
e19d555
Arm backend: Add 16A8W support and test for add operation (#14039)
pytorchbot Sep 8, 2025
2c93fd2
[ET-VK] Quantized Int8 Convolution (#14042)
pytorchbot Sep 8, 2025
d25f6c4
[ET-VK][AOT] Enable exporting Q8 Quantized Linear + Convolution (#14043)
pytorchbot Sep 8, 2025
8da72c3
[ET-VK][ez] Enable max_pool2d.default (#14044)
pytorchbot Sep 8, 2025
038ff0b
[ET-VK] Fast path for choose_qparams (#14045)
pytorchbot Sep 8, 2025
fbda3a9
[ET-VK] Implement linear_q4gsw (#14046)
pytorchbot Sep 8, 2025
6b30094
Fix lint errors and update llama sample run script
neuropilot-captain Sep 8, 2025
6c12956
Add program-data separation to pybindings
lucylq Sep 8, 2025
90153fa
Arm backend: Move vgf files to own folder (#13862)
Erik-Lundell Sep 8, 2025
2845fd3
Arm Backend: Split ops_unary into op_ceil, op_floor and op_logical_no…
agrima1304 Sep 8, 2025
61b0070
Support pytorch checkpoints for Qwen3/Phi4 mini (#13984)
metascroy Sep 8, 2025
a90e907
Support weight sharing in PTE (#13941)
neuropilot-captain Sep 8, 2025
9ce07da
Add create_mutable_buffer util (#13813)
digantdesai Sep 8, 2025
34b6a2d
text_llm_runner manage start_pos internally (#14028)
kirklandsign Sep 8, 2025
edc0847
Arm backend: tweak setup.sh --enable-vulkan-sdk (#14058)
mansnils Sep 8, 2025
0eb4361
Try testing more pytest (#14037)
mergennachin Sep 8, 2025
151f3be
Executorch Wasm Internal Build
Conarnar Sep 8, 2025
9ffcf4b
Del redundant-static-def in executorch/schema/extended_header.cpp +2
r-barnes Sep 8, 2025
339e9fc
CI: Enable trunk jobs on PRs on main/release (#14060)
digantdesai Sep 8, 2025
5948238
Backend-agnostic quantized_conv_nhwc (channels last)
DrJessop Sep 8, 2025
ea37202
CI: Enable trunk jobs on PRs (#14087)
digantdesai Sep 8, 2025
1d4c6ba
Backend-agnostic quantized_relu
DrJessop Sep 8, 2025
855c083
Allow custom ops to log outputs and profiling events for etdump
kimishpatel Sep 8, 2025
00b50b2
Fix missing things from OSS kernels updates
mcremon-meta Sep 8, 2025
c22a2b0
Objective-C wrapper for multimodal LLM runner. (#14075)
shoumikhin Sep 9, 2025
d79ef5b
Voxtral documentation fix (#14097)
rohansjoshi Sep 9, 2025
1882ea1
[ET-VK] Implemement linear_dq8ta_q4gsw (#14098)
pytorchbot Sep 9, 2025
879e7ba
Qualcomm AI Engine Direct - Test QNN2.37 uplevel Fix (#13927)
winskuo-quic Sep 9, 2025
823dea1
Exynos Backend for Executorch to bring up on Exynos SoC (#13677)
Jiseong-oh Sep 9, 2025
de0ff26
Jni layer use multimodal runner (#13825)
kirklandsign Sep 9, 2025
d05a793
Fix batch norm partitioning with Conv3d (#13696)
GregoryComer Sep 9, 2025
f478f2f
Remove quantized_conv and leave just per tensor variants
DrJessop Sep 9, 2025
d324799
Arm backend: Preserve output order (#13997)
wwwind Sep 9, 2025
589d3cd
Arm backend: Make ops supported check TOSA profile-aware (#14063)
YufengShi-dudu Sep 9, 2025
3db7900
Arm backend: Refactor setup.sh $PATH creation (#14083)
perheld Sep 9, 2025
b90c743
remove Numpy-2.0 incompatible use of numpy.product
nbadami123 Sep 9, 2025
bbe8943
Update module call graph for export program builder.
hsharma35 Sep 9, 2025
53b4cb9
Replace aten linalg svd with cadence version.
hsharma35 Sep 9, 2025
ea5cd4d
Merge remote-tracking branch 'origin/extract_share' into support_qwen…
neuropilot-captain Sep 9, 2025
fd52664
Update runner for weights sharing
neuropilot-captain Sep 9, 2025
3c533aa
Arm backend: Fix run_vkml_emulation_layer tests (#14107)
Erik-Lundell Sep 9, 2025
396d722
NXP backend: Add pre-processing pass to replace nodes with known outp…
MartinPavella Sep 9, 2025
59b9707
Arm backend: Align dim_order ops handling (#14064)
AdrianLundell Sep 9, 2025
245630a
forward fix for D81697327 (#14113)
pytorchbot Sep 9, 2025
397b8df
Fix missing kernel header in stack util (#14069)
jathu Sep 9, 2025
c6e52f3
Arm backend: Fix tensor_div_mode decomp for scalar input (#14114)
AdrianLundell Sep 9, 2025
14ce449
Revert for fix conflict
neuropilot-captain Sep 9, 2025
0a28404
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 9, 2025
29cec35
Arm backend: Refactor compile spec handling (#14111)
Erik-Lundell Sep 9, 2025
a427f62
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 9, 2025
018e574
Fix conflicts
neuropilot-captain Sep 9, 2025
465e65f
Arm backend: Remove _vgf_ op pytest xfails (#14116)
mansnils Sep 9, 2025
16aac24
Update default executor runner with new optional options (#14017)
mansnils Sep 9, 2025
c3e4ed9
Qualcomm AI Engine Direct - Improve GA Qwen 2.5 (#14047)
shewu-quic Sep 9, 2025
dbac09c
[EXIR] Update RemoveCloneOpsTransform to be dim order aware (#12976)
keyprocedure Sep 9, 2025
2a06efb
NXP backend: Update the pass `move_auxiliary_operator_into_separate_q…
MartinPavella Sep 9, 2025
8973eeb
Use native APIs in LLaMA demo app.
shoumikhin Sep 9, 2025
dc944fe
Add torchao checkpoint tests (#14074)
metascroy Sep 9, 2025
8496f27
Update torch pin to Sep 06, 2025 (#14129)
mergennachin Sep 9, 2025
f481c2c
Fix lint errors
neuropilot-captain Sep 10, 2025
31ac425
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 10, 2025
57173d9
Add uint8/int8 specializations for conv per tensor
DrJessop Sep 10, 2025
0b78412
Ensure we can call custom ops from torch cadence lib
DrJessop Sep 10, 2025
1487792
[ET-VK] Implement SDPA with fused ops (#14139)
pytorchbot Sep 10, 2025
fbdee8f
Arm backend: Add pass to handle int64 placeholders (#14118)
YufengShi-dudu Sep 10, 2025
a89b858
Arm backend: Fix off by one bug in print from arm_executor_runner (#1…
perheld Sep 10, 2025
d4b58c9
Arm backend: Remove unused function `build_rescale_conv_output` (#14141)
Sebastian-Larsson Sep 10, 2025
4d6209b
Expose Model Explorer's visualize_from_config (#14005)
jmahbs Sep 10, 2025
855a143
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 10, 2025
8c51641
Arm backend: Add --enable_debug_mode to AOT compiler (#14145)
tom-arm Sep 10, 2025
03333c5
NXP backend: Fix shared quantization bugs. (#13844)
MartinPavella Sep 10, 2025
4f414d7
Arm backend: Forward fix for VGF refactoring (#14152)
mergennachin Sep 10, 2025
8d1684e
Update CoreML docs (#13120)
metascroy Sep 10, 2025
e2e33c4
Qualcomm AI Engine Direct - GA Static Gemma3-1B (#14108)
DannyYuyang-quic Sep 10, 2025
c3b842f
Add torchcodec as temporary dependency (#14147)
mergennachin Sep 10, 2025
a4b0822
Downgrade min deployment target for INT8 torchao per channel quantiza…
abhinaykukkadapu Sep 10, 2025
9fa1b27
LlmModule prefill refactor (#14100)
kirklandsign Sep 10, 2025
517d7b5
Update channels last python reference to not use memory_format=channe…
DrJessop Sep 10, 2025
9b6387f
No longer need generateFromPos API (#14101)
kirklandsign Sep 10, 2025
07c6752
Forward fix Fix batch norm partitioning with Conv3d (#13696) (#14170)
mergennachin Sep 10, 2025
66639e4
Replace export_for_training with export
tugsbayasgalan Sep 10, 2025
86e61bf
[Executorch][Export/ Recipes] Modify pre_edge_transform_passes, edge_…
pytorchbot Sep 10, 2025
598ba46
[Executorch][QNN Recipes] Introduce QNN fp16 recipe (#14179) D81945971
pytorchbot Sep 10, 2025
4eae4c9
CI: disable trunk jobs on PR (#14177)
digantdesai Sep 10, 2025
5d63bad
Revert "Arm backend: Add --enable_debug_mode to AOT compiler (#14145)…
swolchok Sep 10, 2025
47acc87
Java Remove generateFromPos API (#14102)
kirklandsign Sep 10, 2025
f294074
Revert "Arm backend: Refactor compile spec handling (#14111)" (#14175)
swolchok Sep 11, 2025
de30390
Support for all quantized linear ops
DrJessop Sep 11, 2025
53b7ec5
Android Refactor generate() (#14183)
kirklandsign Sep 11, 2025
dc190f9
Revert "Update default executor runner with new optional options" (#1…
mergennachin Sep 11, 2025
56d5186
[Windows] Add CI wheel build jobs for Windows (#13837)
GregoryComer Sep 11, 2025
f09ffd3
Fix lint-url errors
neuropilot-captain Sep 11, 2025
068d341
Add qnn backend to pip packages (#13794)
cccclai Sep 11, 2025
fe9447e
Arm backend: Add 16A8W support and test for mul operation (#14196)
pytorchbot Sep 11, 2025
1d37845
[ET-VK] Misc code cleanup to recent Quantized Linear + SDPA implement…
pytorchbot Sep 11, 2025
63481e3
Support more ops and verify more models (#14106)
Jiseong-oh Sep 11, 2025
9c85266
[ET-VK][DCE] Remove redundant quantized linear implementations (#14198)
pytorchbot Sep 11, 2025
b2ae2b4
Allow zero-element tensors for shared inputs.
hsharma35 Sep 11, 2025
80fbede
Deprecate debug buffer in Module (#14199)
pytorchbot Sep 11, 2025
6ed10e5
Arm backend: Document Ethos-U memory modes and add Ethos-U porting gu…
gggekov Sep 11, 2025
a8ccdb6
Fix lint-url error
neuropilot-captain Sep 11, 2025
9e37d87
forward fix for copy_remove pass dependency (#14204)
pytorchbot Sep 11, 2025
2805a81
support etdump generation in executorch.runtime (#14205)
pytorchbot Sep 11, 2025
a7eefd0
Support BFloat16 in exir
manuelcandales Sep 11, 2025
9d2d188
Remove torchcodec from install_requirements.py (#14211)
mergennachin Sep 11, 2025
1ea9feb
Revert "Add qnn backend to pip packages (#13794)" (#14212)
swolchok Sep 11, 2025
6b9c0a6
Arm backend: Add 16A8W support and test for sigmoid operation (#14213)
pytorchbot Sep 11, 2025
add30f6
Arm backend: Add 16A8W support and test for tanh operation (#14214)
pytorchbot Sep 11, 2025
7f95941
Arm backend: Add 16A8W support and test for slice operation (#14215)
pytorchbot Sep 11, 2025
2e44184
Qualcomm AI Engine Direct - PTQ for llama3.2 1b/3b (#12700)
haowhsu-quic Sep 11, 2025
06362f3
Allow PUBLIC visibility and make it the default
swolchok Sep 11, 2025
39bdb41
Mass migrate to runtime.python_library
swolchok Sep 11, 2025
c5d9c6f
Arm backend: Add 16A8W support for view and transpose operations (#14…
pytorchbot Sep 11, 2025
fe26bfd
Arm backend: Add 16A8W support and test for cat operation (#14217)
pytorchbot Sep 11, 2025
e4b1d51
Arm backend: Add 16A8W FCNode support with BMM dependency fix (#14218)
pytorchbot Sep 11, 2025
d28f924
Add quantized fully connected ops
DrJessop Sep 11, 2025
7fbb88c
Use optimized kernels when available in top-level selective build (#1…
GregoryComer Sep 11, 2025
8a0a25b
Fix bug where source transform passes untransformed model to next sta…
abhinaykukkadapu Sep 11, 2025
3124a6b
Fix XNNPACK handling of negative permute dims (#14169)
GregoryComer Sep 11, 2025
c638851
Fix BFloat16 support for op_index
manuelcandales Sep 11, 2025
a4b7de0
Bump torchao pin and use v2 torchao tensors (#14171)
metascroy Sep 11, 2025
9af908d
Qualcomm AI Engine Direct - GA Static Smollm3 3B (#14149)
DannyYuyang-quic Sep 11, 2025
c97c2c1
All variants of quantized relu
DrJessop Sep 11, 2025
6779d15
Update selective build example + CI for top-level targets (#13741)
GregoryComer Sep 11, 2025
d4d1df7
Fix get_max_seq_len metadata method not found (#14192)
jackzhxng Sep 11, 2025
c969a4f
Add Bfloat16 support to op_convolution
manuelcandales Sep 11, 2025
ab8c244
Get tensor data
lucylq Sep 11, 2025
892e70f
Test any_dims_out with empty dim list
manuelcandales Sep 11, 2025
7f49d4f
Reapply "Update default executor runner with new optional options"
mansnils Sep 11, 2025
8358516
Arm backend: Fix bug in memory allocation
gggekov Sep 11, 2025
0e3d6d3
Add segment_data_size to extended header (#14226)
pytorchbot Sep 11, 2025
6d8583d
Migrate from cpp_python_extension to runtime.cxx_python_extension (#1…
swolchok Sep 11, 2025
0cac45b
Add GitHub Actions workflow for building CPU Aarch64 Linux wheels (#1…
chizkiyahu Sep 11, 2025
587113a
Unify and reorder replace passes.
eigen-k Sep 11, 2025
f1ca55a
[Windows] Run native unit tests in CI (#13923)
GregoryComer Sep 11, 2025
9d292a3
Remove LLaMA demo app. (#14195)
shoumikhin Sep 11, 2025
9e28fd7
Arm backend: Update backends/arm/README.md (#14206)
tom-arm Sep 11, 2025
b23f883
Revert "Migrate from cpp_python_extension to runtime.cxx_python_exten…
swolchok Sep 11, 2025
0935300
Manual merge of #14154 (#14234)
swolchok Sep 11, 2025
9decdf1
Manual merge of #14155 (#14235)
swolchok Sep 11, 2025
6bb6356
Manual merge of #14156 (#14236)
swolchok Sep 11, 2025
e207142
Manual merge of #14157 (#14237)
swolchok Sep 11, 2025
f7df6b1
Revert "Revert "Add qnn backend to pip packages (#13794)"" (#14220)
cccclai Sep 11, 2025
4f65d18
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 12, 2025
62a60d6
Compare full key value when retrieving named data
LeeOHzzZ Sep 12, 2025
36c2dd1
Support bert distilbert (#14138)
neuropilot-captain Sep 12, 2025
b63b358
[ET-VK] Enable automatic dtype conversion when copying to/from stagin…
pytorchbot Sep 12, 2025
9a9db14
flat_tensor check size
lucylq Sep 12, 2025
35c1f52
[ET-VK] Add 'half' variants to some Llama operators + enable llama vu…
pytorchbot Sep 12, 2025
f2eb38e
try fix (#14246)
cccclai Sep 12, 2025
72d50b2
Add EXECUTORCH_THREADPOOL_SIZE options, default to using only perform…
GregoryComer Sep 12, 2025
8e237e2
fix ci lint error with workaround patch
neuropilot-captain Sep 12, 2025
ddc8ce8
Merge branch 'main' into support_qwen_phi_gemma_whisper
neuropilot-captain Sep 12, 2025
97e73d2
remove large files for lint
neuropilot-captain Sep 12, 2025
66cad81
Remove large files
neuropilot-captain Sep 12, 2025
ed29c7d
Add gemma3 and phi4 run.sh
neuropilot-captain Sep 12, 2025
4a281fe
Update README
neuropilot-captain Sep 13, 2025
ac2a41c
Remove NeuronAdapter.h
neuropilot-captain Sep 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci/docker/ci_commit_pins/optimum-executorch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
36e3dd54effb3f6d13d792029609292fdd5502bb
40b02a2dc61bbf901a2df91719f47c98d65368ec
2 changes: 1 addition & 1 deletion .ci/docker/ci_commit_pins/pytorch.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6fc0ad22f0a07b6f38d138861c56a765d5a9bb02
4d4abec80f03cd8fdefe1d9cb3a60d3690cd777e
6 changes: 4 additions & 2 deletions .ci/scripts/build-qnn-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ set -o xtrace

build_qnn_backend() {
echo "Start building qnn backend."
export ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT:-/opt/ndk}
export QNN_SDK_ROOT=${QNN_SDK_ROOT:-/tmp/qnn/2.28.0.241029}
# Source QNN configuration
source "$(dirname "${BASH_SOURCE[0]}")/../../backends/qualcomm/scripts/install_qnn_sdk.sh"
setup_android_ndk
install_qnn
export EXECUTORCH_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"

parallelism=$(( $(nproc) - 1 ))
Expand Down
2 changes: 1 addition & 1 deletion .ci/scripts/setup-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set -ex

install_conda() {
pushd .ci/docker || return
${CONDA_INSTALL} -y --file conda-env-ci.txt
${CONDA_INSTALL} -c conda-forge -y --file conda-env-ci.txt
popd || return
}

Expand Down
1 change: 1 addition & 0 deletions .ci/scripts/setup-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set -exu
source "$(dirname "${BASH_SOURCE[0]}")/utils.sh"

read -r BUILD_TOOL BUILD_MODE EDITABLE < <(parse_args "$@")
echo "Build tool: $BUILD_TOOL, Mode: $BUILD_MODE"

# As Linux job is running inside a Docker container, all of its dependencies
# have already been installed, so we use PyTorch build from source here instead
Expand Down
3 changes: 2 additions & 1 deletion .ci/scripts/setup-qnn-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ set -ex
source "$(dirname "${BASH_SOURCE[0]}")/../../backends/qualcomm/scripts/install_qnn_sdk.sh"

setup_libcpp 12
install_qnn
setup_android_ndk
install_qnn
68 changes: 68 additions & 0 deletions .ci/scripts/setup-samsung-linux-deps.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# Copyright (c) Samsung Electronics Co. LTD
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

set -ex


download_ai_lite_core() {
API_BASE="https://soc-developer.semiconductor.samsung.com/api/v1/resource/ai-litecore/download"
API_KEY="kn10SoSY3hkC-9Qny5TqD2mnqVrlupv3krnjLeBt5cY"

VERSION="0.5"
OS_NAME="Ubuntu 22.04"
OUT_FILE="/tmp/exynos-ai-litecore-v${VERSION}.tar.gz"
TARGET_PATH="/tmp/exynos_ai_lite_core"

mkdir -p ${TARGET_PATH}
# Presigned issue URL
JSON_RESP=$(curl -sS -G \
--location --fail --retry 3 \
-H "apikey: ${API_KEY}" \
--data-urlencode "version=${VERSION}" \
--data-urlencode "os=${OS_NAME}" \
"${API_BASE}")

DOWNLOAD_URL=$(echo "$JSON_RESP" | sed -n 's/.*"data":[[:space:]]*"\([^"]*\)".*/\1/p')

if [[ -z "$DOWNLOAD_URL" ]]; then
echo "Failed to extract download URL"
echo "$JSON_RESP"
exit 1
fi

# Download LiteCore
curl -sS -L --fail --retry 3 \
--output "$OUT_FILE" \
"$DOWNLOAD_URL"

echo "Download done: $OUT_FILE"


tar -C "${TARGET_PATH}" --strip-components=1 -xzvf "${OUT_FILE}"

export EXYNOS_AI_LITECORE_ROOT=${TARGET_PATH}
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-}:${EXYNOS_AI_LITECORE_ROOT}/lib/x86_64-linux
}

install_enn_backend() {
NDK_INSTALLATION_DIR=/opt/ndk
rm -rf "${NDK_INSTALLATION_DIR}" && sudo mkdir -p "${NDK_INSTALLATION_DIR}"
ANDROID_NDK_VERSION=r27b

# build Exynos backend
export ANDROID_NDK_ROOT=${ANDROID_NDK_ROOT:-/opt/ndk}
bash backends/samsung/build.sh --build all
# set env variable
export EXECUTORCH_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/../.." && pwd)"
export PYTHONPATH=${PYTHONPATH:-}:${EXECUTORCH_ROOT}/..
}

AI_LITE_CORE_VERSION=0.5.0

download_ai_lite_core ${AI_LITE_CORE_VERSION}
install_enn_backend
3 changes: 2 additions & 1 deletion .ci/scripts/setup-vulkan-linux-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ install_swiftshader() {

export VK_ICD_FILENAMES="${_swiftshader_dir}/swiftshader/build/Linux/vk_swiftshader_icd.json"
export LD_LIBRARY_PATH="${_swiftshader_dir}/swiftshader/build/Linux/"
export ETVK_USING_SWIFTSHADER=1
}

install_vulkan_sdk() {
Expand All @@ -42,7 +43,7 @@ install_vulkan_sdk() {
export PATH="${PATH}:${_vulkan_sdk_dir}/${VULKAN_SDK_VERSION}/x86_64/bin/"
}

VULKAN_SDK_VERSION="1.3.296.0"
VULKAN_SDK_VERSION="1.4.321.1"

install_swiftshader
install_vulkan_sdk "${VULKAN_SDK_VERSION}"
24 changes: 24 additions & 0 deletions .ci/scripts/setup-windows.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
param (
[string]$editable = "false"
)

conda create --yes --quiet -n et python=3.12
conda activate et

# Activate the VS environment - this is required for Dynamo to work, as it uses MSVC.
# There are a bunch of environment variables that it requires.
# See https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line.
& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\Common7\Tools\Launch-VsDevShell.ps1" -Arch amd64

# Install test dependencies
pip install -r .ci/docker/requirements-ci.txt

if ($editable -eq 'true') {
install_executorch.bat --editable
} else {
install_executorch.bat
}
if ($LASTEXITCODE -ne 0) {
Write-Host "Installation was unsuccessful. Exit code: $LASTEXITCODE."
exit $LASTEXITCODE
}
55 changes: 55 additions & 0 deletions .ci/scripts/test_backend_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/usr/bin/env bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
set -eux

SUITE=$1
FLOW=$2
ARTIFACT_DIR=$3

REPORT_FILE="$ARTIFACT_DIR/test-report-$FLOW-$SUITE.csv"

echo "Running backend test job for suite $SUITE, flow $FLOW."
echo "Saving job artifacts to $ARTIFACT_DIR."

# The generic Linux job chooses to use base env, not the one setup by the image
eval "$(conda shell.bash hook)"
CONDA_ENV=$(conda env list --json | jq -r ".envs | .[-1]")
conda activate "${CONDA_ENV}"

export PYTHON_EXECUTABLE=python

# CMake options to use, in addition to the defaults.
EXTRA_BUILD_ARGS=""

if [[ "$FLOW" == *qnn* ]]; then
# Setup QNN sdk and deps - note that this is a bit hacky due to the nature of the
# Qualcomm build. TODO (gjcomer) Clean this up once the QNN pybinding integration is
# cleaned up.
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh --build-tool cmake
PYTHON_EXECUTABLE=python source .ci/scripts/build-qnn-sdk.sh
QNN_X86_LIB_DIR=`realpath build-x86/lib/`
export LD_LIBRARY_PATH"=$QNN_X86_LIB_DIR:$QNN_SDK_ROOT/lib/x86_64-linux-clang/:${LD_LIBRARY_PATH:-}"

# TODO Get SDK root from install scripts
EXTRA_BUILD_ARGS+=" -DEXECUTORCH_BUILD_QNN=ON -DQNN_SDK_ROOT=$QNN_SDK_ROOT"
fi

if [[ "$FLOW" == *vulkan* ]]; then
# Setup swiftshader and Vulkan SDK which are required to build the Vulkan delegate
source .ci/scripts/setup-vulkan-linux-deps.sh

EXTRA_BUILD_ARGS+=" -DEXECUTORCH_BUILD_VULKAN=ON"
fi

# We need the runner to test the built library.
PYTHON_EXECUTABLE=python CMAKE_ARGS="$EXTRA_BUILD_ARGS" .ci/scripts/setup-linux.sh --build-tool cmake --build-mode Release --editable true

EXIT_CODE=0
python -m executorch.backends.test.suite.runner $SUITE --flow $FLOW --report "$REPORT_FILE" || EXIT_CODE=$?

# Generate markdown summary.
python -m executorch.backends.test.suite.generate_markdown_summary "$REPORT_FILE" > ${GITHUB_STEP_SUMMARY:-"step_summary.md"} --exit-code $EXIT_CODE
30 changes: 30 additions & 0 deletions .ci/scripts/test_backend_macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/usr/bin/env bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
set -eux

SUITE=$1
FLOW=$2
ARTIFACT_DIR=$3

REPORT_FILE="$ARTIFACT_DIR/test-report-$FLOW-$SUITE.csv"

echo "Running backend test job for suite $SUITE, flow $FLOW."
echo "Saving job artifacts to $ARTIFACT_DIR."

${CONDA_RUN} --no-capture-output pip install awscli==1.37.21

bash .ci/scripts/setup-conda.sh
eval "$(conda shell.bash hook)"

PYTHON_EXECUTABLE=python
${CONDA_RUN} --no-capture-output .ci/scripts/setup-macos.sh --build-tool cmake --build-mode Release

EXIT_CODE=0
${CONDA_RUN} --no-capture-output python -m executorch.backends.test.suite.runner $SUITE --flow $FLOW --report "$REPORT_FILE" || EXIT_CODE=$?

# Generate markdown summary.
${CONDA_RUN} --no-capture-output python -m executorch.backends.test.suite.generate_markdown_summary "$REPORT_FILE" > ${GITHUB_STEP_SUMMARY:-"step_summary.md"} --exit-code $EXIT_CODE
Loading
Loading