@@ -259,6 +259,18 @@ def mock_xla_available(monkeypatch: pytest.MonkeyPatch, value: bool = True) -> N
259259 monkeypatch .setattr ("pytorch_lightning_enterprise.plugins.environments.xla._XLA_AVAILABLE" , value )
260260 monkeypatch .setattr ("pytorch_lightning_enterprise.plugins.environments.xla._XLA_GREATER_EQUAL_2_1" , value )
261261 monkeypatch .setattr ("pytorch_lightning_enterprise.plugins.precision.xla._XLA_AVAILABLE" , value )
262+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.single._XLA_AVAILABLE" , value )
263+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.single._XLA_GREATER_EQUAL_2_1" , value )
264+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.single_device._XLA_GREATER_EQUAL_2_5" , value )
265+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.ddp._XLA_AVAILABLE" , value )
266+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.ddp._XLA_GREATER_EQUAL_2_1" , value )
267+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.ddp._XLA_GREATER_EQUAL_2_5" , value )
268+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.fsdp._XLA_AVAILABLE" , value )
269+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.fsdp._XLA_GREATER_EQUAL_2_1" , value )
270+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.fsdp._XLA_GREATER_EQUAL_2_5" , value )
271+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.launcher._XLA_AVAILABLE" , value )
272+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.launcher._XLA_GREATER_EQUAL_2_1" , value )
273+ monkeypatch .setattr ("pytorch_lightning_enterprise.strategies.xla.launcher._XLA_GREATER_EQUAL_2_5" , value )
262274
263275
264276@pytest .fixture
0 commit comments