Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit suggestions #20532

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/PyCQA/docformatter: 06907d0267368b49b9180eed423fae5697c1e909 → v1.7.5](PyCQA/docformatter@06907d0...v1.7.5)
- [github.com/sphinx-contrib/sphinx-lint: v0.9.1 → v1.0.0](sphinx-contrib/sphinx-lint@v0.9.1...v1.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.8.6](astral-sh/ruff-pre-commit@v0.5.0...v0.8.6)
- [github.com/executablebooks/mdformat: 0.7.17 → 0.7.21](hukkin/mdformat@0.7.17...0.7.21)
- [github.com/pre-commit/mirrors-prettier: v3.1.0 → v4.0.0-alpha.8](pre-commit/mirrors-prettier@v3.1.0...v4.0.0-alpha.8)
Copy link
Contributor

github-actions bot commented Jan 7, 2025

⚡ Required checks status: All passing 🟢

Groups summary

🟢 pytorch_lightning: Tests workflow
Check ID Status
pl-cpu (macOS-14, lightning, 3.9, 2.1, oldest) success
pl-cpu (macOS-14, lightning, 3.10, 2.1) success
pl-cpu (macOS-14, lightning, 3.11, 2.2.2) success
pl-cpu (macOS-14, lightning, 3.11, 2.3) success
pl-cpu (macOS-14, lightning, 3.12.7, 2.4.1) success
pl-cpu (macOS-14, lightning, 3.12.7, 2.5.1) success
pl-cpu (ubuntu-20.04, lightning, 3.9, 2.1, oldest) success
pl-cpu (ubuntu-20.04, lightning, 3.10, 2.1) success
pl-cpu (ubuntu-20.04, lightning, 3.11, 2.2.2) success
pl-cpu (ubuntu-20.04, lightning, 3.11, 2.3) success
pl-cpu (ubuntu-22.04, lightning, 3.12.7, 2.4.1) success
pl-cpu (ubuntu-22.04, lightning, 3.12.7, 2.5.1) success
pl-cpu (windows-2022, lightning, 3.9, 2.1, oldest) success
pl-cpu (windows-2022, lightning, 3.10, 2.1) success
pl-cpu (windows-2022, lightning, 3.11, 2.2.2) success
pl-cpu (windows-2022, lightning, 3.11, 2.3) success
pl-cpu (windows-2022, lightning, 3.12.7, 2.4.1) success
pl-cpu (windows-2022, lightning, 3.12.7, 2.5.1) success
pl-cpu (macOS-14, pytorch, 3.9, 2.1) success
pl-cpu (ubuntu-20.04, pytorch, 3.9, 2.1) success
pl-cpu (windows-2022, pytorch, 3.9, 2.1) success
pl-cpu (macOS-14, pytorch, 3.12.7, 2.5.1) success
pl-cpu (ubuntu-22.04, pytorch, 3.12.7, 2.5.1) success
pl-cpu (windows-2022, pytorch, 3.12.7, 2.5.1) success

