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

⬆ Bump the dependencies group in /src/templates/langchain with 4 updates #80

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 31, 2023

Bumps the dependencies group in /src/templates/langchain with 4 updates: fastapi, transformers, langchain and ruff.

Updates fastapi from 0.101.0 to 0.103.0

Release notes

Sourced from fastapi's releases.

0.103.0

Features

Docs

  • 📝 Add note to docs about Separate Input and Output Schemas with FastAPI version. PR #10150 by @​tiangolo.

0.102.0

Features

Refactors

Docs

Internal

0.101.1

Fixes

  • ✨ Add ResponseValidationError printable details, to show up in server error logs. PR #10078 by @​tiangolo.

Refactors

  • ✏️ Fix typo in deprecation warnings in fastapi/params.py. PR #9854 by @​russbiggs.
  • ✏️ Fix typos in comments on internal code in fastapi/concurrency.py and fastapi/routing.py. PR #9590 by @​ElliottLarsen.

Docs

... (truncated)

Commits
  • 415eb14 🔖 Release version 0.103.0
  • bd32bca 📝 Update release notes
  • df16699 📝 Update release notes
  • 1b714b3 ✨ Add support for openapi_examples in all FastAPI parameters (#10152)
  • 5f855b1 📝 Update release notes
  • 594b1ae 📝 Add note to docs about Separate Input and Output Schemas with FastAPI versi...
  • f3ab547 📝 Update release notes
  • 9cf9e10 🔖 Release version 0.102.0
  • 859d404 📝 Update release notes
  • 098778e 📝 Update release notes
  • Additional commits viewable in compare view

Updates transformers from 4.31.0 to 4.32.1

Release notes

Sourced from transformers's releases.

Patch release: v4.32.1

Patch release including several patches from v4.31.0, listed below:

  • Put IDEFICS in the right section of the doc (#25650)
  • removing unnecesssary extra parameter (#25643)
  • [SPM] Patch spm Llama and T5 (#25656)
  • Fix bloom add prefix space (#25652)
  • Generate: add missing logits processors docs (#25653)
  • [idefics] small fixes (#25764)

IDEFICS, GPTQ Quantization

IDEFICS

The IDEFICS model was proposed in OBELICS: An Open Web-Scale Filtered Dataset of Interleaved Image-Text Documents by Hugo Laurençon, Lucile Saulnier, Léo Tronchon, Stas Bekman, Amanpreet Singh, Anton Lozhkov, Thomas Wang, Siddharth Karamcheti, Alexander M. Rush, Douwe Kiela, Matthieu Cord, Victor Sanh

IDEFICS is the first open state-of-the-art visual language model at the 80B scale!

The model accepts arbitrary sequences of image and text and produces text, similarly to a multimodal ChatGPT.

Blogpost: hf.co/blog/idefics Playground: HuggingFaceM4/idefics_playground

image

MPT

MPT has been added and is now officially supported within Transformers. The repositories from MosaicML have been updated to work best with the model integration within Transformers.

GPTQ Integration

GPTQ quantization is now supported in Transformers, through the optimum library. The backend relies on the auto_gptq library, from which we use the GPTQ and QuantLinear classes.

See below for an example of the API, quantizing a model using the new GPTQConfig configuration utility.

from transformers import AutoModelForCausalLM, AutoTokenizer, GPTQConfig
model_name = "facebook/opt-125m"
tokenizer = AutoTokenizer.from_pretrained(model_name)
config = GPTQConfig(bits=4, dataset = "c4", tokenizer=tokenizer,  group_size=128, desc_act=False)
works also with device_map (cpu offload works but not disk offload)
model = AutoModelForCausalLM.from_pretrained(model_name, torch_dtype=torch.float16, quantization_config=config)

Most models under TheBloke namespace with the suffix GPTQ should be supported, for example, to load a GPTQ quantized model on TheBloke/Llama-2-13B-chat-GPTQ simply run (after installing latest optimum and auto-gptq libraries):

... (truncated)

Commits

Updates langchain from 0.0.262 to 0.0.278

Release notes

Sourced from langchain's releases.

v0.0.278

What's Changed

New Contributors

Full Changelog: langchain-ai/langchain@v0.0.277...v0.0.278

v0.0.277

What's Changed

... (truncated)

Commits

Updates ruff from 0.0.284 to 0.0.286

Release notes

Sourced from ruff's releases.

v0.0.286

What's Changed

New Rules

Settings

Bug Fixes

Full Changelog: astral-sh/ruff@v0.0.285...v0.0.286

v0.0.285

... (truncated)

Commits
  • 91880b8 Bump version to 0.0.286 (#6876)
  • 100904a Avoid parsing other parts of a format specification if replacements are prese...
  • 0bac7bd Update RUF100 test to reflect applicability (#6877)
  • f2eb7bc Update ERA100 to apply to commented dictionary items with trailing comments (...
  • 29a0c10 Use BestFit layout even for attributes with a short name (#6872)
  • 15b7525 Rename parser goal 'All' to 'all' (#6867)
  • 0b6dab5 Add jupyter notebook cell ids in 4.5+ if missing (#6853)
  • 1c66bb8 fix is_raw_string for multiple prefixes (#6865)
  • d1f0700 Rename Notebook related symbols (#6862)
  • 61b2ffa Add assert test cases (#6855)
  • 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 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 <dependency name> major version will 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 version will 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

Bumps the dependencies group in /src/templates/langchain with 4 updates: [fastapi](https://github.com/tiangolo/fastapi), [transformers](https://github.com/huggingface/transformers), [langchain](https://github.com/langchain-ai/langchain) and [ruff](https://github.com/astral-sh/ruff).


Updates `fastapi` from 0.101.0 to 0.103.0
- [Release notes](https://github.com/tiangolo/fastapi/releases)
- [Commits](fastapi/fastapi@0.101.0...0.103.0)

Updates `transformers` from 4.31.0 to 4.32.1
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.31.0...v4.32.1)

Updates `langchain` from 0.0.262 to 0.0.278
- [Release notes](https://github.com/langchain-ai/langchain/releases)
- [Commits](langchain-ai/langchain@v0.0.262...v0.0.278)

Updates `ruff` from 0.0.284 to 0.0.286
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/BREAKING_CHANGES.md)
- [Commits](astral-sh/ruff@v0.0.284...v0.0.286)

---
updated-dependencies:
- dependency-name: fastapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: transformers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: langchain
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

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 Aug 31, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 1, 2023

Superseded by #83.

@dependabot dependabot bot closed this Sep 1, 2023
@dependabot dependabot bot deleted the dependabot/pip/src/templates/langchain/dependencies-3749432701 branch September 1, 2023 21:21
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.

0 participants