Skip to content

Commit

Permalink
Skip pt 2.1 tests incompatible with new jsonargparse
Browse files Browse the repository at this point in the history
  • Loading branch information
lantiga committed Dec 21, 2024
1 parent 2695a3e commit 86e3492
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests_pytorch/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -754,6 +754,7 @@ def add_arguments_to_parser(self, parser):


@_xfail_python_ge_3_11_9
@RunIf(min_torch="2.2")
@pytest.mark.parametrize("use_generic_base_class", [False, True])
def test_lightning_cli_optimizers_and_lr_scheduler_with_link_to(use_generic_base_class):
class MyLightningCLI(LightningCLI):
Expand Down Expand Up @@ -801,6 +802,7 @@ def __init__(self, optim1: dict, optim2: dict, scheduler: dict):


@_xfail_python_ge_3_11_9
@RunIf(min_torch="2.2")
def test_lightning_cli_optimizers_and_lr_scheduler_with_callable_type():
class TestModel(BoringModel):
def __init__(
Expand Down

0 comments on commit 86e3492

Please sign in to comment.