These checks are required after the changes to src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py, tests/tests_pytorch/__init__.py, tests/tests_pytorch/accelerators/test_common.py, tests/tests_pytorch/accelerators/test_cpu.py, tests/tests_pytorch/accelerators/test_gpu.py, tests/tests_pytorch/accelerators/test_mps.py, tests/tests_pytorch/accelerators/test_xla.py, tests/tests_pytorch/callbacks/progress/test_rich_progress_bar.py, tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py, tests/tests_pytorch/callbacks/test_callback_hook_outputs.py, tests/tests_pytorch/callbacks/test_callbacks.py, tests/tests_pytorch/callbacks/test_device_stats_monitor.py, tests/tests_pytorch/callbacks/test_early_stopping.py, tests/tests_pytorch/callbacks/test_finetuning_callback.py, tests/tests_pytorch/callbacks/test_gradient_accumulation_scheduler.py, tests/tests_pytorch/callbacks/test_lambda_function.py, tests/tests_pytorch/callbacks/test_lr_monitor.py, tests/tests_pytorch/callbacks/test_prediction_writer.py, tests/tests_pytorch/callbacks/test_pruning.py, tests/tests_pytorch/callbacks/test_rich_model_summary.py, tests/tests_pytorch/callbacks/test_spike.py, tests/tests_pytorch/callbacks/test_stochastic_weight_avg.py, tests/tests_pytorch/callbacks/test_throughput_monitor.py, tests/tests_pytorch/callbacks/test_timer.py, tests/tests_pytorch/checkpointing/test_checkpoint_callback_frequency.py, tests/tests_pytorch/checkpointing/test_legacy_checkpoints.py, tests/tests_pytorch/checkpointing/test_model_checkpoint.py, tests/tests_pytorch/checkpointing/test_torch_saving.py, tests/tests_pytorch/checkpointing/test_trainer_checkpoint.py, tests/tests_pytorch/conftest.py, tests/tests_pytorch/core/test_datamodules.py, tests/tests_pytorch/core/test_lightning_module.py, tests/tests_pytorch/core/test_lightning_optimizer.py, tests/tests_pytorch/core/test_metric_result_integration.py, tests/tests_pytorch/core/test_results.py, tests/tests_pytorch/core/test_saving.py, tests/tests_pytorch/demos/transformer.py, tests/tests_pytorch/deprecated_api/test_no_removal_version.py, tests/tests_pytorch/helpers/__init__.py, tests/tests_pytorch/helpers/advanced_models.py, tests/tests_pytorch/helpers/datamodules.py, tests/tests_pytorch/helpers/deterministic_model.py, tests/tests_pytorch/helpers/pipelines.py, tests/tests_pytorch/helpers/runif.py, tests/tests_pytorch/helpers/simple_models.py, tests/tests_pytorch/helpers/test_models.py, tests/tests_pytorch/loggers/conftest.py, tests/tests_pytorch/loggers/test_all.py, tests/tests_pytorch/loggers/test_comet.py, tests/tests_pytorch/loggers/test_csv.py, tests/tests_pytorch/loggers/test_logger.py, tests/tests_pytorch/loggers/test_mlflow.py, tests/tests_pytorch/loggers/test_neptune.py, tests/tests_pytorch/loggers/test_tensorboard.py, tests/tests_pytorch/loggers/test_wandb.py, tests/tests_pytorch/loops/optimization/test_automatic_loop.py, tests/tests_pytorch/loops/optimization/test_closure.py, tests/tests_pytorch/loops/optimization/test_manual_loop.py, tests/tests_pytorch/loops/test_all.py, tests/tests_pytorch/loops/test_evaluation_loop.py, tests/tests_pytorch/loops/test_evaluation_loop_flow.py, tests/tests_pytorch/loops/test_fetchers.py, tests/tests_pytorch/loops/test_loops.py, tests/tests_pytorch/loops/test_prediction_loop.py, tests/tests_pytorch/loops/test_progress.py, tests/tests_pytorch/loops/test_training_epoch_loop.py, tests/tests_pytorch/loops/test_training_loop.py, tests/tests_pytorch/loops/test_training_loop_flow_dict.py, tests/tests_pytorch/loops/test_training_loop_flow_scalar.py, tests/tests_pytorch/models/test_amp.py, tests/tests_pytorch/models/test_cpu.py, tests/tests_pytorch/models/test_ddp_fork_amp.py, tests/tests_pytorch/models/test_fabric_integration.py, tests/tests_pytorch/models/test_gpu.py, tests/tests_pytorch/models/test_hooks.py, tests/tests_pytorch/models/test_hparams.py, tests/tests_pytorch/models/test_onnx.py, tests/tests_pytorch/models/test_restore.py, tests/tests_pytorch/models/test_torchscript.py, tests/tests_pytorch/models/test_tpu.py, tests/tests_pytorch/overrides/test_distributed.py, tests/tests_pytorch/plugins/precision/test_all.py, tests/tests_pytorch/plugins/precision/test_amp.py, tests/tests_pytorch/plugins/precision/test_amp_integration.py, tests/tests_pytorch/plugins/precision/test_bitsandbytes.py, tests/tests_pytorch/plugins/precision/test_deepspeed_precision.py, tests/tests_pytorch/plugins/precision/test_double.py, tests/tests_pytorch/plugins/precision/test_fsdp.py, tests/tests_pytorch/plugins/precision/test_half.py, tests/tests_pytorch/plugins/precision/test_transformer_engine.py, tests/tests_pytorch/plugins/precision/test_xla.py, tests/tests_pytorch/plugins/test_amp_plugins.py, tests/tests_pytorch/plugins/test_checkpoint_io_plugin.py, tests/tests_pytorch/plugins/test_cluster_integration.py, tests/tests_pytorch/profilers/test_profiler.py, tests/tests_pytorch/profilers/test_xla_profiler.py, tests/tests_pytorch/serve/test_servable_module_validator.py, tests/tests_pytorch/strategies/launchers/test_multiprocessing.py, tests/tests_pytorch/strategies/launchers/test_subprocess_script.py, tests/tests_pytorch/strategies/test_common.py, tests/tests_pytorch/strategies/test_custom_strategy.py, tests/tests_pytorch/strategies/test_ddp.py, tests/tests_pytorch/strategies/test_ddp_integration.py, tests/tests_pytorch/strategies/test_ddp_integration_comm_hook.py, tests/tests_pytorch/strategies/test_deepspeed.py, tests/tests_pytorch/strategies/test_fsdp.py, tests/tests_pytorch/strategies/test_model_parallel.py, tests/tests_pytorch/strategies/test_model_parallel_integration.py, tests/tests_pytorch/strategies/test_registry.py, tests/tests_pytorch/strategies/test_single_device.py, tests/tests_pytorch/strategies/test_xla.py, tests/tests_pytorch/test_cli.py, tests/tests_pytorch/trainer/connectors/test_accelerator_connector.py, tests/tests_pytorch/trainer/connectors/test_callback_connector.py, tests/tests_pytorch/trainer/connectors/test_checkpoint_connector.py, tests/tests_pytorch/trainer/connectors/test_data_connector.py, tests/tests_pytorch/trainer/connectors/test_signal_connector.py, tests/tests_pytorch/trainer/dynamic_args/test_multiple_eval_dataloaders.py, tests/tests_pytorch/trainer/flags/test_barebones.py, tests/tests_pytorch/trainer/flags/test_check_val_every_n_epoch.py, tests/tests_pytorch/trainer/flags/test_fast_dev_run.py, tests/tests_pytorch/trainer/flags/test_inference_mode.py, tests/tests_pytorch/trainer/flags/test_limit_batches.py, tests/tests_pytorch/trainer/flags/test_min_max_epochs.py, tests/tests_pytorch/trainer/flags/test_overfit_batches.py, tests/tests_pytorch/trainer/flags/test_val_check_interval.py, tests/tests_pytorch/trainer/logging_/test_distributed_logging.py, tests/tests_pytorch/trainer/logging_/test_eval_loop_logging.py, tests/tests_pytorch/trainer/logging_/test_logger_connector.py, tests/tests_pytorch/trainer/logging_/test_loop_logging.py, tests/tests_pytorch/trainer/logging_/test_train_loop_logging.py, tests/tests_pytorch/trainer/optimization/test_backward_calls.py, tests/tests_pytorch/trainer/optimization/test_manual_optimization.py, tests/tests_pytorch/trainer/optimization/test_multiple_optimizers.py, tests/tests_pytorch/trainer/optimization/test_optimizers.py, tests/tests_pytorch/trainer/properties/test_estimated_stepping_batches.py, tests/tests_pytorch/trainer/properties/test_get_model.py, tests/tests_pytorch/trainer/properties/test_log_dir.py, tests/tests_pytorch/trainer/properties/test_loggers.py, tests/tests_pytorch/trainer/test_config_validator.py, tests/tests_pytorch/trainer/test_dataloaders.py, tests/tests_pytorch/trainer/test_states.py, tests/tests_pytorch/trainer/test_trainer.py, tests/tests_pytorch/tuner/test_lr_finder.py, tests/tests_pytorch/tuner/test_scale_batch_size.py, tests/tests_pytorch/tuner/test_tuning.py, tests/tests_pytorch/utilities/migration/test_migration.py, tests/tests_pytorch/utilities/migration/test_utils.py, tests/tests_pytorch/utilities/test_all_gather_grad.py, tests/tests_pytorch/utilities/test_auto_restart.py, tests/tests_pytorch/utilities/test_combined_loader.py, tests/tests_pytorch/utilities/test_compile.py, tests/tests_pytorch/utilities/test_data.py, tests/tests_pytorch/utilities/test_deepspeed_collate_checkpoint.py, tests/tests_pytorch/utilities/test_deepspeed_model_summary.py, tests/tests_pytorch/utilities/test_dtype_device_mixin.py, tests/tests_pytorch/utilities/test_grads.py, tests/tests_pytorch/utilities/test_imports.py, tests/tests_pytorch/utilities/test_memory.py, tests/tests_pytorch/utilities/test_model_helpers.py, tests/tests_pytorch/utilities/test_model_summary.py, tests/tests_pytorch/utilities/test_parameter_tying.py, tests/tests_pytorch/utilities/test_parsing.py, tests/tests_pytorch/utilities/test_pytree.py, tests/tests_pytorch/utilities/test_seed.py, tests/tests_pytorch/utilities/test_signature_utils.py, tests/tests_pytorch/utilities/test_upgrade_checkpoint.py, tests/tests_pytorch/utilities/test_warnings.py, tests/legacy/simple_classif_training.py.

