github pytorch/ignite v0.5.4

6 hours ago

What's Changed

  • Updated pth docker version by @vfdev-5 in #3467
  • Fixed stable conda release by @vfdev-5 in #3468
  • Bump astral-sh/setup-uv from 6 to 7 in the github-actions group by @dependabot[bot] in #3469
  • Bump actions/checkout from 5 to 6 in the github-actions group by @dependabot[bot] in #3470
  • Removed sync arg from wandb.log by @DanielNobbe in #3472
  • Enable Pyrefly type checking by @rchen152 in #3474
  • Remove mypy and clean up type checker suppression comments by @rchen152 in #3475
  • Bump actions/cache from 4 to 5 in the github-actions group by @dependabot[bot] in #3477
  • [skip ci] fix type hints of OuptutHandlers based on its base class. by @gabrielfruet in #3480
  • Added merge_group in gha yml to run tests in the merge queue by @vfdev-5 in #3491
  • refactor Optional[Union[...]] w | for utils.py; by @maifeeulasad in #3482
  • Replace Union with | syntax in root_mean_squared_error.py by @JonSnow1807 in #3484
  • Replace Union with | syntax in psnr.py by @JonSnow1807 in #3490
  • Replace Union with | syntax in mean_absolute_error.py by @JonSnow1807 in #3486
  • Replace Union with | syntax in mean_squared_error.py by @JonSnow1807 in #3485
  • Replace Union with | syntax in frequency.py by @JonSnow1807 in #3487
  • Replace Union with | syntax in average_precision.py by @JonSnow1807 in #3488
  • Replace Union with | syntax in cosine_similarity.py by @JonSnow1807 in #3489
  • refactor Union[A, B] w A | B and Optional[A] w A | None for common.py by @maifeeulasad in #3483
  • Fix pyrefly type error and modernize type hints in CohenKappa by @Copilot in #3495
  • Refactor type hints in tensorboard_logger.py for python 3.10 by @gabrielfruet in #3492
  • Modernize type hints in metric_group.py to Python 3.10+ syntax by @Copilot in #3496
  • Modernize type hints in accuracy.py to Python 3.10+ syntax by @Copilot in #3497
  • Fix pyrefly type errors and modernize type hints in LR scheduler classes by @Copilot in #3500
  • Refactor type hints in median_absolute_error.py by @leelakrishnaRajasimha in #3498
  • Update loss.py type hints to Python 3.10+ syntax by @Copilot in #3501
  • Modernize type hints in fbeta.py to Python 3.10+ syntax by @Copilot in #3504
  • Fix error message typo and remove redundant type casts by @Copilot in #3503
  • Modernize type hints in engine.py to use Python 3.10+ syntax by @aaishwarymishra in #3509
  • Refactor type hints in events.py to use Python 3.10+ syntax by @aaishwarymishra in #3510
  • Update type hints to Python 3.10+ in ignite/metrics/roc_auc.py by @davideticchiarelli01 in #3512
  • update Checkpoint.call signature by @rwtarpit in #3511
  • Update type hints in handlers/base_logger.py to to Python 3.10+ syntax by @rwtarpit in #3505
  • Add ability to choose between flattening or using named for nested metrics. by @gabrielfruet in #3514
  • Modernize type hints to Python 3.10+ in handlers/checkpoint.py. by @atharva7-g in #3515
  • Add retry mechanism to linkcheck job with 3 attempts by @Copilot in #3517
  • Add min_delta_mode parameter to EarlyStopping and update logic for sc… by @aaishwarymishra in #3516
  • Update type hints in accumulation.py to PEP 604 syntax by @Copilot in #3518
  • Remove Visdom dependency and update documentation by @Copilot in #3526
  • Update Python version requirements and targets by @vfdev-5 in #3524
  • refactor: improve Checkpoint-Serialize consistency for state_dict by @rwtarpit in #3519
  • Fix: Remove unnecessary pbar initialization by @TahaZahid05 in #3523
  • Enhance EarlyStopping with mode and min_delta_mode parameters for imp… by @aaishwarymishra in #3520
  • Modernize_type_hints_to_Python_3.10+_in_engine/deterministic.py by @marko-pavlovich in #3527
  • refactor: update type hints to use Python 3.10+ syntax in utils and c… by @aaishwarymishra in #3529
  • refactor: update type hints to use Python 3.10+ syntax in utils and … by @aaishwarymishra in #3534
  • Fix: Replace legacy TextCNN with modern DistilBERT example by @TahaZahid05 in #3533
  • Add an attach function to ParamScheduler. by @atharva7-g in #3532
  • Modernize type hints to Python 3.10+ in ignite/contrib/engines/tbptt.py by @Ayush-Aditya in #3538
  • replace typing hints in examples/cifar10 by @omkar-334 in #3541
  • replace typing hints in examples/references/classification/imagenet/vis.py by @omkar-334 in #3543
  • replace typing hints in tests/ignite/handlers/ by @omkar-334 in #3544
  • replace typing hints in examples/references/classification/imagenet/dataflow.py by @omkar-334 in #3542
  • bump minimum Python version to 3.10 by @omkar-334 in #3548
  • replace typing hints in ignite/base/mixins.py by @omkar-334 in #3556
  • replace typing hints in ignite/contrib/metrics/regression/_base.py by @omkar-334 in #3557
  • replace typing hints in ignite/distributed/launcher.py by @omkar-334 in #3559
  • [Feature] Implement HitRate metric for RecSys by @rwtarpit in #3530
  • Add .devcontainer for GitHub Codespaces support by @steaphenai in #3567
  • Fix prettier formatting in .devcontainer/devcontainer.json and add to code-style CI triggers by @Copilot in #3570
  • refactor super() in tests/ by @omkar-334 in #3554
  • Mcc metric by @aaishwarymishra in #3537
  • refactor super() in ignite/handlers by @omkar-334 in #3550
  • refactor super() in remaining examples by @omkar-334 in #3549
  • refactor super() in remaining files by @omkar-334 in #3555
  • replace typing hints in ignite/distributed/utils.py by @omkar-334 in #3560
  • replace typing hints in tests/ignite/metrics by @omkar-334 in #3546
  • replace typing hints in ignite/metrics/gpu_info.py by @steaphenai in #3580
  • refactor super() in examples/mnist by @omkar-334 in #3552
  • replace typing hints in ignite/distributed/comp_models/base.py by @omkar-334 in #3562
  • replace typing hints in ignite/distributed/auto.py by @omkar-334 in #3558
  • Add fallback handling in global_step_from_engine for unregistered events by @Ayush-Aditya in #3566
  • Fix docs CI failures: short-name nitpick_ignore entries, updated intersphinx/Neptune/XLA URLs, fallback in global_step_from_engine by @Copilot in #3583
  • Fix linkcheck CI: add allowed redirects for pytorch.org, clearml, horovod, wandb by @Copilot in #3587
  • Add py-rouge implementation in tests and remove py-rouge/setuptools dependencies by @omkar-334 in #3575
  • replace typing hints in ignite/distributed/comp_models/__init__.py by @omkar-334 in #3561
  • Update torch dependency version to 2.2 by @vfdev-5 in #3588
  • replace typing hints in tests/ignite/engine/ by @omkar-334 in #3545
  • Replace typing hints with new version in ignite/engine/__init__.py by @kyuksel in #3576
  • refactor super() in ignite/metrics by @omkar-334 in #3551
  • Introduce ResettableHandler interface and attach() method by @TahaZahid05 in #3564
  • MetricsLambda and ClassificationReport ability to use metrics_result_mode. by @gabrielfruet in #3531
  • Fix Optional and Union typing hints in ignite/handlers/ema_handler.py by @ramyars466 in #3590
  • Replace old-style typing hints in handlers/state_param_scheduler.py by @Manimaran-tech in #3592
  • Added type hints for Optional and collection types by @suryanshcode2601 in #3582
  • Fix outdated wandb init() docs URL in WandBLogger docstring by @Copilot in #3614
  • fix: replace Optional typing hints with Python 3.10+ syntax in handlers by @ramyars466 in #3584
  • replace typing hints in ignite/handlers/tqdm_logger.py by @roli-lpci in #3591
  • Fix #3481: Replace typing hints in stores.py by @ramyars466 in #3594
  • Replace typing module hints with modern syntax in handlers core utils by @Manimaran-tech in #3596
  • Replace typing module hints with modern syntax in handlers schedulers by @Manimaran-tech in #3597
  • Replace typing module hints with modern syntax in metrics/gan by @Manimaran-tech in #3601
  • Replace typing module hints with modern syntax in metrics/clustering by @Manimaran-tech in #3604
  • Replace typing module hints with modern syntax in metrics core (metrics_lambda, precision, running_average, ssim) by @Manimaran-tech in #3602
  • Replace typing module hints with modern syntax in metrics/nlp by @Manimaran-tech in #3599
  • Replace old typing in top_k_categorical_aaccuracy.py by @rogueslasher in #3609
  • Replace old typing hints with Python 3.10 syntax in visdom_logger.py by @rogueslasher in #3615
  • fix: resolve doctest failures in FID and CalinskiHarabaszScore metrics by @TahaZahid05 in #3612
  • Refactor type hints and imports in metrics by @aaishwarymishra in #3629
  • Implement Ray Tune example with Ignite by @atharva7-g in #3574
  • Refactor type hints for consistency in regression metrics by @aaishwarymishra in #3630
  • Refactored: Modernize type hints in handlers/ by @TahaZahid05 in #3632
  • Refactor type hints for consistency in regression metrics by @aaishwarymishra in #3633
  • Updating the docs to use default sphinx search by @aaishwarymishra in #3636
  • Refactored: Modernized type hints in distributed/ by @TahaZahid05 in #3644
  • Refactored: Modernize type hints in engine/ by @TahaZahid05 in #3643
  • replace process.wait() with process.communicate() in execute() to prevent deadlock by @TahaZahid05 in #3651
  • Remove broken Neptune app links causing linkcheck CI failures by @Copilot in #3657
  • Added nb-clean to pre-commit config by @Prathamesh8989 in #3618
  • fix: skip tcp:// init_method with torchrun on nightly builds by @TahaZahid05 in #3658
  • [skip-ci] Update .git-blame-ignore-revs with new commit hashes by @vfdev-5 in #3664
  • Copilot/update type hints in files again by @aaishwarymishra in #3626
  • Unpin nltk dependency by @malfet in #3669
  • docs/refactor: fix typos and modernize super() in Precision and Recall by @Prathamesh8989 in #3674
  • Fix device mismatch in object detection metrics and improve multi-device testing by @TahaZahid05 in #3667
  • docs: fix typos and improve grammar in distributed.rst by @Prathamesh8989 in #3673
  • fix: validate n_saved in Checkpoint to reject non-positive values by @PewterZz in #3682
  • add tests for uncovered lines in engine.py by @rogueslasher in #3660
  • Enhance search functionality and improve documentation layout by @aaishwarymishra in #3647
  • Modernize type hints in OD and mAP metrics by @TahaZahid05 in #3683
  • Fix: Adopt master address and port from environment in native spawn by @Sriniketh99 in #3684
  • Fix torch.load calls to explicitly set weights_only=True by @rogueslasher in #3639
  • Add fairness and bias metrics by @TahaZahid05 in #3627
  • docs: fix typos in rouge.py and deterministic.py by @nightcityblade in #3686
  • fix: return NaN for invalid cluster counts in CalinskiHarabaszScore by @nightcityblade in #3656
  • Modernize type hints across ignite codebase to Python 3.10+ style by @Copilot in #3689
  • Fixed remaining old typehints mentions by @vfdev-5 in #3690
  • fix: report definition site in Metric.getattr on AttributeError by @rogueslasher in #3666
  • Fix invalid cluster handling in SilhouetteScore by @HimanshuSingh-966 in #3677
  • Fix ruff-format for Jupyter files and refactor codebase by @aaishwarymishra in #3694
  • Update Docker configurations: upgrade PyTorch version and adjust installation commands by @aaishwarymishra in #3695
  • Fix: DaviesBouldinScore returns NaN for invalid cluster counts by @Copilot in #3699
  • Update PyTorch version to 2.11 in docker configuration by @vfdev-5 in #3698
  • Add BatchSizeScheduler handler for dynamic batch size scheduling by @rogueslasher in #3697
  • docs: fix typos in metric docstrings and test comments by @nightcityblade in #3700

New Contributors

Full Changelog: v0.5.3...v0.5.4

Don't miss a new ignite release

NewReleases is sending notifications on new releases.