Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2078 commits
Select commit Hold shift + click to select a range
c90e14f
Fix beam search to sample at least 1 non eos token (#25103) (#25115)
yonigottesman Jul 28, 2023
03f98f9
[MusicGen] Fix integration tests (#25169)
sanchit-gandhi Jul 28, 2023
05cda5d
🚨🚨🚨 Fix rescale ViVit Efficientnet (#25174)
amyeroberts Jul 28, 2023
4a56449
Musicgen: CFG is manually added (#25173)
gante Jul 31, 2023
67b85f2
Better error message in `_prepare_output_docstrings` (#25202)
ydshieh Jul 31, 2023
59dcea3
[`PreTrainedModel`] Wrap `cuda` and `to` method correctly (#25206)
younesbelkada Jul 31, 2023
9ca3aa0
Fix `all_model_classes` in `FlaxBloomGenerationTest` (#25211)
ydshieh Jul 31, 2023
5220606
[quantization.md] fix (#25190)
stas00 Jul 31, 2023
e0c50b2
[`pipeline`] revisit device check for pipeline (#25207)
younesbelkada Jul 31, 2023
1b4f619
Update tiny model info. and pipeline testing (#25213)
ydshieh Jul 31, 2023
0fd8d2a
Fix docker image build failure (#25214)
ydshieh Jul 31, 2023
4033ea7
make build_mpt_alibi_tensor a method of MptModel so that deepspeed co…
sywangyi Aug 1, 2023
77c3973
[`Pix2Struct`] Fix pix2struct cross attention (#25200)
younesbelkada Aug 1, 2023
972fdcc
[`Docs`/`quantization`] Clearer explanation on how things works under…
younesbelkada Aug 1, 2023
05ebb02
[`MPT`] Add `require_bitsandbytes` on MPT integration tests (#25201)
younesbelkada Aug 1, 2023
3170af7
[`Detr`] Fix detr BatchNorm replacement issue (#25230)
younesbelkada Aug 1, 2023
d27e4c1
Move rescale dtype recasting to match torchvision ToTensor (#25229)
amyeroberts Aug 1, 2023
f6f567d
Fix set of model parallel in the Trainer when no GPUs are available (…
sgugger Aug 2, 2023
2230d14
fix get_keys_to_not_convert() to return correct modules for full prec…
ranchlai Aug 2, 2023
c6a8768
add pathname and line number to logging formatter in debug mode (#25203)
ranchlai Aug 2, 2023
149cb0c
Add `token` arugment in example scripts (#25172)
ydshieh Aug 2, 2023
904e7e0
resolving zero3 init when using accelerate config with Trainer (#25227)
pacman100 Aug 2, 2023
1b35409
Update rescale tests - cast to float after rescaling to reflect #2522…
amyeroberts Aug 2, 2023
8021c68
Fix some bugs for two stage training of deformable detr (#25045)
jypjypjypjyp Aug 2, 2023
eec0d84
[DOCS] Add example and modified docs of EtaLogitsWarper (#25125)
agno-nymous Aug 2, 2023
1baeed5
Fix return_dict_in_generate bug in InstructBlip generate function (#2…
euanong Aug 2, 2023
8edd0da
Remove `pytest_options={"rA": None}` in CI (#25263)
ydshieh Aug 2, 2023
bef02fd
🌐 [i18n-KO] Translated `perf_infer_gpu_many.md` to Korean (#24943)
heuristicwave Aug 2, 2023
ad83215
recommend DeepSpeed's Argument Parsing documentation (#25268)
BurnzZ Aug 2, 2023
b28ebb2
[MMS] Fix mms (#25267)
patrickvonplaten Aug 2, 2023
bd90cda
CI with `num_hidden_layers=2` 🚀🚀🚀 (#25266)
ydshieh Aug 2, 2023
2bd7a27
CI with `pytest_num_workers=8` for torch/tf jobs (#25274)
ydshieh Aug 2, 2023
15082a9
Docs: Update list of `report_to` logging integrations in docstring (#…
tomaarsen Aug 3, 2023
30409af
Update InstructBLIP & Align values after rescale update (#25209)
amyeroberts Aug 3, 2023
a881737
Docs: separate generate section (#25235)
gante Aug 3, 2023
8455346
Update bark doc (#25234)
ylacombe Aug 3, 2023
6d3f9c1
add generate method to SpeechT5ForTextToSpeech (#25233)
ylacombe Aug 3, 2023
d114a6b
Add timeout parameter to load_image function (#25184)
rolisz Aug 3, 2023
66c240f
[JAX] Bump min version (#25286)
sanchit-gandhi Aug 3, 2023
33da2db
[small] llama2.md typo (#25295)
H-Huang Aug 3, 2023
641adca
Fix typo: Roberta -> RoBERTa (#25302)
MrGeislinger Aug 3, 2023
6768309
Move usage of deprecated logging.warn to logging.warning (#25310)
PeterJCLaw Aug 4, 2023
fab1a0a
Give more memory in test_disk_offload (#25315)
sgugger Aug 4, 2023
bff4313
Generate: get generation mode as an enum (#25292)
gante Aug 4, 2023
aeb5a08
Add offline mode for agents (#25226)
sgugger Aug 4, 2023
29f0400
Deal with nested configs better in base class (#25237)
sgugger Aug 4, 2023
f0fd73a
Document check copies (#25291)
sgugger Aug 4, 2023
ce6d153
Make `bark` could have tiny model (#25290)
ydshieh Aug 4, 2023
fdaef33
Document toc check and doctest check scripts (#25319)
sgugger Aug 4, 2023
fdd81ae
[Whisper] Better error message for outdated generation config (#25298)
sanchit-gandhi Aug 4, 2023
a6e6b1c
Remove jnp.DeviceArray since it is deprecated. (#24875)
mariecwhite Aug 4, 2023
d533465
add CFG for .generate() (#24654)
Vermeille Aug 6, 2023
b9da44b
🌐 [i18n-KO] Translated `perf_infer_gpu_one.md` to Korean (#24978)
eenzeenee Aug 7, 2023
b0f2303
Update TF pin in docker image (#25343)
ydshieh Aug 7, 2023
d6bfba7
Generalize CFG to allow for positive prompts (#25339)
oobabooga Aug 7, 2023
65001cb
Loosen output shape restrictions on GPT-style models (#25188)
calpt Aug 7, 2023
1451093
Allow `trust_remote_code` in example scripts (#25248)
Jackmin801 Aug 7, 2023
7d65697
Generate: remove Marian hack (#25294)
gante Aug 7, 2023
c177606
Fix more offload edge cases (#25342)
ydshieh Aug 7, 2023
baf1daa
Migrate Trainer from `Repository` to `upload_folder` (#25095)
sgugger Aug 7, 2023
5fe3697
Adding more information in help parser on train_file and validation_f…
pphuc25 Aug 7, 2023
676247f
[DOCS] Add `NoRepeatNGramLogitsProcessor` Example for `LogitsProcesso…
Rishab26 Aug 7, 2023
5ee9693
Docs: Added benchmarks for `torch.compile()` for vision models (#24748)
merveenoyan Aug 7, 2023
080a971
Add mask2former fp16 support (#25093)
pedrohml Aug 7, 2023
a23ac36
[DOCS] Add descriptive docstring to MinNewTokensLength (#25196)
nablabits Aug 8, 2023
d4bd33c
Register ModelOutput subclasses as supported torch.utils._pytree node…
Aug 8, 2023
6ea3ee3
Fix `test_model_parallelism` (#25359)
ydshieh Aug 8, 2023
5ea2595
Add warning for missing attention mask when pad tokens are detected (…
hackyon Aug 8, 2023
dedd111
[ASR Pipeline] Clarify return timestamps (#25344)
sanchit-gandhi Aug 8, 2023
36d5b8b
MaskFormer, Mask2Former - replace einsum for tracing (#25297)
amyeroberts Aug 8, 2023
01ab39b
Load state in else (#25318)
muellerzr Aug 8, 2023
5744482
Fix `token` in example template (#25351)
ydshieh Aug 8, 2023
26ce4dd
Enable tests to run on third-party devcies (#25327)
ji-huazhong Aug 8, 2023
6247d1b
🌐 [i18n-KO] Translated `add_tensorflow_model.md` to Korean (#25017)
keonju2 Aug 8, 2023
9e57e0c
Fix `torch_job` worker(s) crashing (#25374)
ydshieh Aug 8, 2023
5bd8c01
Generate: add config-level validation (#25381)
gante Aug 8, 2023
9c7b744
Fix missing usage of `token` (#25382)
ydshieh Aug 8, 2023
5b517e1
Use small config for `OneFormerModelTest.test_model_with_labels` (#25…
ydshieh Aug 8, 2023
e349010
Add copied from for image processor methods (#25121)
amyeroberts Aug 8, 2023
3a05e01
change version (#25387)
SunMarc Aug 8, 2023
41c5f45
[DOCS] Add example for `TopPLogitsWarper` (#25361)
chiral-carbon Aug 8, 2023
1367142
🌐 [i18n-KO] Translated `perf_train_cpu_many.md` to Korean (#24923)
nuatmochoi Aug 9, 2023
1564a81
16059 - Add missing type hints for ASTModel (#25364)
nablabits Aug 9, 2023
85447bb
rm useless condition since the previous condition contains it. (#25403)
jiqing-feng Aug 9, 2023
5993771
Fix path for dynamic module creation (#25402)
sgugger Aug 9, 2023
ea5dda2
YOLOS - Revert default return_pixel_mask value (#25404)
amyeroberts Aug 9, 2023
d59b872
Docs: introduction to generation with LLMs (#25240)
gante Aug 9, 2023
3deed1f
Generate: length validation (#25384)
gante Aug 9, 2023
00b93cd
Improve training args (#25401)
ji-huazhong Aug 9, 2023
f456b4d
Generate: generation config validation fixes in docs (#25405)
gante Aug 9, 2023
ef74da6
16059 - Add extra type hints for AltCLIPModel (#25399)
nablabits Aug 9, 2023
eb3ded1
Generate: lower severity of parameterization checks (#25407)
gante Aug 9, 2023
f2a43c7
VQA task guide (#25244)
MKhalusova Aug 9, 2023
133aac0
🌐 [i18n-KO] Translated `add_new_model.md` to Korean (#24957)
mjk0618 Aug 9, 2023
cf84738
🌐 [i18n-KO] Translated `model_summary.md` to Korean (#24625)
hyeonseo2 Aug 9, 2023
704bf59
Update Bark generation configs and tests (#25409)
ylacombe Aug 9, 2023
cb3c821
aligned sample_beam output selection with beam_search (#25375)
hukuda222 Aug 9, 2023
944ddce
Enable passing number of channels when inferring data format (#25412)
amyeroberts Aug 9, 2023
d0c1aeb
Bark: flexible generation config overload (#25414)
gante Aug 9, 2023
b175fc3
[DINOv2] Update pooler output (#25392)
NielsRogge Aug 10, 2023
b14d464
🌐 [i18n-KO] Translated `philosophy.md` to Korean (#25010)
TaeYupNoh Aug 10, 2023
16edf4d
Doc checks (#25408)
sgugger Aug 10, 2023
123ad53
Generation: strict generation config validation at save time (#25411)
gante Aug 10, 2023
d0839f1
[WavLM] Fix Arxiv link and authors (#25415)
sanchit-gandhi Aug 10, 2023
3e41cf1
Generate: Load generation config when `device_map` is passed (#25413)
gante Aug 10, 2023
e7b001d
Fix rendering for `torch.compile()` docs (#25432)
merveenoyan Aug 10, 2023
2d6839e
Add `examples` to tests to run when `setup.py` is modified (#25437)
ydshieh Aug 10, 2023
a7da299
Fix issue with ratio evaluation steps and auto find batch size (#25436)
muellerzr Aug 10, 2023
3470012
docs: add LLaMA-Efficient-Tuning to awesome-transformers (#25441)
ji-huazhong Aug 10, 2023
55db70c
GPTQ integration (#25062)
SunMarc Aug 10, 2023
454957c
Fix for #25437 (#25454)
ydshieh Aug 11, 2023
41d56ea
Refactor image processor testers (#25450)
amyeroberts Aug 11, 2023
4692d26
Switch Transformers: remove overwritten beam sample test (#25458)
gante Aug 11, 2023
1d75768
Reuse the cache created for latest `main` on PRs/branches if `setup.p…
ydshieh Aug 11, 2023
0acf562
Update run_translation.py broken link example Pytoch (#25461)
SoyGema Aug 11, 2023
11757e2
Add input_data_format argument, image transforms (#25462)
amyeroberts Aug 11, 2023
5e5fa0d
Mark flaky tests (#25463)
amyeroberts Aug 11, 2023
fe3c8ab
Revert "Reuse the cache created for latest `main` on PRs/branches" (#…
ydshieh Aug 11, 2023
892f9ea
import required torch and numpy libraries (#25483)
erfan-zekri Aug 13, 2023
2b22cde
Bump gitpython from 3.1.30 to 3.1.32 in /examples/research_projects/d…
dependabot[bot] Aug 13, 2023
0ebe7ae
Bump gitpython from 3.1.30 to 3.1.32 in /examples/research_projects/d…
dependabot[bot] Aug 13, 2023
e97deca
fix : escape key of start_token from special characters before search…
nour-elkamel Aug 14, 2023
b1b0fc4
Remove logging code in TF Longformer that fails to compile (#25496)
Rocketknight1 Aug 14, 2023
87c9d8a
Add type hints to Blip2QFormer, BigBirdForQA and ConditionalDetr fam…
nablabits Aug 14, 2023
ee7d669
Set can_generate for SpeechT5ForTextToSpeech (#25493)
ylacombe Aug 14, 2023
80f29a2
MaskFormer post_process_instance_segmentation bug fix convert out sid…
amyeroberts Aug 14, 2023
06a1d75
fix gptq nits (#25500)
SunMarc Aug 14, 2023
c412919
🚨🚨🚨 Remove softmax for EfficientNetForImageClassification 🚨🚨🚨 (#25501)
amyeroberts Aug 14, 2023
b42010b
Conditional DETR type hint fix (#25505)
Rocketknight1 Aug 14, 2023
df91ff5
Check for case where `auxiliary_head` is `None` in `UperNetPreTrained…
mmurray Aug 15, 2023
2552b8c
Bump tornado from 6.3.2 to 6.3.3 in /examples/research_projects/visua…
dependabot[bot] Aug 15, 2023
7a94ea4
Bump tornado from 6.3.2 to 6.3.3 in /examples/research_projects/lxmer…
dependabot[bot] Aug 15, 2023
f11518a
add __repr__ to the BitsAndBytesConfig class (#25517)
ranchlai Aug 15, 2023
ca51499
Make training args fully immutable (#25435)
muellerzr Aug 15, 2023
eec5841
Use dynamic past key-values shape in TF-Whisper (#25523)
Rocketknight1 Aug 15, 2023
c385de2
[TYPO] fix typo/format in quicktour.md (#25519)
lishukan Aug 16, 2023
5ccf343
Fix nested configs of Jukebox (#25533)
sgugger Aug 16, 2023
0b56829
Marian: post-hack-fix correction (#25459)
gante Aug 16, 2023
e13d5b6
Document the test fetcher (#25521)
sgugger Aug 16, 2023
3f9cb33
Generate: fix default max length warning (#25539)
gante Aug 16, 2023
0ed23e4
fix vit hybrid test (#25543)
SunMarc Aug 16, 2023
f61f072
Fix `MaskFormerModelIntegrationTest` OOM (#25544)
ydshieh Aug 16, 2023
a6609ca
More frozen args (#25540)
muellerzr Aug 16, 2023
6bca43b
Input data format (#25464)
amyeroberts Aug 16, 2023
36f183e
[ASR Pipeline] Fix init with timestamps (#25438)
sanchit-gandhi Aug 16, 2023
2defb6b
More utils doc (#25457)
sgugger Aug 17, 2023
db816c6
[i18n-KO] Translated docs: ko: pr_checks.md to Korean (#24987)
sronger Aug 17, 2023
d1832dd
Update trainer.py (#25553)
yundai424 Aug 17, 2023
297a6a7
Add documentation to dynamic module utils (#25534)
sgugger Aug 17, 2023
ec25306
Fix MPT CI (#25548)
ydshieh Aug 17, 2023
8fd6561
Fix `torch.fx` tests on nightly CI (#25549)
ydshieh Aug 17, 2023
c8346cb
🚨🚨🚨 Vivit update default rescale_factor value (#25547)
amyeroberts Aug 17, 2023
e50c925
YOLOS - reset default return_pixel_mask value (#25559)
amyeroberts Aug 17, 2023
8992589
Skip `test_onnx_runtime_optimize` for now (#25560)
ydshieh Aug 17, 2023
e7e9261
[`Docs`] Fix un-rendered images (#25561)
younesbelkada Aug 17, 2023
1791ef8
Adds `TRANSFORMERS_TEST_DEVICE` (#25506)
vvvm23 Aug 17, 2023
d2871b2
Skip `test_beam_search_xla_generate_simple` for `T5` (#25566)
ydshieh Aug 17, 2023
d6bf08f
[`resize_embedding`] Introduce `pad_to_multiple_of` and guidance (#25…
ArthurZucker Aug 17, 2023
5347d00
[`SwitchTransformers`] Remove unused module (#25427)
ArthurZucker Aug 17, 2023
b4d5548
🚨🚨🚨 [`SPM`] Finish fix spm models 🚨🚨🚨 (#25224)
ArthurZucker Aug 17, 2023
9264fc9
Inconsistency in PreTrainedModel.resize_token_embeddings When ZeRO3 I…
sinamoeini Aug 17, 2023
181d778
[`NllbMoe`] Update code to properly support loss computation (#25429)
ArthurZucker Aug 17, 2023
d4c0aa1
[`Tests`] Fix failing 8bit test (#25564)
younesbelkada Aug 17, 2023
4e1dee0
Revert "change version (#25387)" (#25573)
SunMarc Aug 17, 2023
c4c0cef
add util for ram efficient loading of model when using fsdp (#25107)
pacman100 Aug 17, 2023
b8f69d0
Add Text-To-Speech pipeline (#24952)
ylacombe Aug 17, 2023
427adc8
Skip `test_contrastive_generate` for `TFXLNet` (#25574)
ydshieh Aug 17, 2023
4a27c13
add warning for 8bit optimizers (#25575)
SunMarc Aug 17, 2023
659ab04
Fix typo in example code (#25583)
ameliereymond Aug 18, 2023
08e3251
Suggestions on Pipeline_webserver (#25570)
kihoon71 Aug 18, 2023
940d1a7
[`Docs` / `BetterTransformer` ] Added more details about flash attent…
younesbelkada Aug 18, 2023
c45aab7
Added missing parenthesis in call to is_fsdp_enabled (#25585)
marma Aug 18, 2023
9d7afd2
Replaces calls to `.cuda` with `.to(torch_device)` in tests (#25571)
vvvm23 Aug 18, 2023
30b3c46
[`split_special_tokens`] Add support for `split_special_tokens` argum…
ArthurZucker Aug 18, 2023
bc3e20d
[`Llama`] remove prompt and fix prefix finetuning (#25565)
ArthurZucker Aug 18, 2023
8d2f953
[Time series Informer] fix dtype of cumsum (#25431)
kashif Aug 18, 2023
636acc7
fix z3 init when using accelerate launcher (#25589)
pacman100 Aug 18, 2023
ef15342
[`TokenizerFast`] Fix setting prefix space in __init__ (#25563)
ArthurZucker Aug 18, 2023
faed2ca
[`PEFT`] Peft integration alternative design (#25077)
younesbelkada Aug 18, 2023
6f4424b
Make TTS automodels importable (#25595)
osanseviero Aug 18, 2023
4d64157
🌐 [i18n-KO] Translated `perf_train_tpu_tf.md` to Korean (#25433)
hyeonseo2 Aug 18, 2023
6c811a3
new model: IDEFICS via HuggingFaceM4 (#24796)
stas00 Aug 18, 2023
6b82d93
reattach hooks when using `resize_token_embeddings` (#25596)
SunMarc Aug 18, 2023
1982dd3
Hotfix
ydshieh Aug 19, 2023
f92cc70
Ignore all exceptions from signal in dynamic code (#25623)
sgugger Aug 21, 2023
9627c3d
Fix PEFT integration failures on nightly CI (#25624)
younesbelkada Aug 21, 2023
f09db47
Run doctest for new files (#25588)
ydshieh Aug 21, 2023
2f8acfe
Fix test_modeling_mpt typo in model id (#25606)
JuanFKurucz Aug 21, 2023
5c67682
v4.33.0.dev0
sgugger Aug 21, 2023
e769ca3
Added paper links in logitprocess.py (#25482)
pranith7 Aug 21, 2023
2c1bcbf
correct TTS pipeline docstrings snippet (#25587)
ylacombe Aug 21, 2023
2582bbd
fix ACT_FN (#25627)
ArthurZucker Aug 21, 2023
2df2422
Skip doctest for some recent files (#25631)
ydshieh Aug 21, 2023
8608bf2
🚨🚨🚨 changing default threshold and applying threshold before the resc…
rafaelpadilla Aug 21, 2023
6f041fc
fix documentation for CustomTrainer (#25635)
minhtriet Aug 21, 2023
450a181
Add Pop2Piano (#21785)
susnato Aug 21, 2023
58c36be
Support specifying revision in push_to_hub (#25578)
jmif Aug 22, 2023
182b837
Add Number Normalisation for SpeechT5 (#25447)
tanaymeh Aug 22, 2023
6a314ea
[DOCS] MusicGen Docs Update (#25510)
xNul Aug 22, 2023
88e51ba
[MINOR:TYPO] (#25646)
cakiki Aug 22, 2023
edb2872
Pass the proper token to PEFT integration in auto classes (#25649)
sgugger Aug 22, 2023
3629190
Put IDEFICS in the right section of the doc (#25650)
sgugger Aug 22, 2023
62396cf
TF 2.14 compatibility (#25630)
Rocketknight1 Aug 22, 2023
e20fab0
Fix bloom add prefix space (#25652)
ArthurZucker Aug 22, 2023
fd56f7f
removing unnecesssary extra parameter (#25643)
rafaelpadilla Aug 22, 2023
5eeaef9
Adds `TRANSFORMERS_TEST_BACKEND` (#25655)
vvvm23 Aug 22, 2023
908f853
stringify config (#25637)
AleksanderWWW Aug 22, 2023
977b2f0
Add input_embeds functionality to gpt_neo Causal LM (#25659)
gaasher Aug 22, 2023
40a0cab
Update doc toctree (#25661)
ydshieh Aug 22, 2023
5794363
Add Llama2 resources (#25531)
wonhyeongseo Aug 23, 2023
51794bf
[`SPM`] Patch `spm` Llama and T5 (#25656)
ArthurZucker Aug 23, 2023
db58722
[`GPTNeo`] Add input_embeds functionality to gpt_neo Causal LM (#25…
ArthurZucker Aug 23, 2023
3d1edb6
fix wrong path in some doc (#25658)
ydshieh Aug 23, 2023
b413e06
Remove `utils/documentation_tests.txt` (#25680)
ydshieh Aug 23, 2023
2cf87e2
Prevent Dynamo graph fragmentation in GPTNeoX with torch.baddbmm fix …
norabelrose Aug 23, 2023
77cb2ab
⚠️ [CLAP] Fix dtype of logit scales in init (#25682)
sanchit-gandhi Aug 23, 2023
8657ec6
Sets the stalebot to 10 AM CEST (#25678)
LysandreJik Aug 23, 2023
2189a7f
Fix `pad_token` check condition (#25685)
ydshieh Aug 23, 2023
6add3b3
[DOCS] Added docstring example for EpsilonLogitsWarper #24783 (#25378)
sanjeevk-os Aug 23, 2023
656e17f
correct resume training steps number in progress bar (#25691)
pphuc25 Aug 23, 2023
3c2383b
Generate: general test for decoder-only generation from `inputs_embed…
gante Aug 23, 2023
4d40109
Fix typo in `configuration_gpt2.py` (#25676)
susnato Aug 23, 2023
68fa9a5
Skip broken tests
sgugger Aug 24, 2023
b85b880
fix ram efficient fsdp init (#25686)
pacman100 Aug 24, 2023
6e6da5e
[`LlamaTokenizer`] make unk_token_length a property (#25689)
ArthurZucker Aug 24, 2023
c212362
Update list of persons to tag (#25708)
sgugger Aug 24, 2023
f01459c
docs: Resolve typos in warning text (#25711)
tomaarsen Aug 24, 2023
8fff61b
Fix failing `test_batch_generation` for bloom (#25718)
ydshieh Aug 24, 2023
70b49f0
[`PEFT`] Fix peft version (#25710)
younesbelkada Aug 24, 2023
2febd50
Fix number of minimal calls to the Hub with peft integration (#25715)
sgugger Aug 24, 2023
584eeb5
[`AutoGPTQ`] Add correct installation of GPTQ library + fix slow test…
younesbelkada Aug 24, 2023
0a365c3
Generate: nudge towards `do_sample=False` when `temperature=0.0` (#25…
gante Aug 24, 2023
fecf085
[`from_pretrained`] Simpler code for peft (#25726)
ArthurZucker Aug 24, 2023
7a6efe1
[idefics] idefics-9b test use 4bit quant (#25734)
stas00 Aug 24, 2023
1b2381c
ImageProcessor - check if input pixel values between 0-255 (#25688)
amyeroberts Aug 24, 2023
fd0b94f
[`from_pretrained`] Fix failing PEFT tests (#25733)
younesbelkada Aug 24, 2023
0218876
[ASR Pipe Test] Fix CTC timestamps error message (#25727)
sanchit-gandhi Aug 24, 2023
f26099e
🌐 [i18n-KO] Translated `visual_question_answering.md` to Korean (#25679)
wonhyeongseo Aug 24, 2023
ae320fa
[`PEFT`] Fix PeftConfig save pretrained when calling `add_adapter` (#…
younesbelkada Aug 25, 2023
8968ffa
fixed typo in speech encoder decoder doc (#25745)
asusevski Aug 25, 2023
cb8e3ee
Add FlaxCLIPTextModelWithProjection (#25254)
pcuenca Aug 25, 2023
85cf90a
Generate: add missing logits processors docs (#25653)
gante Aug 25, 2023
c6a84b7
[DOCS] Add example for HammingDiversityLogitsProcessor (#25481)
jessthebp Aug 25, 2023
494e96d
Generate: logits processors are doctested and fix broken doctests (#2…
gante Aug 25, 2023
0770ce6
[CLAP] Fix logit scales dtype for fp16 (#25754)
sanchit-gandhi Aug 25, 2023
dd8b7d2
[`Sentencepiece`] make sure `legacy` do not require `protobuf` (#25684)
ArthurZucker Aug 25, 2023
35c570c
fix encoder hook (#25735)
SunMarc Aug 25, 2023
8b0a7bf
Docs: fix indentation in `HammingDiversityLogitsProcessor` (#25756)
gante Aug 25, 2023
4071852
support bf16
etemadiamd Aug 25, 2023
ee080cf
Merge branch 'master' into bf16_support
etemadiamd Aug 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
98 changes: 65 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# Ensure running with CircleCI/huggingface
check_circleci_user:
docker:
- image: cimg/python:3.7.12
- image: cimg/python:3.8.12
parallelism: 1
steps:
- run: echo $CIRCLE_PROJECT_USERNAME
Expand All @@ -26,13 +26,13 @@ jobs:
fetch_tests:
working_directory: ~/transformers
docker:
- image: cimg/python:3.7.12
- image: cimg/python:3.8.12
parallelism: 1
steps:
- checkout
- run: pip install --upgrade pip
- run: pip install GitPython
- run: pip install .
- run: pip install --upgrade --upgrade-strategy eager pip
- run: pip install -U --upgrade-strategy eager GitPython
- run: pip install -U --upgrade-strategy eager .
- run: mkdir -p test_preparation
- run: python utils/tests_fetcher.py | tee tests_fetched_summary.txt
- store_artifacts:
Expand All @@ -43,6 +43,24 @@ jobs:
else
touch test_preparation/test_list.txt
fi
- run: |
if [ -f examples_test_list.txt ]; then
mv examples_test_list.txt test_preparation/examples_test_list.txt
else
touch test_preparation/examples_test_list.txt
fi
- run: |
if [ -f filtered_test_list_cross_tests.txt ]; then
mv filtered_test_list_cross_tests.txt test_preparation/filtered_test_list_cross_tests.txt
else
touch test_preparation/filtered_test_list_cross_tests.txt
fi
- run: |
if [ -f doctest_list.txt ]; then
cp doctest_list.txt test_preparation/doctest_list.txt
else
touch test_preparation/doctest_list.txt
fi
- run: |
if [ -f test_repo_utils.txt ]; then
mv test_repo_utils.txt test_preparation/test_repo_utils.txt
Expand All @@ -56,15 +74,10 @@ jobs:
else
touch test_preparation/filtered_test_list.txt
fi
- run: python utils/tests_fetcher.py --filters tests examples | tee examples_tests_fetched_summary.txt
- run: |
if [ -f test_list.txt ]; then
mv test_list.txt test_preparation/examples_test_list.txt
else
touch test_preparation/examples_test_list.txt
fi
- store_artifacts:
path: test_preparation/test_list.txt
- store_artifacts:
path: test_preparation/doctest_list.txt
- store_artifacts:
path: ~/transformers/test_preparation/filtered_test_list.txt
- store_artifacts:
Expand All @@ -78,24 +91,26 @@ jobs:
- run: cp test_preparation/generated_config.yml test_preparation/generated_config.txt
- store_artifacts:
path: test_preparation/generated_config.txt
- store_artifacts:
path: test_preparation/filtered_test_list_cross_tests.txt
- continuation/continue:
configuration_path: test_preparation/generated_config.yml

# To run all tests for the nightly build
fetch_all_tests:
working_directory: ~/transformers
docker:
- image: cimg/python:3.7.12
- image: cimg/python:3.8.12
parallelism: 1
steps:
- checkout
- run: pip install --upgrade pip
- run: pip install GitPython
- run: pip install .
- run: pip install --upgrade --upgrade-strategy eager pip
- run: pip install -U --upgrade-strategy eager GitPython
- run: pip install -U --upgrade-strategy eager .
- run: |
mkdir test_preparation
echo -n "tests" > test_preparation/test_list.txt
echo -n "tests" > test_preparation/examples_test_list.txt
echo -n "all" > test_preparation/examples_test_list.txt
echo -n "tests/repo_utils" > test_preparation/test_repo_utils.txt
- run: |
echo -n "tests" > test_list.txt
Expand All @@ -111,7 +126,7 @@ jobs:
check_code_quality:
working_directory: ~/transformers
docker:
- image: cimg/python:3.7.12
- image: cimg/python:3.8.12
resource_class: large
environment:
TRANSFORMERS_IS_CI: yes
Expand All @@ -121,31 +136,38 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.5-code_quality-{{ checksum "setup.py" }}
- v0.5-code-quality
- run: pip install --upgrade pip
- run: pip install .[all,quality]
- v0.7-code_quality-pip-{{ checksum "setup.py" }}
- v0.7-code-quality-pip
- restore_cache:
keys:
- v0.7-code_quality-site-packages-{{ checksum "setup.py" }}
- v0.7-code-quality-site-packages
- run: pip install --upgrade --upgrade-strategy eager pip
- run: pip install -U --upgrade-strategy eager .[all,quality]
- save_cache:
key: v0.5-code_quality-{{ checksum "setup.py" }}
key: v0.7-code_quality-pip-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- save_cache:
key: v0.7-code_quality-site-packages-{{ checksum "setup.py" }}
paths:
- '~/.pyenv/versions/'
- run:
name: Show installed libraries and their versions
command: pip freeze | tee installed.txt
- store_artifacts:
path: ~/transformers/installed.txt
- run: black --check --preview examples tests src utils
- run: isort --check-only examples tests src utils
- run: black --check examples tests src utils
- run: ruff examples tests src utils
- run: python utils/custom_init_isort.py --check_only
- run: python utils/sort_auto_mappings.py --check_only
- run: flake8 examples tests src utils
- run: doc-builder style src/transformers docs/source --max_len 119 --check_only --path_to_docs docs/source
- run: python utils/check_doc_toc.py

check_repository_consistency:
working_directory: ~/transformers
docker:
- image: cimg/python:3.7.12
- image: cimg/python:3.8.12
resource_class: large
environment:
TRANSFORMERS_IS_CI: yes
Expand All @@ -155,14 +177,22 @@ jobs:
- checkout
- restore_cache:
keys:
- v0.5-repository_consistency-{{ checksum "setup.py" }}
- v0.5-repository_consistency
- run: pip install --upgrade pip
- run: pip install .[all,quality]
- v0.7-repository_consistency-pip-{{ checksum "setup.py" }}
- v0.7-repository_consistency-pip
- restore_cache:
keys:
- v0.7-repository_consistency-site-packages-{{ checksum "setup.py" }}
- v0.7-repository_consistency-site-packages
- run: pip install --upgrade --upgrade-strategy eager pip
- run: pip install -U --upgrade-strategy eager .[all,quality]
- save_cache:
key: v0.5-repository_consistency-{{ checksum "setup.py" }}
key: v0.7-repository_consistency-pip-{{ checksum "setup.py" }}
paths:
- '~/.cache/pip'
- save_cache:
key: v0.7-repository_consistency-site-packages-{{ checksum "setup.py" }}
paths:
- '~/.pyenv/versions/'
- run:
name: Show installed libraries and their versions
command: pip freeze | tee installed.txt
Expand All @@ -174,9 +204,11 @@ jobs:
- run: python utils/check_repo.py
- run: python utils/check_inits.py
- run: python utils/check_config_docstrings.py
- run: python utils/check_config_attributes.py
- run: python utils/check_doctest_list.py
- run: make deps_table_check_updated
- run: python utils/tests_fetcher.py --sanity_check
- run: python utils/update_metadata.py --check-only
- run: python utils/check_task_guides.py

workflows:
version: 2
Expand Down
Loading