🟢 pytorch_lightning: Azure GPU
Check ID Status
pytorch-lightning (GPUs) (testing Lightning | latest) success
pytorch-lightning (GPUs) (testing PyTorch | latest) success

These checks are required after the changes to examples/pytorch/basics/backbone_image_classifier.py, examples/pytorch/basics/autoencoder.py, src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py, tests/tests_pytorch/__init__.py, tests/tests_pytorch/accelerators/test_common.py, tests/tests_pytorch/accelerators/test_cpu.py, tests/tests_pytorch/accelerators/test_gpu.py, tests/tests_pytorch/accelerators/test_mps.py, tests/tests_pytorch/accelerators/test_xla.py, tests/tests_pytorch/callbacks/progress/test_rich_progress_bar.py, tests/tests_pytorch/callbacks/progress/test_tqdm_progress_bar.py, tests/tests_pytorch/callbacks/test_callback_hook_outputs.py, tests/tests_pytorch/callbacks/test_callbacks.py, tests/tests_pytorch/callbacks/test_device_stats_monitor.py, tests/tests_pytorch/callbacks/test_early_stopping.py, tests/tests_pytorch/callbacks/test_finetuning_callback.py, tests/tests_pytorch/callbacks/test_gradient_accumulation_scheduler.py, tests/tests_pytorch/callbacks/test_lambda_function.py, tests/tests_pytorch/callbacks/test_lr_monitor.py, tests/tests_pytorch/callbacks/test_prediction_writer.py, tests/tests_pytorch/callbacks/test_pruning.py, tests/tests_pytorch/callbacks/test_rich_model_summary.py, tests/tests_pytorch/callbacks/test_spike.py, tests/tests_pytorch/callbacks/test_stochastic_weight_avg.py, tests/tests_pytorch/callbacks/test_throughput_monitor.py, tests/tests_pytorch/callbacks/test_timer.py, tests/tests_pytorch/checkpointing/test_checkpoint_callback_frequency.py, tests/tests_pytorch/checkpointing/test_legacy_checkpoints.py, tests/tests_pytorch/checkpointing/test_model_checkpoint.py, tests/tests_pytorch/checkpointing/test_torch_saving.py, tests/tests_pytorch/checkpointing/test_trainer_checkpoint.py, tests/tests_pytorch/conftest.py, tests/tests_pytorch/core/test_datamodules.py, tests/tests_pytorch/core/test_lightning_module.py, tests/tests_pytorch/core/test_lightning_optimizer.py, tests/tests_pytorch/core/test_metric_result_integration.py, tests/tests_pytorch/core/test_results.py, tests/tests_pytorch/core/test_saving.py, tests/tests_pytorch/demos/transformer.py, tests/tests_pytorch/deprecated_api/test_no_removal_version.py, tests/tests_pytorch/helpers/__init__.py, tests/tests_pytorch/helpers/advanced_models.py, tests/tests_pytorch/helpers/datamodules.py, tests/tests_pytorch/helpers/deterministic_model.py, tests/tests_pytorch/helpers/pipelines.py, tests/tests_pytorch/helpers/runif.py, tests/tests_pytorch/helpers/simple_models.py, tests/tests_pytorch/helpers/test_models.py, tests/tests_pytorch/loggers/conftest.py, tests/tests_pytorch/loggers/test_all.py, tests/tests_pytorch/loggers/test_comet.py, tests/tests_pytorch/loggers/test_csv.py, tests/tests_pytorch/loggers/test_logger.py, tests/tests_pytorch/loggers/test_mlflow.py, tests/tests_pytorch/loggers/test_neptune.py, tests/tests_pytorch/loggers/test_tensorboard.py, tests/tests_pytorch/loggers/test_wandb.py, tests/tests_pytorch/loops/optimization/test_automatic_loop.py, tests/tests_pytorch/loops/optimization/test_closure.py, tests/tests_pytorch/loops/optimization/test_manual_loop.py, tests/tests_pytorch/loops/test_all.py, tests/tests_pytorch/loops/test_evaluation_loop.py, tests/tests_pytorch/loops/test_evaluation_loop_flow.py, tests/tests_pytorch/loops/test_fetchers.py, tests/tests_pytorch/loops/test_loops.py, tests/tests_pytorch/loops/test_prediction_loop.py, tests/tests_pytorch/loops/test_progress.py, tests/tests_pytorch/loops/test_training_epoch_loop.py, tests/tests_pytorch/loops/test_training_loop.py, tests/tests_pytorch/loops/test_training_loop_flow_dict.py, tests/tests_pytorch/loops/test_training_loop_flow_scalar.py, tests/tests_pytorch/models/test_amp.py, tests/tests_pytorch/models/test_cpu.py, tests/tests_pytorch/models/test_ddp_fork_amp.py, tests/tests_pytorch/models/test_fabric_integration.py, tests/tests_pytorch/models/test_gpu.py, tests/tests_pytorch/models/test_hooks.py, tests/tests_pytorch/models/test_hparams.py, tests/tests_pytorch/models/test_onnx.py, tests/tests_pytorch/models/test_restore.py, tests/tests_pytorch/models/test_torchscript.py, tests/tests_pytorch/models/test_tpu.py, tests/tests_pytorch/overrides/test_distributed.py, tests/tests_pytorch/plugins/precision/test_all.py, tests/tests_pytorch/plugins/precision/test_amp.py, tests/tests_pytorch/plugins/precision/test_amp_integration.py, tests/tests_pytorch/plugins/precision/test_bitsandbytes.py, tests/tests_pytorch/plugins/precision/test_deepspeed_precision.py, tests/tests_pytorch/plugins/precision/test_double.py, tests/tests_pytorch/plugins/precision/test_fsdp.py, tests/tests_pytorch/plugins/precision/test_half.py, tests/tests_pytorch/plugins/precision/test_transformer_engine.py, tests/tests_pytorch/plugins/precision/test_xla.py, tests/tests_pytorch/plugins/test_amp_plugins.py, tests/tests_pytorch/plugins/test_checkpoint_io_plugin.py, tests/tests_pytorch/plugins/test_cluster_integration.py, tests/tests_pytorch/profilers/test_profiler.py, tests/tests_pytorch/profilers/test_xla_profiler.py, tests/tests_pytorch/serve/test_servable_module_validator.py, tests/tests_pytorch/strategies/launchers/test_multiprocessing.py, tests/tests_pytorch/strategies/launchers/test_subprocess_script.py, tests/tests_pytorch/strategies/test_common.py, tests/tests_pytorch/strategies/test_custom_strategy.py, tests/tests_pytorch/strategies/test_ddp.py, tests/tests_pytorch/strategies/test_ddp_integration.py, tests/tests_pytorch/strategies/test_ddp_integration_comm_hook.py, tests/tests_pytorch/strategies/test_deepspeed.py, tests/tests_pytorch/strategies/test_fsdp.py, tests/tests_pytorch/strategies/test_model_parallel.py, tests/tests_pytorch/strategies/test_model_parallel_integration.py, tests/tests_pytorch/strategies/test_registry.py, tests/tests_pytorch/strategies/test_single_device.py, tests/tests_pytorch/strategies/test_xla.py, tests/tests_pytorch/test_cli.py, tests/tests_pytorch/trainer/connectors/test_accelerator_connector.py, tests/tests_pytorch/trainer/connectors/test_callback_connector.py, tests/tests_pytorch/trainer/connectors/test_checkpoint_connector.py, tests/tests_pytorch/trainer/connectors/test_data_connector.py, tests/tests_pytorch/trainer/connectors/test_signal_connector.py, tests/tests_pytorch/trainer/dynamic_args/test_multiple_eval_dataloaders.py, tests/tests_pytorch/trainer/flags/test_barebones.py, tests/tests_pytorch/trainer/flags/test_check_val_every_n_epoch.py, tests/tests_pytorch/trainer/flags/test_fast_dev_run.py, tests/tests_pytorch/trainer/flags/test_inference_mode.py, tests/tests_pytorch/trainer/flags/test_limit_batches.py, tests/tests_pytorch/trainer/flags/test_min_max_epochs.py, tests/tests_pytorch/trainer/flags/test_overfit_batches.py, tests/tests_pytorch/trainer/flags/test_val_check_interval.py, tests/tests_pytorch/trainer/logging_/test_distributed_logging.py, tests/tests_pytorch/trainer/logging_/test_eval_loop_logging.py, tests/tests_pytorch/trainer/logging_/test_logger_connector.py, tests/tests_pytorch/trainer/logging_/test_loop_logging.py, tests/tests_pytorch/trainer/logging_/test_train_loop_logging.py, tests/tests_pytorch/trainer/optimization/test_backward_calls.py, tests/tests_pytorch/trainer/optimization/test_manual_optimization.py, tests/tests_pytorch/trainer/optimization/test_multiple_optimizers.py, tests/tests_pytorch/trainer/optimization/test_optimizers.py, tests/tests_pytorch/trainer/properties/test_estimated_stepping_batches.py, tests/tests_pytorch/trainer/properties/test_get_model.py, tests/tests_pytorch/trainer/properties/test_log_dir.py, tests/tests_pytorch/trainer/properties/test_loggers.py, tests/tests_pytorch/trainer/test_config_validator.py, tests/tests_pytorch/trainer/test_dataloaders.py, tests/tests_pytorch/trainer/test_states.py, tests/tests_pytorch/trainer/test_trainer.py, tests/tests_pytorch/tuner/test_lr_finder.py, tests/tests_pytorch/tuner/test_scale_batch_size.py, tests/tests_pytorch/tuner/test_tuning.py, tests/tests_pytorch/utilities/migration/test_migration.py, tests/tests_pytorch/utilities/migration/test_utils.py, tests/tests_pytorch/utilities/test_all_gather_grad.py, tests/tests_pytorch/utilities/test_auto_restart.py, tests/tests_pytorch/utilities/test_combined_loader.py, tests/tests_pytorch/utilities/test_compile.py, tests/tests_pytorch/utilities/test_data.py, tests/tests_pytorch/utilities/test_deepspeed_collate_checkpoint.py, tests/tests_pytorch/utilities/test_deepspeed_model_summary.py, tests/tests_pytorch/utilities/test_dtype_device_mixin.py, tests/tests_pytorch/utilities/test_grads.py, tests/tests_pytorch/utilities/test_imports.py, tests/tests_pytorch/utilities/test_memory.py, tests/tests_pytorch/utilities/test_model_helpers.py, tests/tests_pytorch/utilities/test_model_summary.py, tests/tests_pytorch/utilities/test_parameter_tying.py, tests/tests_pytorch/utilities/test_parsing.py, tests/tests_pytorch/utilities/test_pytree.py, tests/tests_pytorch/utilities/test_seed.py, tests/tests_pytorch/utilities/test_signature_utils.py, tests/tests_pytorch/utilities/test_upgrade_checkpoint.py, tests/tests_pytorch/utilities/test_warnings.py, src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py.

