GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build(deps): bump torch from 1.4.0 to 2.2.0 in /py by dependabot[bot] · Pull Request #2 · deep-learning-algorithm/ResNet

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2024

Copy link
Copy Markdown

Bumps torch from 1.4.0 to 2.2.0.

Release notes

Sourced from torch's releases.

PyTorch 2.2: FlashAttention-v2, AOTInductor

PyTorch 2.2 Release Notes

  • Highlights
  • Backwards Incompatible Changes
  • Deprecations
  • New Features
  • Improvements
  • Bug fixes
  • Performance
  • Documentation

Highlights

We are excited to announce the release of PyTorch® 2.2! PyTorch 2.2 offers ~2x performance improvements to scaled_dot_product_attention via FlashAttention-v2 integration, as well as AOTInductor, a new ahead-of-time compilation and deployment tool built for non-python server-side deployments.

This release also includes improved torch.compile support for Optimizers, a number of new inductor optimizations, and a new logging mechanism called TORCH_LOGS.

Please note that we are deprecating macOS x86 support, and PyTorch 2.2.x will be the last version that supports macOS x64.

Along with 2.2, we are also releasing a series of updates to the PyTorch domain libraries. More details can be found in the library updates blog.

This release is composed of 3,628 commits and 521 contributors since PyTorch 2.1. We want to sincerely thank our dedicated community for your contributions. As always, we encourage you to try these out and report any issues as we improve 2.2. More information about how to get started with the PyTorch 2-series can be found at our Getting Started page.

Summary:

  • scaled_dot_product_attention (SDPA) now supports FlashAttention-2, yielding around 2x speedups compared to previous versions.
  • PyTorch 2.2 introduces a new ahead-of-time extension of TorchInductor called AOTInductor, designed to compile and deploy PyTorch programs for non-python server-side.
  • torch.distributed supports a new abstraction for initializing and representing ProcessGroups called device_mesh.
  • PyTorch 2.2 ships a standardized, configurable logging mechanism called TORCH_LOGS.
  • A number of torch.compile improvements are included in PyTorch 2.2, including improved support for compiling Optimizers and improved TorchInductor fusion and layout optimizations.
  • Please note that we are deprecating macOS x86 support, and PyTorch 2.2.x will be the last version that supports macOS x64.
  • torch.ao.quantization now offers a prototype torch.export based flow

... (truncated)

Changelog

Sourced from torch's changelog.

Releasing PyTorch

  • Release Compatibility Matrix
  • Release Cadence
  • General Overview
    • Frequently Asked Questions
  • Cutting a release branch preparations
  • Cutting release branches
    • pytorch/pytorch
    • pytorch/builder / PyTorch domain libraries
    • Making release branch specific changes for PyTorch
    • Making release branch specific changes for domain libraries
  • Running Launch Execution team Core XFN sync
  • Drafting RCs (https://github.com/pytorch/pytorch/blob/main/Release Candidates) for PyTorch and domain libraries
    • Release Candidate Storage
    • Release Candidate health validation
    • Cherry Picking Fixes
      • How to do Cherry Picking
    • Cherry Picking Reverts
  • Preparing and Creating Final Release candidate
  • Promoting RCs to Stable
  • Additional Steps to prepare for release day
    • Modify release matrix
    • Open Google Colab issue
  • Patch Releases
    • Patch Release Criteria
    • Patch Release Process
      • Patch Release Process Description
      • Triage
      • Issue Tracker for Patch releases
      • Building a release schedule / cherry picking
      • Building Binaries / Promotion to Stable
  • Hardware / Software Support in Binary Build Matrix
    • Python
    • Accelerator Software
      • Special support cases
    • Operating Systems
  • Submitting Tutorials
  • Special Topics
    • Updating submodules for a release
    • Triton dependency for the release

Release Compatibility Matrix

Following is the Release Compatibility Matrix for PyTorch releases:

... (truncated)

Commits
  • 8ac9b20 Run docker release build on final tag (#117131) (#117182)
  • 2490352 Fix cuInit test on Windows (#117095)
  • 3a44bb7 [CI] Test that cuInit is not called during import (#117043)
  • 1c8ba38 [CI] Use jemalloc for CUDA builds (#116900) (#116988)
  • 96d2ddb Store user model to simplify ONNXProgram.{adapt_torch_*,call} APIs (#1152...
  • 738b4a5 Update ONNX's IO Adapter to support FakeTensor with ExportedProgram (#114407)...
  • 4cf10bf [Cherry-pick] [Quant] [PT2] Enable batchnorm in _move_exported_model_to_eval ...
  • 7e97e4b [AARCH64] Fall back to GEMM if mkldnn_matmul fails (#115936) (#116666)
  • 1a3e3c7 [CUDA] baddmm should fall back to addmm for batch=1 (#114992) (#116518)
  • ab7505f Fix broken PyYAML 6.0 on MacOS x86 (#115956) (#116551)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dependabot
build(deps): bump torch from 1.4.0 to 2.2.0 in /py
bf39808
Bumps [torch](https://github.com/pytorch/pytorch) from 1.4.0 to 2.2.0.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v1.4.0...v2.2.0)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

0 participants

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.