Code Ownership
Ownership is measured by how many commits each author made to each file of code in the current tree, its tests included, and to the same file under the names it had before. Documentation, vendored and generated files are left out. It highlights bus-factor risk (files only one person has ever touched) and where knowledge is concentrated. The bus factor is the smallest number of people who are, between them, primary owner of more than half of the files.
- Files Tracked
- 5,349
- of code in the current tree
- Bus Factor
- 5
- 5 authors are primary owner of 2,872 of 5,349 files
- Single-Owner Files
- 844
- 15.8% of tracked files
- Contributors
- 2,860
- authors who changed files
Bus factor risk — single-owner files
Files only one author has ever changed, grouped by that author: if they left, no one else would have worked on them. The more a file has changed, the more knowledge is at risk. NielsRogge is the only one to have changed 38 of the 844.
| Owner | Files | Commits | Bar | Most-changed |
|---|---|---|---|---|
| NielsRogge | 38 | 39 | src/transformers/utils/constants.pysrc/transformers/models/sam3_lite_text/convert_sam3_lite_text_to_hf.pytests/models/audio_spectrogram_transformer/__init__.pyand 35 more | |
| eustlb | 37 | 46 | src/transformers/models/nemotron_asr_streaming/feature_extraction_nemotron_asr_streaming.pysrc/transformers/models/cohere_asr/feature_extraction_cohere_asr.pysrc/transformers/models/gradium_phonon_tts/convert_gradium_phonon_tts_to_hf.pyand 34 more | |
| Arthur | 37 | 39 | examples/modular-transformers/convert_examples.shexamples/modular-transformers/configuration_dummy.pyexamples/modular-transformers/configuration_super.pyand 34 more | |
| guarin | 32 | 34 | src/transformers/models/minicpm_ocr/processing_minicpm_ocr.pysrc/transformers/models/sapiens2/__init__.pyexamples/modular-transformers/modular_deprecate_attr.pyand 29 more | |
| Tarek Ziade | 30 | 63 | utils/checkers.pytests/repo_utils/test_checkers.pyutils/check_mic.pyand 27 more | |
| Marc Sun | 25 | 32 | src/transformers/integrations/gguf/dequant.pysrc/transformers/integrations/gguf/kernels.pysrc/transformers/integrations/gguf/__init__.pyand 22 more | |
| Cyril Vallez | 22 | 24 | examples/modular-transformers/modular_duplicated_method.pysrc/transformers/models/convbert/convert_convbert_original_tf1_checkpoint_to_pytorch.pyexamples/modular-transformers/modular_add_function.pyand 19 more | |
| Ilyas Moutawwakil | 21 | 41 | src/transformers/exporters/__init__.pysrc/transformers/exporters/auto.pysrc/transformers/exporters/quantizers/base.pyand 18 more | |
| Anton Vlasjuk | 18 | 18 | src/transformers/models/embedding_gemma2/__init__.pysrc/transformers/models/embedding_gemma2/convert_embedding_gemma2_weights.pysrc/transformers/models/ernie4_5/convert_ernie4_5_tokenizer.pyand 15 more | |
| Eric Bezzam | 17 | 18 | tests/models/xcodec2/test_feature_extraction_xcodec2.pysrc/transformers/loss/loss_ctc.pysrc/transformers/models/omniasr/__init__.pyand 14 more | |
| 219 other owners | 567 | 627 |
The 100 most-changed of 844 single-owner files
| File | Sole owner | Commits |
|---|---|---|
| utils/checkers.py | Tarek Ziade | 15 |
| .github/workflows/self-comment-ci-amd.yml | Yih-Dar | 7 |
| .github/workflows/pr-ci-security-gate.yml | Yih-Dar | 7 |
| tests/repo_utils/test_checkers.py | Tarek Ziade | 6 |
| src/transformers/exporters/__init__.py | Ilyas Moutawwakil | 5 |
| src/transformers/exporters/auto.py | Ilyas Moutawwakil | 5 |
| src/transformers/models/nemotron_asr_streaming/feature_extraction_nemotron_asr_streaming.py | eustlb | 5 |
| utils/analyze_gh_wf_runs.py | Yih-Dar | 4 |
| utils/post_mlinter_review.py | Yih-Dar | 4 |
| utils/check_mic.py | Tarek Ziade | 4 |
| src/transformers/models/kimi_k25/configuration_kimi_k25.py | Raushan Turganbay | 4 |
| src/transformers/models/minicpmv4_7/configuration_minicpmv4_7.py | Raushan Turganbay | 4 |
| src/transformers/utils/dummy_sentencepiece_and_tokenizers_objects.py | Sylvain Gugger | 4 |
| src/transformers/generation/continuous_batching/cache_allocators/__init__.py | Rémi Ouazan | 3 |
| utils/analyze_ci_report.py | Yih-Dar | 3 |
| src/transformers/integrations/gguf/kernels.py | Marc Sun | 3 |
| src/transformers/integrations/gguf/dequant.py | Marc Sun | 3 |
| tests/repo_utils/test_check_mic.py | Tarek Ziade | 3 |
| tests/utils/test_model_tester_defaults.py | Tarek Ziade | 3 |
| .github/workflows/serge-verify-caller.yml | Tarek Ziade | 3 |
| .github/workflows/nightly-integration-failure-triage-caller.yml | Tarek Ziade | 3 |
| src/transformers/utils/chat_parsing/response_templates.py | Matt | 3 |
| src/transformers/models/esmc/configuration_esmc.py | Matt | 3 |
| tests/models/esmc/test_tokenization_esmc.py | Matt | 3 |
| examples/modular-transformers/convert_examples.sh | Arthur | 3 |
| tests/exporters/test_save_load.py | Ilyas Moutawwakil | 3 |
| src/transformers/exporters/quantizers/base.py | Ilyas Moutawwakil | 3 |
| src/transformers/exporters/quantizers/quantizer_onnxruntime.py | Ilyas Moutawwakil | 3 |
| src/transformers/exporters/quantizers/utils.py | Ilyas Moutawwakil | 3 |
| src/transformers/models/cohere_asr/feature_extraction_cohere_asr.py | eustlb | 3 |
| src/transformers/generation/continuous_batching/cache_allocators/cache_allocator.py | Rémi Ouazan | 2 |
| src/transformers/generation/continuous_batching/cache_allocators/full_attention.py | Rémi Ouazan | 2 |
| src/transformers/generation/continuous_batching/cache_allocators/sliding_attention.py | Rémi Ouazan | 2 |
| utils/ci_report_notify.py | Yih-Dar | 2 |
| examples/modular-transformers/modular_duplicated_method.py | Cyril Vallez | 2 |
| src/transformers/models/convbert/convert_convbert_original_tf1_checkpoint_to_pytorch.py | Cyril Vallez | 2 |
| src/transformers/models/minicpm_ocr/processing_minicpm_ocr.py | guarin | 2 |
| src/transformers/models/sapiens2/__init__.py | guarin | 2 |
| src/transformers/integrations/gguf/__init__.py | Marc Sun | 2 |
| src/transformers/integrations/gguf/reader.py | Marc Sun | 2 |
| src/transformers/integrations/gguf/utils.py | Marc Sun | 2 |
| tests/conftest_tests/test_cache_fallback.py | Tarek Ziade | 2 |
| utils/aggregate_failure_reports.py | Tarek Ziade | 2 |
| utils/format_extras_slack_message.py | Tarek Ziade | 2 |
| tests/models/minicpmv4_7/test_processing_minicpmv4_7.py | Raushan Turganbay | 2 |
| src/transformers/models/nougat/configuration_nougat.py | Raushan Turganbay | 2 |
| .github/workflows/self-scheduled-amd-strix-halo-caller.yml | BADAOUI Abdennacer | 2 |
| src/transformers/models/pi05/modeling_pi05.py | Pablo Montalvo | 2 |
| src/transformers/models/pi05/modular_pi05.py | Pablo Montalvo | 2 |
| tests/models/xcodec2/test_feature_extraction_xcodec2.py | Eric Bezzam | 2 |
| .github/workflows/docs-check-trigger.yml | Steven Liu | 2 |
| .github/workflows/docs-check.yml | Steven Liu | 2 |
| src/transformers/models/dory/configuration_dory.py | Shantanu Acharya | 2 |
| src/transformers/exporters/metadata.py | Ilyas Moutawwakil | 2 |
| src/transformers/exporters/quantizers/quantizer_nncf.py | Ilyas Moutawwakil | 2 |
| src/transformers/exporters/quantizers/quantizer_pt2e.py | Ilyas Moutawwakil | 2 |
| tests/exporters/test_hub.py | Ilyas Moutawwakil | 2 |
| src/transformers/models/nemotron_h_omni/video_processing_nemotron_h_omni.py | meatybobby | 2 |
| tests/models/nemotron_h_omni/test_processing_nemotron_h_omni.py | meatybobby | 2 |
| tests/models/nemotron_h_omni/test_video_processing_nemotron_h_omni.py | meatybobby | 2 |
| src/transformers/models/gradium_phonon_tts/convert_gradium_phonon_tts_to_hf.py | eustlb | 2 |
| src/transformers/models/gradium_phonon_tts/modular_gradium_phonon_tts.py | eustlb | 2 |
| tests/models/nemotron3_diarization/test_processing_nemotron3_diarization.py | eustlb | 2 |
| tests/distributed/test_checkpointing.py | Michael Benayoun | 2 |
| src/transformers/models/chmv2/convert_chmv2_to_hf.py | Yoni Gozlan | 2 |
| tests/utils/import_structures/failing_export.py | Lysandre Debut | 2 |
| tests/utils/import_structures/import_structure_register_with_duplicates.py | Lysandre Debut | 2 |
| src/transformers/integrations/mistral/__init__.py | Julien Denize | 2 |
| src/transformers/integrations/mistral/tokenizer.py | Julien Denize | 2 |
| tests/integrations/mistral/test_tokenizer.py | Julien Denize | 2 |
| src/transformers/utils/constants.py | NielsRogge | 2 |
| tests/models/olmo2/__init__.py | Shane A | 2 |
| src/transformers/generation/continuous_batching/cache_allocators/compressed_latents.py | Rémi Ouazan | 1 |
| src/transformers/models/mistral_large4/__init__.py | Rémi Ouazan | 1 |
| src/transformers/models/mistral_large4/convert_mistral_large4_to_hf.py | Rémi Ouazan | 1 |
| tests/models/mistral_large4/__init__.py | Rémi Ouazan | 1 |
| src/transformers/generation/continuous_batching/cache_allocators/cache_pool.py | Rémi Ouazan | 1 |
| tests/models/kimi_linear/__init__.py | Rémi Ouazan | 1 |
| tests/repo_utils/test_split_model_tests.py | Rémi Ouazan | 1 |
| .github/actions/vllm-ci-setup/action.yml | Yih-Dar | 1 |
| .github/actions/vllm-ci-setup/evict_page_cache.py | Yih-Dar | 1 |
| utils/collate_ci_source_deps.py | Yih-Dar | 1 |
| utils/format_ci_report.py | Yih-Dar | 1 |
| tests/utils/test_get_previous_daily_ci.py | Yih-Dar | 1 |
| .circleci/config.yml.bak | Yih-Dar | 1 |
| utils/set_cuda_devices_for_ci.py | Yih-Dar | 1 |
| src/transformers/models/kosmos2/convert_kosmos2_original_pytorch_checkpoint_to_pytorch.py | Yih-Dar | 1 |
| tests/models/kosmos2/__init__.py | Yih-Dar | 1 |
| tests/models/yoso/__init__.py | Yih-Dar | 1 |
| src/transformers/models/hy_v4_vl/__init__.py | Anton Vlasjuk | 1 |
| tests/models/hy_v4_vl/__init__.py | Anton Vlasjuk | 1 |
| tests/models/hy_v4_vl/test_image_processing_hy_v4_vl.py | Anton Vlasjuk | 1 |
| tests/models/hy_v4_vl/test_processing_hy_v4_vl.py | Anton Vlasjuk | 1 |
| tests/models/hy_v4_vl/test_video_processing_hy_v4_vl.py | Anton Vlasjuk | 1 |
| src/transformers/models/embedding_gemma2/__init__.py | Anton Vlasjuk | 1 |
| src/transformers/models/embedding_gemma2/convert_embedding_gemma2_weights.py | Anton Vlasjuk | 1 |
| tests/models/embedding_gemma2/__init__.py | Anton Vlasjuk | 1 |
| tests/models/embedding_gemma2/test_video_processing_embedding_gemma2.py | Anton Vlasjuk | 1 |
| tests/models/axk2/__init__.py | Anton Vlasjuk | 1 |
| tests/models/minicpmv4_6/__init__.py | Anton Vlasjuk | 1 |
Ownership by author
Primary owner = the author with the most commits to a file. Solely owned = files only that author has touched.
| Author | Files owned | Solely owned | Files touched |
|---|---|---|---|
| Raushan Turganbay | 935 | 16 | 2,359 |
| Cyril Vallez | 693 | 22 | 3,005 |
| Yih-Dar | 429 | 16 | 1,534 |
| guarin | 414 | 32 | 1,400 |
| Sylvain Gugger | 401 | 5 | 1,209 |
| Yoni Gozlan | 214 | 12 | 1,380 |
| Yuanyuan Chen | 199 | 0 | 1,853 |
| Lysandre Debut | 166 | 13 | 1,612 |
| Tarek Ziade | 151 | 30 | 1,250 |
| amyeroberts | 134 | 2 | 735 |
| eustlb | 101 | 37 | 360 |
| Arthur | 85 | 37 | 1,988 |
| Marc Sun | 82 | 25 | 375 |
| NielsRogge | 63 | 38 | 627 |
| Joao Gante | 60 | 1 | 967 |
| zhang-prog | 54 | 17 | 108 |
| Ilyas Moutawwakil | 49 | 21 | 706 |
| Matt | 46 | 10 | 1,648 |
| Anton Vlasjuk | 37 | 18 | 1,277 |
| Harry Mellor | 32 | 11 | 693 |
| Rémi Ouazan | 32 | 11 | 394 |
| kaixuanliu | 32 | 0 | 294 |
| Eric Bezzam | 31 | 17 | 165 |
| thomwolf | 28 | 0 | 83 |
| Nicolas Patry | 25 | 0 | 196 |
Most shared files
Files touched by the most people — shared code where changes are most likely to need coordination.
| File | Contributors | Primary owner | Owner share |
|---|---|---|---|
| src/transformers/trainer.py | 372 | Sylvain Gugger | 17.5% |
| src/transformers/__init__.py | 333 | Lysandre Debut | 9.2% |
| src/transformers/models/auto/modeling_auto.py | 310 | NielsRogge | 8.4% |
| src/transformers/modeling_utils.py | 242 | Cyril Vallez | 9.2% |
| src/transformers/models/auto/configuration_auto.py | 228 | NielsRogge | 10.1% |
| src/transformers/models/__init__.py | 223 | NielsRogge | 10.9% |
| src/transformers/training_args.py | 198 | Sylvain Gugger | 16.6% |
| src/transformers/models/auto/tokenization_auto.py | 194 | Sylvain Gugger | 7.8% |
| src/transformers/utils/dummy_pt_objects.py | 182 | NielsRogge | 14.1% |
| src/transformers/utils/import_utils.py | 159 | Yuanyuan Chen | 5.7% |
| src/transformers/tokenization_utils_base.py | 147 | Sylvain Gugger | 16.7% |
| utils/check_repo.py | 135 | NielsRogge | 10.6% |
| src/transformers/testing_utils.py | 133 | Stas Bekman | 7.6% |
| src/transformers/generation/utils.py | 131 | Joao Gante | 28.7% |
| tests/test_modeling_common.py | 129 | Raushan Turganbay | 9.8% |
| tests/trainer/test_trainer.py | 115 | Sylvain Gugger | 19.1% |
| src/transformers/models/bert/modeling_bert.py | 114 | thomwolf | 22.0% |
| src/transformers/integrations/integration_utils.py | 113 | Sylvain Gugger | 10.7% |
| setup.py | 112 | Lysandre Debut | 17.6% |
| src/transformers/utils/__init__.py | 110 | Sylvain Gugger | 10.8% |
How Transformers compares with other open source AI and machine learning projects →
How Transformers ranks among open source AI and machine learning projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true