🟢 pytorch_lightning: Benchmarks
Check ID Status
lightning.Benchmarks success

These checks are required after the changes to src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py, tests/parity_fabric/conftest.py, tests/parity_fabric/test_parity_ddp.py, tests/parity_fabric/test_parity_simple.py, tests/parity_fabric/utils.py, tests/parity_pytorch/__init__.py, tests/parity_pytorch/models.py, tests/parity_pytorch/test_basic_parity.py, tests/parity_pytorch/test_sync_batchnorm_parity.py.

🟢 fabric: Docs
Check ID Status
docs-make (fabric, doctest) success
docs-make (fabric, html) success

These checks are required after the changes to src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py.

🟢 pytorch_lightning: Docs
Check ID Status
docs-make (pytorch, doctest) success
docs-make (pytorch, html) success

These checks are required after the changes to src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py.

🟢 lightning_fabric: CPU workflow
Check ID Status
fabric-cpu (macOS-14, lightning, 3.9, 2.1, oldest) success
fabric-cpu (macOS-14, lightning, 3.10, 2.1) success
fabric-cpu (macOS-14, lightning, 3.11, 2.2.2) success
fabric-cpu (macOS-14, lightning, 3.11, 2.3) success
fabric-cpu (macOS-14, lightning, 3.12.7, 2.4.1) success
fabric-cpu (macOS-14, lightning, 3.12.7, 2.5.1) success
fabric-cpu (ubuntu-20.04, lightning, 3.9, 2.1, oldest) success
fabric-cpu (ubuntu-20.04, lightning, 3.10, 2.1) success
fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.2.2) success
fabric-cpu (ubuntu-20.04, lightning, 3.11, 2.3) success
fabric-cpu (ubuntu-22.04, lightning, 3.12.7, 2.4.1) success
fabric-cpu (ubuntu-22.04, lightning, 3.12.7, 2.5.1) success
fabric-cpu (windows-2022, lightning, 3.9, 2.1, oldest) success
fabric-cpu (windows-2022, lightning, 3.10, 2.1) success
fabric-cpu (windows-2022, lightning, 3.11, 2.2.2) success
fabric-cpu (windows-2022, lightning, 3.11, 2.3) success
fabric-cpu (windows-2022, lightning, 3.12.7, 2.4.1) success
fabric-cpu (windows-2022, lightning, 3.12.7, 2.5.1) success
fabric-cpu (macOS-14, fabric, 3.9, 2.1) success
fabric-cpu (ubuntu-20.04, fabric, 3.9, 2.1) success
fabric-cpu (windows-2022, fabric, 3.9, 2.1) success
fabric-cpu (macOS-14, fabric, 3.12.7, 2.5.1) success
fabric-cpu (ubuntu-22.04, fabric, 3.12.7, 2.5.1) success
fabric-cpu (windows-2022, fabric, 3.12.7, 2.5.1) success

