Skip to content

Commit

Permalink
CI fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
visheratin committed Apr 24, 2024
1 parent 4e1aeef commit e8eadd2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/transformers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3910,8 +3910,8 @@
"get_inverse_sqrt_schedule",
"get_linear_schedule_with_warmup",
"get_polynomial_decay_schedule_with_warmup",
"get_wsd_schedule",
"get_scheduler",
"get_wsd_schedule",
]
_import_structure["pytorch_utils"] = [
"Conv1D",
Expand Down
8 changes: 4 additions & 4 deletions src/transformers/utils/dummy_pt_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -10019,14 +10019,14 @@ def get_polynomial_decay_schedule_with_warmup(*args, **kwargs):
requires_backends(get_polynomial_decay_schedule_with_warmup, ["torch"])


def get_wsd_schedule(*args, **kwargs):
requires_backends(get_wsd_schedule, ["torch"])


def get_scheduler(*args, **kwargs):
requires_backends(get_scheduler, ["torch"])


def get_wsd_schedule(*args, **kwargs):
requires_backends(get_wsd_schedule, ["torch"])


class Conv1D(metaclass=DummyObject):
_backends = ["torch"]

Expand Down

0 comments on commit e8eadd2

Please sign in to comment.