Skip to content

Commit 5bb6186

Browse files
committed
Merge branch 'main' into remove-constrained-bs
2 parents 44973da + b0db5a0 commit 5bb6186

File tree

170 files changed

+924
-612
lines changed

Some content is hidden

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

170 files changed

+924
-612
lines changed

docker/custom-tokenizers.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN make install -j 10
1818

1919
RUN uv pip install --no-cache --upgrade 'torch' --index-url https://download.pytorch.org/whl/cpu
2020
RUN uv pip install --no-cache-dir --no-deps accelerate --extra-index-url https://download.pytorch.org/whl/cpu
21-
RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[ja,testing,sentencepiece,jieba,spacy,ftfy,rjieba]" unidic unidic-lite
21+
RUN uv pip install --no-cache-dir "git+https://github.com/huggingface/transformers.git@${REF}#egg=transformers[ja,testing,sentencepiece,spacy,ftfy,rjieba]" unidic unidic-lite
2222
# spacy is not used so not tested. Causes to failures. TODO fix later
2323
RUN uv run python -m unidic download
2424
RUN uv pip uninstall transformers

docker/transformers-all-latest-gpu/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/pef
4444

4545
# For bettertransformer
4646
RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/optimum@main#egg=optimum
47+
# For kernels
48+
RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/kernels@main#egg=kernels
4749

4850
# For video model testing
4951
RUN python3 -m pip install --no-cache-dir av

docker/transformers-gpu/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN python3 -m pip install --no-cache-dir --upgrade pip && \
1717
jupyter \
1818
tensorflow \
1919
torch
20+
RUN python3 -m pip install --no-cache-dir git+https://github.com/huggingface/kernels@main#egg=kernels
2021

2122
RUN git clone https://github.com/NVIDIA/apex
2223
RUN cd apex && \

docs/source/en/model_doc/opt.md

Lines changed: 1 addition & 1 deletion

docs/source/ko/model_doc/biogpt.md

Lines changed: 1 addition & 1 deletion

examples/flax/question-answering/run_qa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
logger = logging.getLogger(__name__)
6161

6262
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
63-
check_min_version("4.56.0.dev0")
63+
check_min_version("4.57.0.dev0")
6464

6565
Array = Any
6666
Dataset = datasets.arrow_dataset.Dataset

examples/flax/speech-recognition/run_flax_speech_recognition_seq2seq.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959

6060

6161
# Will error if the minimal version of Transformers is not installed. Remove at your own risk.
62-
check_min_version("4.56.0.dev0")
62+
check_min_version("4.57.0.dev0")
6363

6464
require_version("datasets>=2.14.0", "To fix: pip install -r examples/flax/speech-recognition/requirements.txt")
6565

examples/flax/text-classification/run_flax_glue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555

5656
logger = logging.getLogger(__name__)
5757
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
58-
check_min_version("4.56.0.dev0")
58+
check_min_version("4.57.0.dev0")
5959

6060
Array = Any
6161
Dataset = datasets.arrow_dataset.Dataset

examples/flax/token-classification/run_flax_ner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
logger = logging.getLogger(__name__)
5858
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
59-
check_min_version("4.56.0.dev0")
59+
check_min_version("4.57.0.dev0")
6060

6161
require_version("datasets>=1.8.0", "To fix: pip install -r examples/pytorch/token-classification/requirements.txt")
6262

examples/pytorch/audio-classification/run_audio_classification.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
logger = logging.getLogger(__name__)
5656

5757
# Will error if the minimal version of Transformers is not installed. Remove at your own risks.
58-
check_min_version("4.56.0.dev0")
58+
check_min_version("4.57.0.dev0")
5959

6060
require_version("datasets>=1.14.0", "To fix: pip install -r examples/pytorch/audio-classification/requirements.txt")
6161

0 commit comments

Comments
 (0)