Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
ModuleLinear-no-constant-segment.pte | HD | 25-Apr-2025 | 1 KiB | |||
README.md | H A D | 25-Apr-2025 | 846 | 15 | 12 | |
TARGETS | H A D | 25-Apr-2025 | 329 | 13 | 10 |
README.md
1## Deprecated Models 2 3This readme documents deprecated models that remain compatible with versions of the ExecuTorch runtime. 4 5ModuleLinear-no-constant-segment.pte 6- 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- This .pte file was generated internally using hg commit hash rFBS5e49dc0319b1d2d9969bbcef92857ab76a899c34, with command: 8 ``` 9 buck2 build fbcode//executorch/test/models:exported_programs[ModuleLinear-no-constant-segment.pte] --show-output 10 ``` 11- In OSS, the same .pte file can be generated with https://github.com/pytorch/executorch/commit/cea5abbcdded, via: 12 ``` 13 python -m test.models.export_program --modules "ModuleLinear" --outdir . 14 ``` 15