These checks are required after the changes to src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, tests/tests_fabric/accelerators/test_cpu.py, tests/tests_fabric/accelerators/test_cuda.py, tests/tests_fabric/accelerators/test_mps.py, tests/tests_fabric/accelerators/test_registry.py, tests/tests_fabric/accelerators/test_xla.py, tests/tests_fabric/conftest.py, tests/tests_fabric/helpers/runif.py, tests/tests_fabric/loggers/test_csv.py, tests/tests_fabric/loggers/test_tensorboard.py, tests/tests_fabric/plugins/collectives/test_single_device.py, tests/tests_fabric/plugins/collectives/test_torch_collective.py, tests/tests_fabric/plugins/environments/test_kubeflow.py, tests/tests_fabric/plugins/environments/test_lightning.py, tests/tests_fabric/plugins/environments/test_lsf.py, tests/tests_fabric/plugins/environments/test_mpi.py, tests/tests_fabric/plugins/environments/test_slurm.py, tests/tests_fabric/plugins/environments/test_torchelastic.py, tests/tests_fabric/plugins/environments/test_xla.py, tests/tests_fabric/plugins/precision/test_all.py, tests/tests_fabric/plugins/precision/test_amp.py, tests/tests_fabric/plugins/precision/test_amp_integration.py, tests/tests_fabric/plugins/precision/test_bitsandbytes.py, tests/tests_fabric/plugins/precision/test_deepspeed.py, tests/tests_fabric/plugins/precision/test_deepspeed_integration.py, tests/tests_fabric/plugins/precision/test_double.py, tests/tests_fabric/plugins/precision/test_double_integration.py, tests/tests_fabric/plugins/precision/test_fsdp.py, tests/tests_fabric/plugins/precision/test_half.py, tests/tests_fabric/plugins/precision/test_transformer_engine.py, tests/tests_fabric/plugins/precision/test_utils.py, tests/tests_fabric/plugins/precision/test_xla.py, tests/tests_fabric/plugins/precision/test_xla_integration.py, tests/tests_fabric/strategies/launchers/test_multiprocessing.py, tests/tests_fabric/strategies/launchers/test_multiprocessing_integration.py, tests/tests_fabric/strategies/launchers/test_subprocess_script.py, tests/tests_fabric/strategies/test_ddp.py, tests/tests_fabric/strategies/test_ddp_integration.py, tests/tests_fabric/strategies/test_deepspeed.py, tests/tests_fabric/strategies/test_deepspeed_integration.py, tests/tests_fabric/strategies/test_dp.py, tests/tests_fabric/strategies/test_fsdp.py, tests/tests_fabric/strategies/test_fsdp_integration.py, tests/tests_fabric/strategies/test_model_parallel.py, tests/tests_fabric/strategies/test_model_parallel_integration.py, tests/tests_fabric/strategies/test_single_device.py, tests/tests_fabric/strategies/test_strategy.py, tests/tests_fabric/strategies/test_xla.py, tests/tests_fabric/strategies/test_xla_fsdp.py, tests/tests_fabric/strategies/test_xla_fsdp_integration.py, tests/tests_fabric/test_cli.py, tests/tests_fabric/test_connector.py, tests/tests_fabric/test_fabric.py, tests/tests_fabric/test_wrappers.py, tests/tests_fabric/utilities/test_apply_func.py, tests/tests_fabric/utilities/test_cloud_io.py, tests/tests_fabric/utilities/test_consolidate_checkpoint.py, tests/tests_fabric/utilities/test_data.py, tests/tests_fabric/utilities/test_device_dtype_mixin.py, tests/tests_fabric/utilities/test_device_parser.py, tests/tests_fabric/utilities/test_distributed.py, tests/tests_fabric/utilities/test_init.py, tests/tests_fabric/utilities/test_load.py, tests/tests_fabric/utilities/test_logger.py, tests/tests_fabric/utilities/test_optimizer.py, tests/tests_fabric/utilities/test_rank_zero.py, tests/tests_fabric/utilities/test_seed.py, tests/tests_fabric/utilities/test_spike.py, tests/tests_fabric/utilities/test_throughput.py, tests/tests_fabric/utilities/test_warnings.py.

🟢 lightning_fabric: Azure GPU
Check ID Status
lightning-fabric (GPUs) (testing Fabric | latest) success
lightning-fabric (GPUs) (testing Lightning | latest) success

These checks are required after the changes to examples/fabric/build_your_own_trainer/run.py, examples/fabric/build_your_own_trainer/trainer.py, examples/fabric/dcgan/train_fabric.py, examples/fabric/fp8_distributed_transformer/train.py, examples/fabric/image_classifier/train_fabric.py, examples/fabric/kfold_cv/train_fabric.py, examples/fabric/language_model/train.py, examples/fabric/meta_learning/train_fabric.py, examples/fabric/reinforcement_learning/rl/agent.py, examples/fabric/reinforcement_learning/train_fabric.py, examples/fabric/reinforcement_learning/train_fabric_decoupled.py, examples/fabric/tensor_parallel/train.py, src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, tests/tests_fabric/accelerators/test_cpu.py, tests/tests_fabric/accelerators/test_cuda.py, tests/tests_fabric/accelerators/test_mps.py, tests/tests_fabric/accelerators/test_registry.py, tests/tests_fabric/accelerators/test_xla.py, tests/tests_fabric/conftest.py, tests/tests_fabric/helpers/runif.py, tests/tests_fabric/loggers/test_csv.py, tests/tests_fabric/loggers/test_tensorboard.py, tests/tests_fabric/plugins/collectives/test_single_device.py, tests/tests_fabric/plugins/collectives/test_torch_collective.py, tests/tests_fabric/plugins/environments/test_kubeflow.py, tests/tests_fabric/plugins/environments/test_lightning.py, tests/tests_fabric/plugins/environments/test_lsf.py, tests/tests_fabric/plugins/environments/test_mpi.py, tests/tests_fabric/plugins/environments/test_slurm.py, tests/tests_fabric/plugins/environments/test_torchelastic.py, tests/tests_fabric/plugins/environments/test_xla.py, tests/tests_fabric/plugins/precision/test_all.py, tests/tests_fabric/plugins/precision/test_amp.py, tests/tests_fabric/plugins/precision/test_amp_integration.py, tests/tests_fabric/plugins/precision/test_bitsandbytes.py, tests/tests_fabric/plugins/precision/test_deepspeed.py, tests/tests_fabric/plugins/precision/test_deepspeed_integration.py, tests/tests_fabric/plugins/precision/test_double.py, tests/tests_fabric/plugins/precision/test_double_integration.py, tests/tests_fabric/plugins/precision/test_fsdp.py, tests/tests_fabric/plugins/precision/test_half.py, tests/tests_fabric/plugins/precision/test_transformer_engine.py, tests/tests_fabric/plugins/precision/test_utils.py, tests/tests_fabric/plugins/precision/test_xla.py, tests/tests_fabric/plugins/precision/test_xla_integration.py, tests/tests_fabric/strategies/launchers/test_multiprocessing.py, tests/tests_fabric/strategies/launchers/test_multiprocessing_integration.py, tests/tests_fabric/strategies/launchers/test_subprocess_script.py, tests/tests_fabric/strategies/test_ddp.py, tests/tests_fabric/strategies/test_ddp_integration.py, tests/tests_fabric/strategies/test_deepspeed.py, tests/tests_fabric/strategies/test_deepspeed_integration.py, tests/tests_fabric/strategies/test_dp.py, tests/tests_fabric/strategies/test_fsdp.py, tests/tests_fabric/strategies/test_fsdp_integration.py, tests/tests_fabric/strategies/test_model_parallel.py, tests/tests_fabric/strategies/test_model_parallel_integration.py, tests/tests_fabric/strategies/test_single_device.py, tests/tests_fabric/strategies/test_strategy.py, tests/tests_fabric/strategies/test_xla.py, tests/tests_fabric/strategies/test_xla_fsdp.py, tests/tests_fabric/strategies/test_xla_fsdp_integration.py, tests/tests_fabric/test_cli.py, tests/tests_fabric/test_connector.py, tests/tests_fabric/test_fabric.py, tests/tests_fabric/test_wrappers.py, tests/tests_fabric/utilities/test_apply_func.py, tests/tests_fabric/utilities/test_cloud_io.py, tests/tests_fabric/utilities/test_consolidate_checkpoint.py, tests/tests_fabric/utilities/test_data.py, tests/tests_fabric/utilities/test_device_dtype_mixin.py, tests/tests_fabric/utilities/test_device_parser.py, tests/tests_fabric/utilities/test_distributed.py, tests/tests_fabric/utilities/test_init.py, tests/tests_fabric/utilities/test_load.py, tests/tests_fabric/utilities/test_logger.py, tests/tests_fabric/utilities/test_optimizer.py, tests/tests_fabric/utilities/test_rank_zero.py, tests/tests_fabric/utilities/test_seed.py, tests/tests_fabric/utilities/test_spike.py, tests/tests_fabric/utilities/test_throughput.py, tests/tests_fabric/utilities/test_warnings.py.

🟢 mypy
Check ID Status
mypy success

These checks are required after the changes to requirements/collect_env_details.py, src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py.

🟢 install
Check ID Status
install-pkg (ubuntu-22.04, fabric, 3.9) success
install-pkg (ubuntu-22.04, fabric, 3.11) success
install-pkg (ubuntu-22.04, pytorch, 3.9) success
install-pkg (ubuntu-22.04, pytorch, 3.11) success
install-pkg (ubuntu-22.04, lightning, 3.9) success
install-pkg (ubuntu-22.04, lightning, 3.11) success
install-pkg (ubuntu-22.04, notset, 3.9) success
install-pkg (ubuntu-22.04, notset, 3.11) success
install-pkg (macOS-14, fabric, 3.9) success
install-pkg (macOS-14, fabric, 3.11) success
install-pkg (macOS-14, pytorch, 3.9) success
install-pkg (macOS-14, pytorch, 3.11) success
install-pkg (macOS-14, lightning, 3.9) success
install-pkg (macOS-14, lightning, 3.11) success
install-pkg (macOS-14, notset, 3.9) success
install-pkg (macOS-14, notset, 3.11) success
install-pkg (windows-2022, fabric, 3.9) success
install-pkg (windows-2022, fabric, 3.11) success
install-pkg (windows-2022, pytorch, 3.9) success
install-pkg (windows-2022, pytorch, 3.11) success
install-pkg (windows-2022, lightning, 3.9) success
install-pkg (windows-2022, lightning, 3.11) success
install-pkg (windows-2022, notset, 3.9) success
install-pkg (windows-2022, notset, 3.11) success

These checks are required after the changes to src/lightning/fabric/_graveyard/tpu.py, src/lightning/fabric/connector.py, src/lightning/fabric/strategies/deepspeed.py, src/lightning/fabric/strategies/model_parallel.py, src/lightning/pytorch/callbacks/early_stopping.py, src/lightning/pytorch/loggers/utilities.py, src/lightning/pytorch/strategies/deepspeed.py, src/lightning/pytorch/trainer/connectors/logger_connector/result.py, requirements/collect_env_details.py.


Thank you for your contribution! 💜

Note
This comment is automatically generated and updates for 60 minutes every 180 seconds. If you have any other questions, contact carmocca for help.

.pre-commit-config.yaml Outdated Show resolved Hide resolved
.pre-commit-config.yaml Outdated Show resolved Hide resolved
@pre-commit-ci pre-commit-ci bot requested a review from williamFalcon as a code owner January 7, 2025 10:32
@github-actions github-actions bot added ci Continuous Integration fabric lightning.fabric.Fabric pl Generic label for PyTorch Lightning package package data labels Jan 7, 2025
Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88%. Comparing base (76f0c54) to head (5ed3c56).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20532   +/-   ##
=======================================
  Coverage      88%      88%           
=======================================
  Files         267      267           
  Lines       23380    23380           
=======================================
  Hits        20481    20481           
  Misses       2899     2899           

@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Jan 7, 2025
@Borda Borda merged commit 1b26ac4 into master Jan 7, 2025
104 of 105 checks passed
@Borda Borda deleted the pre-commit-ci-update-config branch January 7, 2025 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration data dependencies Pull requests that update a dependency file fabric lightning.fabric.Fabric package pl Generic label for PyTorch Lightning package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant