Skip to content

Commit df895d6

Browse files
committed
Update (base update)
[ghstack-poisoned]
2 parents 1b88e6c + f4b01a8 commit df895d6

329 files changed

Lines changed: 12955 additions & 4541 deletions

File tree

Some content is hidden

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

.ci/docker/requirements-ci.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sympy>=1.13.3
66
timm==0.6.13
77
tomli==2.0.1
88
torchsr==1.0.4
9-
transformers==4.56.1
9+
transformers==5.3.0
1010
zstd==1.5.5.1
1111
pandas>=2.2.2; python_version >= '3.10'
1212
pytest==7.2.0

.ci/scripts/unittest-linux-cmake.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@ set -eux
1111
# Install from a local tosa-tools checkout when available. If absent in this
1212
# checkout layout, clone the pinned upstream tag and install from there.
1313
if ! python -c "import tosa_serializer" >/dev/null 2>&1; then
14-
TOSA_SERIALIZATION_DIR="./examples/arm/arm-scratch/tosa-tools/serialization"
15-
if [[ ! -d "${TOSA_SERIALIZATION_DIR}" ]]; then
14+
TOSA_TOOLS_DIR="./examples/arm/arm-scratch/tosa-tools"
15+
if [[ ! -d "${TOSA_TOOLS_DIR}" ]]; then
1616
TOSA_TOOLS_DIR="$(mktemp -d /tmp/tosa-tools.XXXXXX)"
17-
git clone --depth 1 --branch v2025.11.2 \
17+
git clone --depth 1 --branch v2026.05.0 \
1818
https://git.gitlab.arm.com/tosa/tosa-tools.git "${TOSA_TOOLS_DIR}"
19-
TOSA_SERIALIZATION_DIR="${TOSA_TOOLS_DIR}/serialization"
2019
fi
2120

2221
# NOTE: Will be removed when tosa-tools is installed via pypi
2322
python -m pip install pybind11==2.10.4
2423
CMAKE_POLICY_VERSION_MINIMUM=3.5 BUILD_PYBIND=1 \
2524
python -m pip install --no-dependencies \
26-
"${TOSA_SERIALIZATION_DIR}"
25+
"${TOSA_TOOLS_DIR}"
2726
python -c "import tosa_serializer"
2827
fi
2928

.claude/skills/building/SKILL.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@ conda activate executorch
2323

2424
**Path B — no conda (fall back to venv):**
2525
```bash
26-
# Find a compatible Python (3.10–3.13). On macOS with only Homebrew Python 3.14+,
27-
# install a compatible version first: brew install python@3.12
28-
python3.12 -m venv .executorch-venv # or python3.11, python3.10, python3.13
26+
# Find a compatible Python (3.10–3.14).
27+
python3.12 -m venv .executorch-venv # or python3.11, python3.10, python3.13, python3.14
2928
source .executorch-venv/bin/activate
3029
pip install --upgrade pip
3130
```
3231

3332
**Then verify (either path):**
3433

3534
Run `python --version` and `cmake --version`. Fix automatically:
36-
- **Python not 3.10–3.13**: recreate the env with a correct Python version.
35+
- **Python not 3.10–3.14**: recreate the env with a correct Python version.
3736
- **cmake missing or < 3.24**: run `pip install 'cmake>=3.24'` inside the env.
3837
- **cmake >= 4.0**: works in practice, no action needed.
3938

.github/workflows/add-unanswered-to-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
6464
// List of organization logins (lowercased) to exclude members of
6565
const excludedOrgs = new Set([
66-
"meta", "facebook", "pytorch", "arm", "apple", "qualcomm", "nxp", "mediatek", "cadence", "intel", "samsung",
66+
"meta", "facebook", "pytorch", "arm", "apple", "qualcomm", "nxp", "mediatek", "cadence", "intel", "samsung", "arm ltd.",
6767
"@meta", "@facebook", "@pytorch", "@arm", "@apple", "@qualcomm", "@nxp", "@mediatek", "@cadence", "@intel", "@samsung"
6868
]);
6969

.github/workflows/build-wheels-aarch64-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
test-infra-ref: main
3131
with-cuda: disabled
3232
with-rocm: disabled
33-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
33+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3434

3535
build:
3636
needs: generate-matrix

.github/workflows/build-wheels-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
test-infra-ref: main
3131
with-cuda: disabled
3232
with-rocm: disabled
33-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
33+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3434

3535
build:
3636
needs: generate-matrix

.github/workflows/build-wheels-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
test-infra-ref: main
3131
with-cuda: disabled
3232
with-rocm: disabled
33-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
33+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3434

3535
build:
3636
needs: generate-matrix

.github/workflows/build-wheels-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
test-infra-ref: main
3434
with-cuda: disabled
3535
with-rocm: disabled
36-
python-versions: '["3.10", "3.11", "3.12", "3.13"]'
36+
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3737

3838
build:
3939
needs: generate-matrix

.github/workflows/cuda-perf.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ jobs:
144144
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
145145
script: |
146146
set -eux
147+
148+
# OSDC mounts HF_HOME read-only at /mnt/hf_cache; redirect to a writable dir
149+
# (RUNNER_TEMP, or /tmp when RUNNER_TEMP isn't writable inside the container).
150+
export HF_HOME="${RUNNER_TEMP:-/tmp}/hf_cache"
151+
mkdir -p "${HF_HOME}" 2>/dev/null || export HF_HOME=/tmp/hf_cache
152+
mkdir -p "${HF_HOME}"
153+
147154
echo "::group::Setup ExecuTorch"
148155
# OSDC runners can't reach the public PyPI CDN that download.pytorch.org's
149156
# transitive deps resolve to. Pre-install torch's pure-python deps from the
@@ -160,8 +167,7 @@ jobs:
160167
161168
echo "::group::Setup Huggingface"
162169
pip install -U "huggingface_hub[cli]>=1.2.1,<2.0" accelerate "optimum~=2.0.0" "transformers==5.0.0rc1"
163-
HF_AUTH_TOKEN="$(printf '%s' "$SECRET_EXECUTORCH_HF_TOKEN" | tr -d '\r\n')"
164-
hf auth login --token "$HF_AUTH_TOKEN"
170+
export HF_TOKEN="$(printf '%s' "$SECRET_EXECUTORCH_HF_TOKEN" | tr -d '\r\n')"
165171
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
166172
pip install --no-deps git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
167173
echo "::endgroup::"
@@ -219,6 +225,13 @@ jobs:
219225
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
220226
script: |
221227
set -eux
228+
229+
# OSDC mounts HF_HOME read-only at /mnt/hf_cache; redirect to a writable dir
230+
# (RUNNER_TEMP, or /tmp when RUNNER_TEMP isn't writable inside the container).
231+
export HF_HOME="${RUNNER_TEMP:-/tmp}/hf_cache"
232+
mkdir -p "${HF_HOME}" 2>/dev/null || export HF_HOME=/tmp/hf_cache
233+
mkdir -p "${HF_HOME}"
234+
222235
echo "::group::Setup environment"
223236
# OSDC runners can't reach the public PyPI CDN that download.pytorch.org's
224237
# transitive deps resolve to. Pre-install torch's pure-python deps from the

.github/workflows/cuda-windows.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ jobs:
9999
script: |
100100
set -eux
101101
102+
# OSDC mounts HF_HOME read-only at /mnt/hf_cache; redirect to a writable dir
103+
# (RUNNER_TEMP, or /tmp when RUNNER_TEMP isn't writable inside the container).
104+
export HF_HOME="${RUNNER_TEMP:-/tmp}/hf_cache"
105+
mkdir -p "${HF_HOME}" 2>/dev/null || export HF_HOME=/tmp/hf_cache
106+
mkdir -p "${HF_HOME}"
107+
102108
echo "::group::Fix libstdc++ GLIBCXX version"
103109
# The executorch pybindings require GLIBCXX_3.4.30 which conda's libstdc++ doesn't have.
104110
# Replace conda's libstdc++ with the system version to fix ImportError.
@@ -126,8 +132,7 @@ jobs:
126132
if [ "${{ matrix.model_name }}" != "dinov2-small-imagenet1k-1-layer" ]; then
127133
echo "::group::Setup Huggingface"
128134
pip install -U "huggingface_hub[cli]>=1.2.1,<2.0" accelerate "optimum~=2.0.0" "transformers==5.0.0rc1"
129-
HF_AUTH_TOKEN="$(printf '%s' "$SECRET_EXECUTORCH_HF_TOKEN" | tr -d '\r\n')"
130-
hf auth login --token "$HF_AUTH_TOKEN"
135+
export HF_TOKEN="$(printf '%s' "$SECRET_EXECUTORCH_HF_TOKEN" | tr -d '\r\n')"
131136
OPTIMUM_ET_VERSION=$(cat .ci/docker/ci_commit_pins/optimum-executorch.txt)
132137
pip install --no-deps git+https://github.com/huggingface/optimum-executorch.git@${OPTIMUM_ET_VERSION}
133138
echo "::endgroup::"

0 commit comments

Comments
 (0)