Skip to content

Bump torch from 2.0.1 to 2.2.0 in /inference#3

Open
dependabot[bot] wants to merge 11 commits intomainfrom
dependabot/pip/inference/torch-2.2.0
Open

Bump torch from 2.0.1 to 2.2.0 in /inference#3
dependabot[bot] wants to merge 11 commits intomainfrom
dependabot/pip/inference/torch-2.2.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Bumps torch from 2.0.1 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)

Commits

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.

dyang415 and others added 11 commits September 10, 2024 23:15
BFCL V3 release. Introducing new multi-turn dataset and state-based
evaluation metric for category: `multi_turn_base`,
`multi_turn_miss_func`, `multi_turn_miss_param`,
`multi_turn_long_context`, `multi_turn_composite`; a significant leap
towards multi-turn, and multi-step function calling (tool usage)
benchmarking.

BFCL V3 is a critical advancement in evaluating how Large Language
Models (LLMs) interact with diverse scenarios through invoking right
functions. Multi-turn function calling allows models to engage in a
back-and-forth interaction with users, making it possible for LLMs to
navigate through the complex tasks by asking clarifying questions. In
contrast to multi-turn `(user t0, assistant t1, user t2, assistant t3,
..)`, multi-step is where the LLM can break the response down into
multiple steps `(user t0, assistant t1, assistant t2,..)`. This new
paradigm mimics real-world agentic behaviors where AI assistants might
have to plan execution paths, request and extract critical information,
and handle sequential function invokes to complete a task.

To read more about the composition and construction of this live
dataset, please refer to our
[blog](https://gorilla.cs.berkeley.edu/blogs/13_bfcl_v3_multi_turn.html).

---------

**Also in this PR**:

1. Switch to use vllm serve for OSS model inference
2. Switch to Vertex AI Python SDK for Gemini models inference
3. Split out ast_checker and executable_checker for readability
4. Several outdated or deprecated models will be excluded from the
leaderboard and replaced with their updated successors to improve the
leaderboard's overall maintainability.

---------

Co-authored-by: Fanjia Yan <fanjiayan@berkeley.edu>
Co-authored-by: Charlie Cheng-Jie Ji <charliechengjieji@berkeley.edu>
Co-authored-by: Jason Huang <jasonhuang1103@berkeley.edu>
Co-authored-by: Vishnu Suresh <vishnusuresh@berkeley.edu>
Co-authored-by: Yixin Huang <yixinhuang1@berkeley.edu>
Co-authored-by: Xiaowen Yu <yxw2002@berkeley.edu>
Last time when I contributed the `raft_local.py` in directory named
`raft` there was some unnecessary were there, which I removed in this
pull request. It will not confuse the developers when they read the
file.
This PR separate out the change log from the READMD.md to make it more
readable. Some setup instructions have also been updated.

---------

Co-authored-by: Devansh Amin <devanshamin97@gmail.com>
…ishirPatil#656)

There are some dataset format issues for the single turn entries. The
code wraps the question field in an additional unnecessary list.

Fix ShishirPatil#651
…hishirPatil#660)

In the parse_nested_value function, added a check to determine whether
we are dealing with another function call or if its a regular
dictionary. Previous version of the code incorrectly assumed that this
was always a function call and did not consider the case where the
function argument is a dictionary.

Fix ShishirPatil#652

---------

Co-authored-by: Huanzhi (Hans) Mao <huanzhimao@gmail.com>
Added handler for:
phi-3-mini-4k-instruct
phi-3-mini-128k-instruct
phi-3-small-8k-instruct
phi-3-small-128k-instruct
phi-3-medium-4,-instruct
phi-3-medium-128k-instruct
phi-3.5-mini-instruct

|Rank|Model |Model Link |Organization|License |AST Summary|Simple
AST|Multiple AST|Parallel AST|Parallel Multiple AST|Irrelevance
Detection|Relevance Detection|

|----|---------------------------------|---------------------------------------------------------|------------|------------|-----------|----------|------------|------------|---------------------|---------------------|-------------------|
|1 |Phi-3-small-8k-instruct (Prompt)
|https://huggingface.co/microsoft/Phi-3-small-8k-instruct |Microsoft
|MIT |66.39% |59.70% |64.20% |76.75% |64.92% |47.06% |87.80% |
|2 |Phi-3-medium-4k-instruct
(Prompt)|https://huggingface.co/microsoft/Phi-3-medium-4k-instruct|Microsoft
|MIT |62.10% |66.67% |67.40% |62.00% |52.33% |46.79% |78.05% |
|3 |Phi-3-mini-4k-instruct (Prompt)
|https://huggingface.co/microsoft/Phi-3-mini-4k-instruct |Microsoft |MIT
|66.63% |70.76% |75.67% |69.75% |50.33% |20.25% |75.61% |
|4 |Phi-3.5-mini-instruct (Prompt)
|https://huggingface.co/microsoft/Phi-3.5-mini-instruct |Microsoft |MIT
|55.13% |64.22% |66.12% |52.00% |38.17% |64.93% |70.73% |
|5 |Phi-3-mini-128k-instruct
(Prompt)|https://huggingface.co/microsoft/Phi-3-mini-128k-instruct|Microsoft
|MIT |51.49% |67.60% |72.50% |41.12% |24.75% |44.07% |85.37% |

---------

Co-authored-by: Huanzhi (Hans) Mao <huanzhimao@gmail.com>
Bumps [torch](https://github.com/pytorch/pytorch) from 2.0.1 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@v2.0.1...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants