- 21 Nov, 2024 9 commits
- 19 Nov, 2024 23 commits
-
-
wwwbai authored
* try * tryagain * tryagggain * translated * translated2 * Update docs/source/zh/attention.md Co-authored-by:
Huazhong Ji <hzji210@gmail.com> --------- Co-authored-by:
Huazhong Ji <hzji210@gmail.com>
-
Merve Noyan authored
* Added image-text-to-text pipeline to task guide * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Update docs/source/en/tasks/image_text_to_text.md Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> * Merge codeblocks --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Yih-Dar authored
fix Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com>
-
Yih-Dar authored
* fix * fix * fix --------- Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com>
-
Yoni Gozlan authored
* add deformable detr image processor fast * add fast processor to doc * fix copies * nit docstring * Add tests gpu/cpu and fix docstrings * fix docstring * import changes from detr * fix imports * rebase and fix * fix input data format change in detr and rtdetr fast
-
Yoni Gozlan authored
* add support for openai api image_url input * change continue to elif * Explicitely add support for OpenAI/TGI chat format * rewrite content to transformers chat format and add tests * Add support for typing of image type in chat templates * add base64 to possible image types * refactor nesting
-
dependabot[bot] authored
Bump aiohttp in /examples/research_projects/decision_transformer Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.10.2 to 3.10.11. - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](https://github.com/aio-libs/aiohttp/compare/v3.10.2...v3.10.11 ) --- updated-dependencies: - dependency-name: aiohttp dependency-type: direct:production ... Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Wang, Yi authored
Signed-off-by:
Wang, Yi <yi.a.wang@intel.com>
-
David Zhang authored
* Fix post process function called in the instance segmentation example of mask2former * fix description and additional notes for post_process_instance_segmentation of maskformers * remove white space in maskformers post_process_instance_segmentation doc * change image.size[::-1] to height and width for clarity in segmentation examples
-
jp authored
* Add: do_convert_rgb * Add: doc string * Update src/transformers/models/vit/image_processing_vit.py Co-authored-by:
Pavel Iakubovskii <qubvel@gmail.com> * Update src/transformers/models/vit/image_processing_vit.py Co-authored-by:
Pavel Iakubovskii <qubvel@gmail.com> * Update src/transformers/models/vit/image_processing_vit.py Co-authored-by:
Pavel Iakubovskii <qubvel@gmail.com> * Add: do_convert_rgb to fast * Add: convert_to_rgb --------- Co-authored-by:
Pavel Iakubovskii <qubvel@gmail.com>
-
Tibor Reiss authored
* Log tokens per second during training * Nitpicks * Move logic into _maybe_log_save_evaluate * Use speed_metrics
-
Phillip Kuznetsov authored
* fix(Mask2Former): torch export Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * revert level_start_index and create a level_start_index_list Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * Add a comment to explain the level_start_index_list Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * Address comment Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * add torch.export.export test Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * rename arg Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * remove spatial_shapes Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * Use the version check from pytorch_utils Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> * [run_slow] mask2former Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai> --------- Signed-off-by:
Phillip Kuznetsov <philkuz@gimletlabs.ai>
-
huismiling authored
MLU devices : Checks if mlu is available via an cndev-based check which won't trigger the drivers and leave mlu (#34326) * add Cambricon MLUs support * fix mlu device rng state * up for quality check * up mlu to support fp16 * fix mlu device dependency error * fix mlu device dependency error * enable mlu device for bf16 * fix mlu device memory tracker * Cambricon support SDPA and flash_attn * MLU devices : Checks if `mlu` is available via an `cndev-based` check which won't trigger the drivers and leave mlu
-
Cyril Vallez authored
* Modular fix * style * remove logger warning * Update modular_model_converter.py
-
Marc Sun authored
* add co-author Co-authored-by:
w3rew <w3rew@users.noreply.github.com> * fix docs * fix cache * remove print --------- Co-authored-by:
w3rew <w3rew@users.noreply.github.com>
-
Arthur authored
* softcapping * soft cap before the mask * style * ... * super nit * update * fixes * update * small issue with modular * fix modular imports * update * fixup * simplify a hell lot * simplify cleaning imports * finish fixing * update our design * nits * use a deprecation cycle * updates * Fix modular (recursive deps need to always be computed after merges!) * push * fix * update * fix modular order * make fix-copies * updates * update * ? * don't compile for now * ? * fix some stuff * donc! * fix copies * update * fixup * ? * fix two tests * fix? * for now, don't use head info * eager when output attentoin and sdpa or flash as it's the simplest behaviour (for our tests as well :)) * fix-copies * revert sdpa check * Apply suggestions from code review Co-authored-by:
Cyril Vallez <cyril.vallez@huggingface.co> * rebase, fix-copies and push * add a slow integration test * update the test * fix left padding issue * fix test * remove duplicate scaling * quality * add a small test and make sure it works * 2b --------- Co-authored-by:
Cyril Vallez <cyril.vallez@gmail.com> Co-authored-by:
Cyril Vallez <cyril.vallez@huggingface.co>
-
Arthur authored
*
* early exit (#34244) * mvp * docs and tests * a few fixes * no shared cache * Apply suggestions from code review Co-authored-by:Mostafa Elhoushi <m.elhoushi@ieee.org> * docs * make fix-copies * cohere fix * [test all] * [test all] consistent model code copies * [test all] make fix-copies :D * Apply suggestions from code review Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> Co-authored-by:
Mostafa Elhoushi <m.elhoushi@ieee.org> * Update src/transformers/generation/candidate_generator.py * Update src/transformers/generation/configuration_utils.py Co-authored-by:
Pedro Cuenca <pedro@huggingface.co> * [test all] don't use a stand-alone attribute; fix test --------- Co-authored-by:
Joao Gante <joaofranciscocardosogante@gmail.com> Co-authored-by:
Joao Gante <joao@huggingface.co> Co-authored-by:
Mostafa Elhoushi <m.elhoushi@ieee.org> Co-authored-by:
Pedro Cuenca <pedro@huggingface.co>
-
jiqing-feng authored
* fix cpu bnb path * Update src/transformers/generation/utils.py Co-authored-by:
Marc Sun <57196510+SunMarc@users.noreply.github.com> * fix awq quantizer env check * fix awq quantizer device check Signed-off-by:
jiqing-feng <jiqing.feng@intel.com> --------- Signed-off-by:
jiqing-feng <jiqing.feng@intel.com> Co-authored-by:
Marc Sun <57196510+SunMarc@users.noreply.github.com>
-
jp authored
Fix: do_convert_rgb
-
Jiahao Li authored
* Support gradient checkpointing in Qwen2VL ViT * Enable gradient checkpoint tests for Qwen2VL * [run-slow] qwen2_vl
-
gebbissimo authored
Currently a backbone name like 'hf-hub:bioptimus/H-optimus-0' throws an error, even though it could work. Co-authored-by: Christian Gebbe <>
-
Guillem García Subies authored
* doc: Trainer.hyperparameter_search docstring discrepancy solved * Apply suggestions from code review Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com> --------- Co-authored-by:
Steven Liu <59462357+stevhliu@users.noreply.github.com>
-
Arthur authored
protect
-
- 18 Nov, 2024 8 commits
-
-
Yih-Dar authored
* Revert "Revert "Fix Whisper CI" (#34605)" This reverts commit 74d3824c . * update --------- Co-authored-by:
ydshieh <ydshieh@users.noreply.github.com> Co-authored-by:
Arthur <48595927+ArthurZucker@users.noreply.github.com>
-
Aymeric Roucher authored
* Allow handling files as args for a tool created with `Tool.from_space`
-
Ke Wen authored
* Simplify Tensor Parallel implementation with PyTorch TP * Move tp_plan to config * Lint * Format and warning * Disable copy-from check * Conditionally get attr from config * make fix-copies * Move base_model_tp_plan to PretrainedConfig * Move TP into from_pretrained * Add device context for load * Do not serialize * Move _tp_plan setting to post_init * Add has_tp_plan * Add test_tp * Add 'Multi-gpu inference' doc * Add backward support for device type identification * Auto-detect accelerator * supports_tp_plan * copyright year * Fix copy
-
ecyht2 authored
-
Hun-soo Jung authored
Fixes typo.
-
Eon Kim authored
-
Fanli Lin authored
add XPU part to testing Signed-off-by:
Lin, Fanli <fanli.lin@intel.com>
-
Fanli Lin authored
add XPU
-