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 huggingface-hub from 0.23.4 to 0.24.5 #247

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2024

Bumps huggingface-hub from 0.23.4 to 0.24.5.

Release notes

Sourced from huggingface-hub's releases.

[v0.24.5] Fix download process on S3 mount (v2)

Follow-up after huggingface/huggingface_hub#2433 and v0.24.4 patch release. This release will definitely fix things.

Full Changelog: huggingface/huggingface_hub@v0.24.4...v0.24.5

[v0.24.4] Fix download process on S3 mount

When downloading a file, the process was failing if the filesystem did not support either chmod or shutils.copy2 when moving a file from the tmp folder to the cache. This patch release fixes this. More details in huggingface/huggingface_hub#2429.

Full Changelog: huggingface/huggingface_hub@v0.24.3...v0.24.4

[v0.24.3] Fix InferenceClient base_url for OpenAI compatibility

Fixing a bug in the chat completion URL to follow OpenAI standard huggingface/huggingface_hub#2418. InferenceClient now works with urls ending with /, /v1 and /v1/chat/completions.

Full Changelog: huggingface/huggingface_hub@v0.24.2...v0.24.3

[v0.24.2] Fix create empty commit PR should not fail

See huggingface/huggingface_hub#2413 for more details. Creating an empty commit on a PR was failing due to a revision parameter been quoted twice. This patch release fixes it.

Full Changelog: huggingface/huggingface_hub@v0.24.1...v0.24.2

[v0.24.1] Handle [DONE] signal from TGI + remove logic for "non-TGI servers"

This release fixes 2 things:

  • handle "[DONE]" message in chat stream (related to TGI update huggingface/text-generation-inference#2221)
  • remove the "non-TGI" logic in chat completion since all models support server-side rendering now that even transformers-backed models are TGI-server.

See huggingface/huggingface_hub#2410 for more details.

Full Changelog: huggingface/huggingface_hub@v0.24.0...v0.24.1

v0.24.0: Inference, serialization and optimizations

⚡️ OpenAI-compatible inference client!

The InferenceClient's chat completion API is now fully compliant with OpenAI client. This means it's a drop-in replacement in your script:

- from openai import OpenAI
+ from huggingface_hub import InferenceClient

client = OpenAI(


client = InferenceClient(
base_url=...,
api_key=...,
)

output = client.chat.completions.create(
model="meta-llama/Meta-Llama-3-8B-Instruct",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
</tr></table>

... (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)

Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 0.23.4 to 0.24.5.
- [Release notes](https://github.com/huggingface/huggingface_hub/releases)
- [Commits](huggingface/huggingface_hub@v0.23.4...v0.24.5)

---
updated-dependencies:
- dependency-name: huggingface-hub
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 5, 2024

The following labels could not be found: maintenance.

Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 22, 2024

Dependabot can't evaluate your Python dependency files. Because of this, Dependabot cannot update this pull request.

@ap-- ap-- closed this Aug 23, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 23, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/huggingface-hub-0.24.5 branch August 23, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant