1*523fa7a6SAndroid Build Coastguard Worker## Deprecated Models 2*523fa7a6SAndroid Build Coastguard Worker 3*523fa7a6SAndroid Build Coastguard WorkerThis readme documents deprecated models that remain compatible with versions of the ExecuTorch runtime. 4*523fa7a6SAndroid Build Coastguard Worker 5*523fa7a6SAndroid Build Coastguard WorkerModuleLinear-no-constant-segment.pte 6*523fa7a6SAndroid Build Coastguard Worker- This file contains constants stored in the constant_buffer, which was deprecated in D61996249, [#5096](https://github.com/pytorch/executorch/pull/5096) on 2024-09-06. Now, constants are stored in a separate segment. 7*523fa7a6SAndroid Build Coastguard Worker- This .pte file was generated internally using hg commit hash rFBS5e49dc0319b1d2d9969bbcef92857ab76a899c34, with command: 8*523fa7a6SAndroid Build Coastguard Worker ``` 9*523fa7a6SAndroid Build Coastguard Worker buck2 build fbcode//executorch/test/models:exported_programs[ModuleLinear-no-constant-segment.pte] --show-output 10*523fa7a6SAndroid Build Coastguard Worker ``` 11*523fa7a6SAndroid Build Coastguard Worker- In OSS, the same .pte file can be generated with https://github.com/pytorch/executorch/commit/cea5abbcdded, via: 12*523fa7a6SAndroid Build Coastguard Worker ``` 13*523fa7a6SAndroid Build Coastguard Worker python -m test.models.export_program --modules "ModuleLinear" --outdir . 14*523fa7a6SAndroid Build Coastguard Worker ``` 15