Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/pr-ci-caller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
branches:
- main
- ci-*
- try_smaller_group

concurrency:
# Group by PR number, commit SHA (main) to avoid cross-branch cancellation, or branch ref for cancellation within each branch
Expand All @@ -19,5 +20,5 @@ permissions:
jobs:
pr-ci:
# DON'T use commit sha here before the CI migration is finished
uses: huggingface/transformers-test-ci/.github/workflows/pr-ci_dynamic_caller_example.yml@main # main
uses: huggingface/transformers-test-ci/.github/workflows/pr-ci_dynamic_caller_example.yml@debug_checkout # small_runner

2 changes: 2 additions & 0 deletions src/transformers/modeling_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,8 @@ class PreTrainedModel(nn.Module, EmbeddingAccessMixin, ModuleUtilsMixin, PushToH
- **can_record_outputs** (dict):
"""

b = 1

# General model properties
config_class: type[PreTrainedConfig] | None = None
generation_config_class: type[GenerationConfig] = GenerationConfig # default, used with `GenerationMixin`
Expand Down
1 change: 1 addition & 0 deletions utils/tests_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@

# List here the models not to be filtered by `filter_tests`.

a = 1

PATH_TO_REPO = Path(__file__).parent.parent.resolve()
PATH_TO_EXAMPLES = PATH_TO_REPO / "examples"
Expand Down
Loading