Skip to content

Commit 47ea9fa

Browse files
author
Github Executorch
committed
Update base for Update on "Remove ExecuTorch copy of Vectorized"
All uses are outside ExecuTorch core, so we can just use ATen Vectorized. Differential Revision: [D66396016](https://our.internmc.facebook.com/intern/diff/D66396016/) [ghstack-poisoned]
2 parents 3a509a5 + 9817e0a commit 47ea9fa

File tree

136 files changed

+3736
-1618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+3736
-1618
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cb4af2b4752220c3ca3de6e7e95b3a6fdc31f794
1+
0a94bb432ed75cc2d950d81b2921363218a7e459

.ci/scripts/test_eval_llama_mmlu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ run_and_verify() {
4343
--tasks mmlu \
4444
-f 5 \
4545
--max_seq_length 2048 \
46+
--max_context_length 2048 \
4647
--limit 5 > result.txt
4748

4849
# Verify result.txt

.ci/scripts/test_eval_llama_wikitext.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ run_and_verify() {
4141
-kv \
4242
-d fp32 \
4343
--max_seq_length 2048 \
44+
--max_context_length 2048 \
4445
--limit 5 > result.txt
4546

4647
# Verify result.txt

.github/workflows/apple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
id: set_version
3838
shell: bash
3939
run: |
40-
VERSION="0.4.0.$(TZ='PST8PDT' date +%Y%m%d)"
40+
VERSION="0.5.0.$(TZ='PST8PDT' date +%Y%m%d)"
4141
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
4242
4343
build-demo-ios:

.github/workflows/doc-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ jobs:
8484
needs: build
8585
if: github.repository == 'pytorch/executorch' && github.event_name == 'push' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
8686
permissions:
87+
id-token: write
8788
contents: write
88-
contents: read
8989
uses: pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
9090
with:
9191
repository: pytorch/executorch

.github/workflows/pull.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ jobs:
223223
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake"
224224
225225
# install pybind
226-
bash install_executorch.sh --pybind xnnpack
226+
bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit
227227
228228
# install Llava requirements
229229
bash examples/models/llama/install_requirements.sh
@@ -486,7 +486,7 @@ jobs:
486486
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake"
487487
488488
# install pybind
489-
bash install_executorch.sh --pybind xnnpack
489+
bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit
490490
491491
# install phi-3-mini requirements
492492
bash examples/models/phi-3-mini/install_requirements.sh
@@ -516,7 +516,7 @@ jobs:
516516
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake"
517517
518518
# install pybind
519-
bash install_executorch.sh --pybind xnnpack
519+
bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit
520520
521521
# install llama requirements
522522
bash examples/models/llama/install_requirements.sh
@@ -546,7 +546,7 @@ jobs:
546546
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake"
547547
548548
# install pybind
549-
bash install_executorch.sh --pybind xnnpack
549+
bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit
550550
551551
# install llama requirements
552552
bash examples/models/llama/install_requirements.sh
@@ -576,7 +576,7 @@ jobs:
576576
PYTHON_EXECUTABLE=python bash .ci/scripts/setup-linux.sh "cmake"
577577
578578
# install pybind
579-
bash install_executorch.sh --pybind xnnpack
579+
bash install_executorch.sh --pybind xnnpack --use-pt-pinned-commit
580580
581581
# install llama requirements
582582
bash examples/models/llama/install_requirements.sh

.github/workflows/trunk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ jobs:
150150
conda activate "${CONDA_ENV}"
151151
152152
source .ci/scripts/utils.sh
153-
install_executorch
153+
install_executorch "use-pt-pinned-commit"
154154
155155
.ci/scripts/setup-arm-baremetal-tools.sh
156156
@@ -180,7 +180,7 @@ jobs:
180180
conda activate "${CONDA_ENV}"
181181
182182
source .ci/scripts/utils.sh
183-
install_executorch
183+
install_executorch "use-pt-pinned-commit"
184184
185185
.ci/scripts/setup-arm-baremetal-tools.sh
186186

.lintrunner.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
merge_base_with = "origin/main"
1+
merge_base_with = "main"
22

33
[[linter]]
44
code = 'FLAKE8'

CONTRIBUTING.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,38 @@ Meta has a [bounty program](https://www.facebook.com/whitehat/) for the safe
4444
disclosure of security bugs. In those cases, please go through the process
4545
outlined on that page and do not file a public issue.
4646

47+
### Issue Labels
48+
49+
#### Module/Partner Labels
50+
51+
[Labels beginning with `module:`](https://github.com/pytorch/executorch/labels?q=%22module%3A+%22)
52+
indicate the area that the issue relates to. The ExecuTorch oncall will
53+
typically add this label.
54+
55+
[Labels beginning with `partner:`](https://github.com/pytorch/executorch/labels?q=%22partner%3A+%22)
56+
indicate the ExecuTorch partner who owns the issue. The ExecuTorch oncall will
57+
typically add this label.
58+
59+
#### Lifecycle Labels
60+
61+
The ExecuTorch oncall will triage new issues. If the issue requires more
62+
information from the issue's author, oncall will add the `need-user-input` label
63+
and wait for the author to respond.
64+
65+
Once the issue contains enough information, the oncall will:
66+
- Ensure that the title is descriptive
67+
- Add one of the labels:
68+
- `bug`: The issue describes an unexpected problem
69+
- `feature`: The issue describes a request for new functionality
70+
- `rfc`: The issue describes a proposed change to functionality
71+
- Add one `module:` label or one `partner:` label, as described above
72+
- Add the `triaged` label
73+
74+
After this point, the oncall has finished the triage process, and the
75+
module owner or partner is responsible for resolving the issue. (See
76+
https://github.com/pytorch/executorch/issues/7679 for the mapping of labels to
77+
owners.)
78+
4779
### Claiming Issues
4880
We'd love your help closing out [open
4981
issues](https://github.com/pytorch/executorch/issues?q=sort%3Aupdated-desc+is%3Aissue+is%3Aopen)

README-wheel.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ standard on-device iOS and Android mobile deployments. One of the main goals for
44
ExecuTorch is to enable wider customization and deployment capabilities of the
55
PyTorch programs.
66

7-
The `executorch` pip package is in alpha.
8-
* Supported python versions: 3.10, 3.11
7+
The `executorch` pip package is in beta.
8+
* Supported python versions: 3.10, 3.11, 3.12
99
* Compatible systems: Linux x86_64, macOS aarch64
1010

11-
The prebuilt `executorch.extension.pybindings.portable_lib` module included in
12-
this package provides a way to run ExecuTorch `.pte` files, with some
13-
restrictions:
11+
The prebuilt `executorch.runtime` module included in this package provides a way
12+
to run ExecuTorch `.pte` files, with some restrictions:
1413
* Only [core ATen
1514
operators](https://pytorch.org/executorch/stable/ir-ops-set-definition.html)
1615
are linked into the prebuilt module
1716
* Only the [XNNPACK backend
1817
delegate](https://pytorch.org/executorch/main/native-delegates-executorch-xnnpack-delegate.html)
19-
is linked into the prebuilt module
20-
* [macOS only] [Core ML](https://pytorch.org/executorch/main/build-run-coreml.html) and [MPS](https://pytorch.org/executorch/main/build-run-mps.html) backend delegates are linked into the prebuilt module.
18+
is linked into the prebuilt module.
19+
* \[macOS only] [Core ML](https://pytorch.org/executorch/main/build-run-coreml.html)
20+
and [MPS](https://pytorch.org/executorch/main/build-run-mps.html) backend
21+
delegates are also linked into the prebuilt module.
2122

2223
Please visit the [ExecuTorch website](https://pytorch.org/executorch/) for
2324
tutorials and documentation. Here are some starting points:

0 commit comments

Comments
 (0)