Skip to content

Commit

Permalink
Update readme to include OSS references (#5433)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #5433

^

Reviewed By: dvorjackz

Differential Revision: D62887806

fbshipit-source-id: 756b0ba47873fa861e67ea992ec3f9998ebcfd69
  • Loading branch information
lucylq authored and facebook-github-bot committed Sep 17, 2024
1 parent 8f7d9d5 commit 2e1043b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion extension/module/test/resources/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## Resources

### model.pte
- generated via `buck2 run fbcode//executorch/examples/portable/scripts:export -- --model_name="add"` after D62209852.
- Internally generated after D62209852, 2024-09-06 with:
```
buck2 run fbcode//executorch/examples/portable/scripts:export -- --model_name="add"
```
- In OSS, the same file can be generated after [#5145](https://github.com/pytorch/executorch/pull/5145), 2024-09-06 with:
```
python -m examples.portable.scripts.export --model_name="add"
```
2 changes: 1 addition & 1 deletion test/models/deprecated/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This readme documents deprecated models that remain compatible with versions of the ExecuTorch runtime.

ModuleLinear-no-constant-segment.pte
- This file contains constants stored in the constant_buffer, which was deprecated in D61996249 on 2024-09-05. Now, constants are stored in a separate segment.
- 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.
- This .pte file was generated internally using hg commit hash rFBS5e49dc0319b1d2d9969bbcef92857ab76a899c34, with command:
```
buck2 build fbcode//executorch/test/models:exported_programs[ModuleLinear-no-constant-segment.pte] --show-output
Expand Down

0 comments on commit 2e1043b

Please sign in to comment.