codeflare-sdk
codeflare-sdk copied to clipboard
Bump the requirements-txt group across 2 directories with 3 updates
Bumps the requirements-txt group with 3 updates in the /demo-notebooks/guided-demos directory: pytorch-lightning, torchmetrics and torchvision. Bumps the requirements-txt group with 3 updates in the /tests/e2e directory: pytorch-lightning, torchmetrics and torchvision.
Updates pytorch-lightning from 1.9.5 to 2.4.0
Release notes
Sourced from pytorch-lightning's releases.
Lightning v2.4
Lightning AI :zap: is excited to announce the release of Lightning 2.4. This is mainly a compatibility upgrade for PyTorch 2.4 and Python 3.12, with a sprinkle of a few features and bug fixes.
Did you know? The Lightning philosophy extends beyond a boilerplate-free deep learning framework: We've been hard at work bringing you Lightning Studio. Code together, prototype, train, deploy, host AI web apps. All from your browser, with zero setup.
Changes
PyTorch Lightning
- Made saving non-distributed checkpoints fully atomic (#20011)
- Added
dump_statsflag toAdvancedProfiler(#19703)- Added a flag
verboseto theseed_everything()function (#20108)- Added support for PyTorch 2.4 (#20010)
- Added support for Python 3.12 (20078)
- The
TQDMProgressBarnow provides an option to retain prior training epoch bars (#19578)- Added the count of modules in train and eval mode to the printed
ModelSummarytable (#20159)
- Triggering KeyboardInterrupt (Ctrl+C) during
.fit(),.evaluate(),.test()or.predict()now terminates all processes launched by the Trainer and exits the program (#19976)- Changed the implementation of how seeds are chosen for dataloader workers when using
seed_everything(..., workers=True)(#20055)- NumPy is no longer a required dependency (#20090)
- Avoid LightningCLI saving hyperparameters with
class_pathandinit_argssince this would be a breaking change (#20068)- Fixed an issue that would cause too many printouts of the seed info when using
seed_everything()(#20108)- Fixed
_LoggerConnector's_ResultMetricto move all registered keys to the device of the logged value if needed (#19814)- Fixed
_optimizer_to_devicelogic for special 'step' key in optimizer state causing performance regression (#20019)- Fixed parameter counts in
ModelSummarywhen model has distributed parameters (DTensor) (#20163)Lightning Fabric
... (truncated)
Commits
2129fdffix(ci): resolve input str -> num conversion (#20169)cf24a19fix(docs): remove dead link from readme (#20170)a3e60adci/docs: disable optional cache pkg (#20168)87ffd8cci: fix cleaning caches (#20167)b3ee85dPrepare Lightning 2.4.0 release (#20154)631911cAdd special logic for 'step' in _optimizer_to_device (#20019)345450bFix parameter count in ModelSummary when parameters are DTensors (#20163)3de60f4docs: fix typo inlinkcheck_ignore(#20164)e9d4ef8Add diffusion example to README (#20161)d4de8e2Count number of modules in train/eval mode in ModelSummary (#20159)- Additional commits viewable in compare view
Updates torchmetrics from 0.9.1 to 1.4.2
Release notes
Sourced from torchmetrics's releases.
Minor patch release
[1.4.2] - 2022-09-12
Added
- Re-adding
Chrfimplementation (#2701)Fixed
- Fixed wrong aggregation in
segmentation.MeanIoU(#2698)- Fixed handling zero division error in binary IoU (Jaccard index) calculation (#2726)
- Corrected the padding related calculation errors in SSIM (#2721)
- Fixed compatibility of audio domain with new
scipy(#2733)- Fixed how
prefix/postfixworks inMultitaskWrapper(#2722)- Fixed flakiness in tests related to
torch.uniquewithdim=None(#2650)
Key Contributors
@Borda,@petertheprocess,@rittik9,@SkafteNicki,@vkinakhIf we forgot someone due to not matching commit email with GitHub account, let us know :]
Full Changelog: https://github.com/Lightning-AI/torchmetrics/compare/v1.4.1...v1.4.2
Minor patch release
[1.4.1] - 2024-08-02
Changed
- Calculate the text color of
ConfusionMatrixplot based on luminance (#2590)- Updated
_safe_divideto allowAccuracyto run on the GPU (#2640)- Improved better error messages for intersection detection metrics for wrong user input (#2577)
Removed
- Dropped
Chrfimplementation due to licensing issues with the upstream package (#2668)Fixed
- Fixed bug in
MetricCollectionwhen using compute groups andcomputeis called more than once (#2571)- Fixed class order of
panoptic_quality(..., return_per_class=True)output (#2548)- Fixed
BootstrapWrappernot being reset correctly (#2574)- Fixed integration between
ClasswiseWrapperandMetricCollectionwith custom_filter_kwargsmethod (#2575)- Fixed BertScore calculation: pred target misalignment (#2347)
- Fixed
_cumsumhelper function in multi-gpu (#2636)- Fixed bug in
MeanAveragePrecision.coco_to_tm(#2588)
... (truncated)
Changelog
Sourced from torchmetrics's changelog.
[1.4.2] - 2022-09-12
Added
- Re-adding
Chrfimplementation (#2701)Fixed
Fixed wrong aggregation in
segmentation.MeanIoU(#2698)Fixed handling zero division error in binary IoU (Jaccard index) calculation (#2726)
Corrected the padding related calculation errors in SSIM (#2721)
Fixed compatibility of audio domain with new
scipy(#2733)Fixed how
prefix/postfixworks inMultitaskWrapper(#2722)Fixed flakiness in tests related to
torch.uniquewithdim=None(#2650)Fixed corner case in
MatthewsCorrCoef(#2743)[1.4.1] - 2024-08-02
Changed
- Calculate text color of
ConfusionMatrixplot based on luminance (#2590)- Updated
_safe_divideto allowAccuracyto run on the GPU (#2640)- Improved error messages for intersection detection metrics for wrong user input (#2577)
Removed
- Dropped
Chrfimplementation due to licensing issues with the upstream package (#2668)Fixed
- Fixed bug in
MetricCollectionwhen using compute groups andcomputeis called more than once (#2571)- Fixed class order of
panoptic_quality(..., return_per_class=True)output (#2548)- Fixed
BootstrapWrappernot being reset correctly (#2574)- Fixed integration between
ClasswiseWrapperandMetricCollectionwith custom_filter_kwargsmethod (#2575)- Fixed BertScore calculation: pred target misalignment (#2347)
- Fixed
_cumsumhelper function in multi-gpu (#2636)- Fixed bug in
MeanAveragePrecision.coco_to_tm(#2588)- Fixed missed f-strings in exceptions/warnings (#2667)
[1.4.0] - 2024-05-03
Added
... (truncated)
Commits
cd9fa1dreleasing1.4.2c4b32aatest: freezefaster-coco-eval==1.5.*be71a4cci/doc: install with-eto resolve source links (#2740)400aa91Fixsegmentation.MeanIoU(#2698)327f01cbump some testing requirements (#2736)89c4265fix: compatibility audio do with newscipy(#2733)082429eFix: handle zero division error in binary IoU calculation (#2726)c1b3027Fix howprefix/posfixworks inMultitaskWrapper(#2722)b5d3d15build(deps): bump torch from 2.4.0 to 2.4.1 in /requirements (#2729)d22344ddocs: fix link to WIP- Additional commits viewable in compare view
Updates torchvision from 0.12.0 to 0.19.1
Release notes
Sourced from torchvision's releases.
TorchVision 0.19.1 Release
This is a patch release, which is compatible with PyTorch 2.4.1. There are no new features added.
Torchvision 0.19 release
Highlights
Encoding / Decoding images
Torchvision is extending its encoding/decoding capabilities. For this version, we added a GIF decoder which is available as
torchvision.io.decode_gif(raw_tensor),torchvision.io.decode_image(raw_tensor), andtorchvision.io.read_image(path_to_image).We also added support for jpeg GPU encoding in
torchvision.io.encode_jpeg(). This is 10X faster than the existing CPU jpeg encoder.Stay tuned for more improvements coming in the next versions. We plan to improve jpeg GPU decoding, and add more image decoders (webp in particular).
Resizing according to the longest edge of an image
It is now possible to resize images by setting
torchvision.transforms.v2.Resize(max_size=N): this will resize the longest edge of the image exactly tomax_size, making sure the image dimension don't exceed this value. Read more on the docs!Detailed changes
Bug Fixes
[datasets]
SBDataset: Only download noval file when image_set='train_noval' (#8475) [datasets] Update the download url in classEMNIST(#8350) [io] Fix compilation error when there is nolibjpeg(#8342) [reference scripts] Fix use ofcutmix_alphain classification training references (#8448) [utils] AllowK=1indraw_keypoints(#8439)New Features
[io] Add decoder for GIF images (
decode_gif(),decode_image(),read_image()) (#8406, #8419) [transforms] AddGaussianNoisetransform (#8381)Improvements
[transforms] Allow v2
Resizeto resize longer edge exactly tomax_size(#8459) [transforms] Addmin_areaparameter toSanitizeBoundingBox(#7735) [transforms] Makeadjust_hue()work withnumpy 2.0(#8463) [transforms] Enable one-hot-encoded labels inMixUpandCutMix(#8427) [transforms] Create kernel on-device fortransforms.functional.gaussian_blur(#8426) [io] Adding GPU acceleration toencode_jpeg(10X faster than CPU encoder) (#8391) [io]read_video: acceptBytesIOobjects onpyavbackend (#8442) [io] Add compatibility with FFMPEG 7.0 (#8408) [datasets] Add extra to installgdown(#8430) [datasets] Support encodedRLEformat in forCOCOsegmentations (#8387) [datasets] Added binary cat vs dog classification target type to Oxford pet dataset (#8388)
... (truncated)
Commits
6194369[cherry-pick] Restrict ffmpeg to 4.2+.X versions to resolve linux conda build...5bada1fCherry-Pick Pin setuptools to 72.1.0 (#8606)99d97faUpdate version.txt to 0.19.148b1edfRemove prototype area for 0.19 (#8491)f44f20cUse@release/2.4 instead of@mainfor CI jobs (#8490)143d078Adding GPU acceleration to encode_jpeg (#8391)f96c42fRe-enable vision MPS builds (#8485)f1bcbd3[FBcode->GH] Fix using namespace in pytorch/vision/torchvision/csrc/io/video/...27764a1Skip flaky earth gif test on OSS CI (#8480)b09b3f6Remove unused dynamo import (#8451)- Additional commits viewable in compare view
Updates pytorch-lightning from 1.9.5 to 2.4.0
Release notes
Sourced from pytorch-lightning's releases.
Lightning v2.4
Lightning AI :zap: is excited to announce the release of Lightning 2.4. This is mainly a compatibility upgrade for PyTorch 2.4 and Python 3.12, with a sprinkle of a few features and bug fixes.
Did you know? The Lightning philosophy extends beyond a boilerplate-free deep learning framework: We've been hard at work bringing you Lightning Studio. Code together, prototype, train, deploy, host AI web apps. All from your browser, with zero setup.
Changes
PyTorch Lightning
- Made saving non-distributed checkpoints fully atomic (#20011)
- Added
dump_statsflag toAdvancedProfiler(#19703)- Added a flag
verboseto theseed_everything()function (#20108)- Added support for PyTorch 2.4 (#20010)
- Added support for Python 3.12 (20078)
- The
TQDMProgressBarnow provides an option to retain prior training epoch bars (#19578)- Added the count of modules in train and eval mode to the printed
ModelSummarytable (#20159)
- Triggering KeyboardInterrupt (Ctrl+C) during
.fit(),.evaluate(),.test()or.predict()now terminates all processes launched by the Trainer and exits the program (#19976)- Changed the implementation of how seeds are chosen for dataloader workers when using
seed_everything(..., workers=True)(#20055)- NumPy is no longer a required dependency (#20090)
- Avoid LightningCLI saving hyperparameters with
class_pathandinit_argssince this would be a breaking change (#20068)- Fixed an issue that would cause too many printouts of the seed info when using
seed_everything()(#20108)- Fixed
_LoggerConnector's_ResultMetricto move all registered keys to the device of the logged value if needed (#19814)- Fixed
_optimizer_to_devicelogic for special 'step' key in optimizer state causing performance regression (#20019)- Fixed parameter counts in
ModelSummarywhen model has distributed parameters (DTensor) (#20163)Lightning Fabric
... (truncated)
Commits
2129fdffix(ci): resolve input str -> num conversion (#20169)cf24a19fix(docs): remove dead link from readme (#20170)a3e60adci/docs: disable optional cache pkg (#20168)87ffd8cci: fix cleaning caches (#20167)b3ee85dPrepare Lightning 2.4.0 release (#20154)631911cAdd special logic for 'step' in _optimizer_to_device (#20019)345450bFix parameter count in ModelSummary when parameters are DTensors (#20163)3de60f4docs: fix typo inlinkcheck_ignore(#20164)e9d4ef8Add diffusion example to README (#20161)d4de8e2Count number of modules in train/eval mode in ModelSummary (#20159)- Additional commits viewable in compare view
Updates torchmetrics from 0.9.1 to 1.4.2
Release notes
Sourced from torchmetrics's releases.
Minor patch release
[1.4.2] - 2022-09-12
Added
- Re-adding
Chrfimplementation (#2701)Fixed
- Fixed wrong aggregation in
segmentation.MeanIoU(#2698)- Fixed handling zero division error in binary IoU (Jaccard index) calculation (#2726)
- Corrected the padding related calculation errors in SSIM (#2721)
- Fixed compatibility of audio domain with new
scipy(#2733)- Fixed how
prefix/postfixworks inMultitaskWrapper(#2722)- Fixed flakiness in tests related to
torch.uniquewithdim=None(#2650)
Key Contributors
@Borda,@petertheprocess,@rittik9,@SkafteNicki,@vkinakhIf we forgot someone due to not matching commit email with GitHub account, let us know :]
Full Changelog: https://github.com/Lightning-AI/torchmetrics/compare/v1.4.1...v1.4.2
Minor patch release
[1.4.1] - 2024-08-02
Changed
- Calculate the text color of
ConfusionMatrixplot based on luminance (#2590)- Updated
_safe_divideto allowAccuracyto run on the GPU (#2640)- Improved better error messages for intersection detection metrics for wrong user input (#2577)
Removed
- Dropped
Chrfimplementation due to licensing issues with the upstream package (#2668)Fixed
- Fixed bug in
MetricCollectionwhen using compute groups andcomputeis called more than once (#2571)- Fixed class order of
panoptic_quality(..., return_per_class=True)output (#2548)- Fixed
BootstrapWrappernot being reset correctly (#2574)- Fixed integration between
ClasswiseWrapperandMetricCollectionwith custom_filter_kwargsmethod (#2575)- Fixed BertScore calculation: pred target misalignment (#2347)
- Fixed
_cumsumhelper function in multi-gpu (#2636)- Fixed bug in
MeanAveragePrecision.coco_to_tm(#2588)
... (truncated)
Changelog
Sourced from torchmetrics's changelog.
[1.4.2] - 2022-09-12
Added
- Re-adding
Chrfimplementation (#2701)Fixed
Fixed wrong aggregation in
segmentation.MeanIoU(#2698)Fixed handling zero division error in binary IoU (Jaccard index) calculation (#2726)
Corrected the padding related calculation errors in SSIM (#2721)
Fixed compatibility of audio domain with new
scipy(#2733)Fixed how
prefix/postfixworks inMultitaskWrapper(#2722)Fixed flakiness in tests related to
torch.uniquewithdim=None(#2650)Fixed corner case in
MatthewsCorrCoef(#2743)[1.4.1] - 2024-08-02
Changed
- Calculate text color of
ConfusionMatrixplot based on luminance (#2590)- Updated
_safe_divideto allowAccuracyto run on the GPU (#2640)- Improved error messages for intersection detection metrics for wrong user input (#2577)
Removed
- Dropped
Chrfimplementation due to licensing issues with the upstream package (#2668)Fixed
- Fixed bug in
MetricCollectionwhen using compute groups andcomputeis called more than once (#2571)- Fixed class order of
panoptic_quality(..., return_per_class=True)output (#2548)- Fixed
BootstrapWrappernot being reset correctly (#2574)- Fixed integration between
ClasswiseWrapperandMetricCollectionwith custom_filter_kwargsmethod (#2575)- Fixed BertScore calculation: pred target misalignment (#2347)
- Fixed
_cumsumhelper function in multi-gpu (#2636)- Fixed bug in
MeanAveragePrecision.coco_to_tm(#2588)- Fixed missed f-strings in exceptions/warnings (#2667)
[1.4.0] - 2024-05-03
Added
... (truncated)
Commits
cd9fa1dreleasing1.4.2c4b32aatest: freezefaster-coco-eval==1.5.*be71a4cci/doc: install with-eto resolve source links (#2740)400aa91Fixsegmentation.MeanIoU(#2698)327f01cbump some testing requirements (#2736)89c4265fix: compatibility audio do with newscipy(#2733)082429eFix: handle zero division error in binary IoU calculation (#2726)c1b3027Fix howprefix/posfixworks inMultitaskWrapper(#2722)b5d3d15build(deps): bump torch from 2.4.0 to 2.4.1 in /requirements (#2729)d22344ddocs: fix link to WIP- Additional commits viewable in compare view
Updates torchvision from 0.12.0 to 0.19.1
Release notes
Sourced from torchvision's releases.
TorchVision 0.19.1 Release
This is a patch release, which is compatible with PyTorch 2.4.1. There are no new features added.
Torchvision 0.19 release
Highlights
Encoding / Decoding images
Torchvision is extending its encoding/decoding capabilities. For this version, we added a GIF decoder which is available as
torchvision.io.decode_gif(raw_tensor),torchvision.io.decode_image(raw_tensor), andtorchvision.io.read_image(path_to_image).We also added support for jpeg GPU encoding in
torchvision.io.encode_jpeg(). This is 10X faster than the existing CPU jpeg encoder.Stay tuned for more improvements coming in the next versions. We plan to improve jpeg GPU decoding, and add more image decoders (webp in particular).
Resizing according to the longest edge of an image
It is now possible to resize images by setting
torchvision.transforms.v2.Resize(max_size=N): this will resize the longest edge of the image exactly tomax_size, making sure the image dimension don't exceed this value. Read more on the docs!Detailed changes
Bug Fixes
[datasets]
SBDataset: Only download noval file when image_set='train_noval' (#8475) [datasets] Update the download url in classEMNIST(#8350) [io] Fix compilation error when there is nolibjpeg(#8342) [reference scripts] Fix use ofcutmix_alphain classification training references (#8448) [utils] AllowK=1indraw_keypoints(#8439)New Features
[io] Add decoder for GIF images (
decode_gif(),decode_image(),read_image()) (#8406, #8419) [transforms] AddGaussianNoisetransform (#8381)Improvements
[transforms] Allow v2
Resizeto resize longer edge exactly tomax_size(#8459) [transforms] Addmin_areaparameter toSanitizeBoundingBox(#7735) [transforms] Makeadjust_hue()work withnumpy 2.0(#8463) [transforms] Enable one-hot-encoded labels inMixUpandCutMix(#8427) [transforms] Create kernel on-device fortransforms.functional.gaussian_blur(#8426) [io] Adding GPU acceleration toencode_jpeg(10X faster than CPU encoder) (#8391) [io]read_video: acceptBytesIOobjects onpyavbackend (#8442) [io] Add compatibility with FFMPEG 7.0 (#8408) [datasets] Add extra to installgdown(#8430) [datasets] Support encodedRLEformat in forCOCOsegmentations (#8387) [datasets] Added binary cat vs dog classification target type to Oxford pet dataset (#8388)
... (truncated)
Commits
6194369[cherry-pick] Restrict ffmpeg to 4.2+.X versions to resolve linux conda build...5bada1fCherry-Pick Pin setuptools to 72.1.0 (#8606)99d97faUpdate version.txt to 0.19.148b1edfRemove prototype area for 0.19 (#8491)f44f20cUse@release/2.4 instead of@mainfor CI jobs (#8490)143d078Adding GPU acceleration to encode_jpeg (#8391)f96c42fRe-enable vision MPS builds (#8485)f1bcbd3[FBcode->GH] Fix using namespace in pytorch/vision/torchvision/csrc/io/video/...27764a1Skip flaky earth gif test on OSS CI (#8480)b09b3f6Remove unused dynamo import (#8451)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions