Bump huggingface-hub from 0.31.1 to 0.32.4 in /requirements
Type: Pull Request
State: Merged
Association: Contributor
Comments: 1
(6 months ago)
(6 months ago)
(6 months ago)
by qubvel
dependencies python
Bumps huggingface-hub from 0.31.1 to 0.32.4.
Release notes
Sourced from huggingface-hub's releases.
[v0.32.3]: Handle env variables in
tiny-agents, better CLI exit and handling of MCP tool calls argumentsFull Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.32.2...v0.32.3
This release introduces some improvements and bug fixes to
tiny-agents:
- [tiny-agents] Handle env variables in tiny-agents (Python client) #3129
- [Fix]
tiny-agentscli exit issues #3125- Improve Handling of MCP Tool Call Arguments #3127
[v0.32.2]: Add endpoint support in Tiny-Agent + fix
snapshot_downloadon large reposFull Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.32.1...v0.32.2
- [MCP] Add local/remote endpoint inference support huggingface/huggingface_hub#3121
- Fix snapshot_download on very large repo (>50k files) huggingface/huggingface_hub#3122
[v0.32.1]: hot-fix: Fix tiny agents on Windows
Patch release to fix #3116
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v0.32.0...v0.32.1
[v0.32.0]: MCP Client, Tiny Agents CLI and more!
🤖 Powering LLMs with Tools: MCP Client & Tiny Agents CLI
✨ The
huggingface_hublibrary now includes an MCP Client, designed to empower Large Language Models (LLMs) with the ability to interact with external Tools via Model Context Protocol (MCP). This client extends theInfrenceClientand provides a seamless way to connect LLMs to both local and remote tool servers!pip install -U huggingface_hub[mcp]In the following example, we use the Qwen/Qwen2.5-72B-Instruct model via the Nebius inference provider. We then add a remote MCP server, in this case, an SSE server which makes the Flux image generation tool available to the LLM:
import osfrom huggingface_hub import ChatCompletionInputMessage, ChatCompletionStreamOutput, MCPClient
async def main(): async with MCPClient( provider="nebius", model="Qwen/Qwen2.5-72B-Instruct", api_key=os.environ["HF_TOKEN"], ) as client: await client.add_mcp_server(type="sse", url="https://evalstate-flux1-schnell.hf.space/gradio_api/mcp/sse") messages = [ { "role": "user", "content": "Generate a picture of a cat on the moon", } ] async for chunk in client.process_single_turn_with_tools(messages): # Log messages if isinstance(chunk, ChatCompletionStreamOutput): delta = chunk.choices[0].delta </tr></table>
... (truncated)
Commits
1589ba2Release: v0.32.4af5a130[MCP] Fix vestigial token yield on early exit (#3132)2e6336efix bare coroutine (#3135)efa4d7eFix question_answering (#3134)b71dbb7Release: v0.32.32cff6e4[tiny-agents] Handle env variables in tiny-agents (Python client) (#3129)61bdee7Fixtiny-agentscli exit issues (#3125)a212a63Improve Handling of MCP Tool Call Arguments (#3127)6dd0164Release: v0.32.26f09ac7Fix snapshot_download on very large repo (>50k files) (#3122)- 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 this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
2
+2
-2
Package Dependencies
huggingface-hub
pip
0.31.1 → 0.32.4
Minor
/requirements
Technical Details
| ID: | 870039 |
| UUID: | 2565686527 |
| Node ID: | PR_kwDOClTaK86Y7UT_ |
| Host: | GitHub |
| Repository: | qubvel-org/segmentation_models.pytorch |
| Merge State: | Unknown |