Skip to content

Commit 93d2c4d

Browse files
authored
Merge branch 'main' into remove-attributes-from-processors
2 parents 53de7a4 + 080d704 commit 93d2c4d

File tree

620 files changed

+12575
-15859
lines changed

Some content is hidden

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

620 files changed

+12575
-15859
lines changed

conftest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
"test_model_get_set_embeddings",
5959
"test_model_main_input_name",
6060
"test_correct_missing_keys",
61-
"test_tie_model_weights",
6261
"test_can_use_safetensors",
6362
"test_load_save_without_tied_weights",
6463
"test_tied_weights_keys",

docker/examples-torch.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git-lfs ffmpeg curl
66
ENV UV_PYTHON=/usr/local/bin/python
77
RUN pip --no-cache-dir install uv && uv pip install --no-cache-dir -U pip setuptools
8-
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec' --index-url https://download.pytorch.org/whl/cpu
8+
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec<0.8' --index-url https://download.pytorch.org/whl/cpu
99
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
1010
RUN uv pip install --no-cache-dir librosa "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,sentencepiece,vision,testing]" seqeval albumentations jiwer
1111

docker/pipeline-torch.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git pkg-config openssh-client git ffmpeg curl
66
ENV UV_PYTHON=/usr/local/bin/python
77
RUN pip --no-cache-dir install uv && uv pip install --no-cache-dir -U pip setuptools
8-
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec' --index-url https://download.pytorch.org/whl/cpu
8+
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec<0.8' --index-url https://download.pytorch.org/whl/cpu
99
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
1010
RUN uv pip install --no-cache-dir librosa "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,sentencepiece,vision,testing]"
1111

docker/torch-light.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ USER root
55
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1-dev espeak-ng time git g++ cmake pkg-config openssh-client git-lfs ffmpeg curl
66
ENV UV_PYTHON=/usr/local/bin/python
77
RUN pip --no-cache-dir install uv && uv pip install --no-cache-dir -U pip setuptools
8-
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec' --index-url https://download.pytorch.org/whl/cpu
8+
RUN uv pip install --no-cache-dir 'torch<2.9' 'torchaudio' 'torchvision' 'torchcodec<0.8' --index-url https://download.pytorch.org/whl/cpu
99
RUN uv pip install --no-deps timm accelerate --extra-index-url https://download.pytorch.org/whl/cpu
1010
RUN uv pip install --no-cache-dir librosa "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[sklearn,sentencepiece,vision,testing,tiktoken,num2words,video]"
1111

docs/source/ar/_toctree.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@
123123
title: تشغيل التدريب على Amazon SageMaker
124124
- local: serialization
125125
title: التصدير إلى ONNX
126-
- local: torchscript
127-
title: التصدير إلى TorchScript
128126
- local: notebooks
129127
title: دفاتر الملاحظات مع الأمثلة
130128
- local: community

docs/source/ar/torchscript.md

Lines changed: 0 additions & 154 deletions
This file was deleted.

docs/source/en/_toctree.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@
227227
title: ONNX
228228
- local: executorch
229229
title: ExecuTorch
230-
- local: torchscript
231-
title: TorchScript
232230
title: Export to production
233231
- isExpanded: false
234232
sections:
@@ -1255,6 +1253,8 @@
12551253
title: Importing Utilities
12561254
- local: internal/time_series_utils
12571255
title: Utilities for Time Series
1256+
- local: internal/rope_utils
1257+
title: Rotary Embeddings Utilities
12581258
title: Internal helpers
12591259
- sections:
12601260
- local: reference/environment_variables

docs/source/en/executorch.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ optimum-cli export executorch \
2929
--qembedding 8w \
3030
--output_dir="hf_smollm2"
3131
```
32+
3233
Run `optimum-cli export executorch --help` to see all export options. For detailed export instructions, check the [README](optimum/exporters/executorch/README.md).

docs/source/en/hpo_train.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def model_init(trial):
3737
config=config,
3838
cache_dir=model_args.cache_dir,
3939
revision=model_args.model_revision,
40-
token=True if model_args.use_auth_token else None,
4140
)
4241
```
4342

docs/source/en/internal/model_debugging_utils.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ df.sort_values(by=['skipped_proportion'], ascending=False)
320320
You can focus on a specific test method using `--test_method_name`:
321321

322322
```bash
323-
$ python utils/scan_skipped_tests.py --test_method_name test_inputs_embeds --output_dir path/to/output
323+
python utils/scan_skipped_tests.py --test_method_name test_inputs_embeds --output_dir path/to/output
324324
```
325325

326326
- `--test_method_name`: Name of the test method to scan (e.g., `test_inputs_embeds`).

0 commit comments

Comments
 (0)