Commit Graph

700 Commits

Author SHA1 Message Date
Yih-Dar
5a67f0a7ac Better new failures reporting for PR comment CI (#43629)
go

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-30 21:43:12 +01:00
Tarek Ziade
797c822a17 Fix extras on all supported Python versions (#43490)
Makes sure extras can be installed on all supported Python versions.

- cleaned up extras (removed natten, tweaked mistral-common etc,)
- adds a supported Python version range (10->14)
- dynamically update the metadata
- run a smoke test in the CI every night to verify pip install works on all extras

Co-authored-by: Cyril Vallez <cyril.vallez@gmail.com>
2026-01-30 15:27:16 +01:00
Yih-Dar
b8e7943b02 Fix repo. consistency bot (push permission issue) (#43570)
fix again

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-28 18:30:28 +01:00
Yih-Dar
7c4221776f check/fix repo. check bot workflow (#43565)
check

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-28 16:51:44 +01:00
Yih-Dar
a63032b614 check PR bot permission - part 3 (try content attribute) (#43555)
contents: write

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-28 14:56:01 +01:00
Yih-Dar
0b563e1618 check PR bot permission - part 2 (style only) (#43554)
style_only

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-28 14:49:56 +01:00
Yih-Dar
5b58428541 check PR bot permission - part 1 (#43553)
check original style bot

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-28 14:41:50 +01:00
Yih-Dar
0189e042b8 Enhance repo. consistency bot (#43503)
* update

* subset

* clean

* delete

* final

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-26 18:04:12 +01:00
Yih-Dar
e4f6330278 Make bot don't fail the commands (#43440)
don't fail

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-23 11:57:25 +01:00
Omkar Kabde
db1e6f1e7f Remove requests code (#42845)
* setup, workflow and utils files

* src core files

* use get_session instead of httpx

* fix code quality - remove unused imports

* utils and prevous-http-used and cli

* style changes

* use httpx for non-HF images

* get_session for HF images

* change docstrings

* revert formatting - 1

* revert formatting - 2

* docstrings fixes

* revert formatting - 3

* docstring fixes

* fix failing test

* Update src/transformers/pipelines/image_to_image.py

* Update src/transformers/testing_utils.py

* fix modular generation check

* fix consistency

* Apply suggestions from code review

* Update src/transformers/models/idefics2/modeling_idefics2.py

* Update src/transformers/models/idefics3/modeling_idefics3.py

---------

Co-authored-by: Lucain <lucainp@gmail.com>
2026-01-23 11:50:53 +01:00
Yih-Dar
c173472e58 Yet another fix (#43437)
* ok ...

* ok ...

* ok ...

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-23 11:44:11 +01:00
Yih-Dar
236a8e9d9d fix pr-repo-consistency-bot.yml (#43434)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-23 10:47:49 +01:00
Yih-Dar
a1306676e9 Make pr-repo-consistency-bot.yml run complete list of fixes (#43432)
* fix

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-23 10:36:42 +01:00
Yih-Dar
d6edf57ed2 Welcome our new CI engineer 🎉 (#43367)
add

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-20 14:28:10 +01:00
Ilyas Moutawwakil
35c26ace56 Adding to run slow (#43250)
add me
2026-01-13 15:27:19 +01:00
Yih-Dar
5f70e191f8 Use HF_TOKEN directly and remove require_read_token (#43233)
* Use HF_TOKEN

* style

* remove the usage

* remove the def

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2026-01-12 17:29:25 +01:00
Pauline Bailly-Masson
d54d78f76f Add runner specification to CodeQL workflow (#42955) 2025-12-19 16:48:46 +01:00
Lysandre Debut
8a2a83d574 Automatic release script (#42808)
* Automatic release

* Install transformers from within the build

* setuptools

* Check build doesn't need to exist anymore

* Check build doesn't need to exist anymore

* -y

* torch install for pipeline

* TestPypi upload

* Fine tune

* Fine tune

* Update release instructions

* Update .github/workflows/release.yml

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2025-12-11 17:46:08 +01:00
Yih-Dar
799103bf9a Delete previous comments of View the CircleCI Test Summary (#42725)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-09 05:44:53 +01:00
Yih-Dar
2db992d858 hotfix for circleci summary workflow (#42708)
hotfix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-08 17:40:23 +01:00
Arthur
e636ea2b15 CircleCI failed test summary (#42240)
* clean

* final run

* final run

* final

* final

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-08 14:10:17 +01:00
Yih-Dar
8d75aabf31 Improve SSH into runner (#42695)
better

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-08 09:43:43 +01:00
Yih-Dar
75ae02f0f8 Ultra security for pr-repo-consistency-bot.yml (#42652)
better

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-05 14:00:36 +01:00
Yih-Dar
ee7e67bf6a Better security for pr-repo-consistency-bot.yml (#42646)
* better

* better

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-05 11:47:43 +01:00
Yih-Dar
d5d87934c2 repo. consistency bot (#42575)
* draft

* draft

* draft

* draft

* draft

* draft

* draft

* draft

* draft

* draft

* draft

* fail to see the check

* fail to see the check

* fail to see the check

* fail to see the check

* fail to see the check

* Apply style fixes

* fail to see the check

* fail to see the check

* fail to see the check

* Apply repo. consistency fixes

* fail to see the check

* Apply repo. consistency fixes

* fail to see the check

* delete

* Apply repo. consistency fixes

* comment

* Apply repo. consistency fixes

* comment

* Apply repo. consistency fixes

* comment

* Apply repo. consistency fixes

* comment

* Apply repo. consistency fixes

* back

* check

* check

* check

* check

* check

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-12-03 17:57:21 +01:00
Yih-Dar
0c05c3bd6c Fix pr_build_doc_with_comment.yml not reporting correctly (#42505)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-12-01 10:25:07 +01:00
Anton Vlasjuk
e2e411c42b [CI] Add to run slow (#42459)
add

Co-authored-by: Ferdinand Mom <47445085+3outeille@users.noreply.github.com>
2025-11-27 16:24:29 +00:00
omahs
fd20cdc2e8 Fix typos (#42354) 2025-11-24 14:34:10 +00:00
Luc Georges
ba938fa590 fix(ci): unexpected keyword argument streaming (#42102)
* debug(ci): run `pwd` to check what we're working with

* fix(ci): `ls -lR`

* fix(ci): remove working directory which should not be there?

* fix(cb): make sure memory is freed when calling `stop`

* fix(ci): effectively clear cache

* fix(ci): reduce memory safety margin

* refactor(cb): add fixme note on default safety margin value
2025-11-12 17:29:09 +01:00
Yih-Dar
e8a6eb3304 Revert "permissions worflows fix" (#42110)
Revert "permissions worflows fix (#42080)"

This reverts commit 08f52e2178.
2025-11-08 16:21:02 +01:00
Luc Georges
069684ef87 feat(ci): add continuous batching to benchmarks (#41916)
* feat(ci): add continuous batching to benchmarks

* refactor(ci): PR comments

* refactor(cb): when stopping, block by default

* fix(benchmarks): `stream` -> `streaming`

* fix(benchmarks): invalid configuration when cb has attn_impl == sdpa

* tests(cb): fix attn impl

* fix(benchmarks): update `get_throughput` formula

* fix(benchmarks): prevent version conflicts and ensure proper cleanup in continuous batching (#42063)

* Initial plan

* fix(benchmarks): ensure proper cleanup and remove transformers from requirements

- Remove transformers from benchmark_v2/requirements.txt to prevent version conflicts
- Add try-finally block to ensure ContinuousBatchingManager.stop() is always called
- This fixes TypeError about unexpected 'streaming' argument and prevents OOM from improper cleanup

Co-authored-by: McPatate <9112841+McPatate@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: McPatate <9112841+McPatate@users.noreply.github.com>

* fix(benchmarks): raise the exception on failure instead of ignoring

we catch the exception later on and raising it here helps debugging
because it will be logged

* test(cb): comment out failing tests for now

added a `FIXME` mark

* fix(benchmarks): revert `finally` removal but keep raising exception

* test(cb): fix missing `require_read_token` import

* refactor(benchmarks): error if no benchmarks were run

* refactor(benchmarks): change default lvls of cb bench config

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: McPatate <9112841+McPatate@users.noreply.github.com>
2025-11-07 16:23:27 +00:00
Pauline Bailly-Masson
08f52e2178 permissions worflows fix (#42080)
- add new workflow to scan permissions github_token really need and advise pernmissions
- add actions-permissions/monitor on almost all worklows
=> the goal is to define properly all permissions blocks by jobs

# Conflicts:
#	.github/workflows/check-workflow-permissions.yml

Co-authored-by: Pauline <pauline@Paulines-MacBook-Pro-2.local>
2025-11-07 10:37:26 +01:00
Yih-Dar
8012f80f72 Fix inconsistency of commit sha during the workflow run (#42074)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-06 22:32:27 +01:00
Pauline Bailly-Masson
7b325cd573 Fix security issue 5 (#42072)
fix

Co-authored-by: Pauline <pauline@Paulines-MacBook-Pro-2.local>
2025-11-06 19:50:59 +01:00
Pauline Bailly-Masson
a9e2b80c71 add workflow to check permissions and advise a set of permissions req… (#42071)
add workflow to check permissions and advise a set of permissions required

Co-authored-by: Pauline <pauline@Paulines-MacBook-Pro-2.local>
2025-11-06 18:55:01 +01:00
Yih-Dar
5aa7dd07da Revert back to use GitHub context (#42066)
* check

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-06 14:41:58 +01:00
Yih-Dar
76fea9b482 Fix another Argument list too long in pr_slow_ci_suggestion.yml (#42061)
* fix

* trigger

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-06 13:33:23 +01:00
Yih-Dar
8a96f5fbe8 Be careful at explicit checkout actions (#42060)
final

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-06 11:01:06 +01:00
Yih-Dar
17fdaf9b7a Avoid explicit checkout in workflow (#42057)
* remove explicit checkout

* check 1

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-06 09:31:20 +01:00
Yih-Dar
bb65d2d953 Fix pr_slow_ci_suggestion.yml after #42023 (#42049)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-05 22:10:12 +01:00
Yih-Dar
57bdb4a680 Cleanup workflow - part 1 (#42023)
* part 1

* part 2

* part 3

* part 4

* part 5

* fix 1

* check 1

* part 6

* part 7

* part 8

* part 9

* part 10: rename file

* OK: new_model_pr_merged_notification.yml

* part 11

* fix 2

* revert check

* fix

* fix

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-05 21:01:06 +01:00
Yih-Dar
561233cabf Change trigger time for AMD CI (#42034)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-05 14:17:12 +01:00
Pauline Bailly-Masson
20396951af CodeQL workflow for security analysis (#42015)
* CodeQL workflow for security analysis

Created CodeQL workflow to use reusable workflow from internal and simplified configuration.

* Update CodeQL workflow for main branch only and remving python from analysis

Restrict CodeQL analysis to 'actions' language only.

* Disable pull_request trigger in CodeQL workflow temporarly

Comment out pull_request trigger for CodeQL workflow
2025-11-05 10:59:37 +01:00
Rémi Ouazan
dd4e048e75 Reduce the number of benchmark in the CI (#42008)
Changed how benchmark cfgs are chosen
2025-11-04 14:07:17 +01:00
Yih-Dar
6d4450e341 Fix torch+deepspeed docker file (#41985)
* fix

* delete

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-04 10:41:22 +00:00
Yih-Dar
258c76e4dc Fix run slow v2: empty report when there is only one model (#42002)
fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2025-11-04 06:46:21 +01:00
Guillaume LEGENDRE
1619a3475f fix (CI): Refactor SSH runners (#41991)
* Change ssh runner type

* Add wait step to SSH runner workflow

* Rename wait step to wait2 in ssh-runner.yml

* Remove wait step from ssh-runner.yml

Removed the wait step from the SSH runner workflow.

* Update runner type for single GPU A10 instance

* Update SSH runner version to 1.90.3

* Add sha256sum to ssh-runner workflow

* Update runner type and remove unused steps
2025-11-03 18:16:32 +01:00
Rémi Ouazan
ff0f7d6498 More data in benchmarking (#41848)
* Reduce scope of cross-generate

* Rm generate_sall configs

* Workflow benchmarks more

* Prevent crash when FA is not installed
2025-11-03 18:05:26 +01:00
Rémi Ouazan
80305364e2 Move the Mi355 to regular docker (#41989)
* Move the Mi355 to regular docker

* Disable gfx950 compilation for FA on AMD
2025-11-03 16:41:06 +01:00
Mohamed Mekkouri
a623cda427 [kernels] Add Tests & CI for kernels (#41765)
* first commit

* add tests

* add kernel config

* add more tests

* add ci

* small fix

* change branch name

* update tests

* nit

* change test name

* revert jobs

* addressing review

* reenable all jobs

* address second review
2025-11-03 16:36:52 +01:00