dependabot[bot] opened a new pull request, #3870:
URL: https://github.com/apache/iceberg-python/pull/3870

   Bumps [huggingface-hub](https://github.com/huggingface/huggingface_hub) from 
1.27.0 to 1.28.0.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/huggingface/huggingface_hub/releases";>huggingface-hub's
 releases</a>.</em></p>
   <blockquote>
   <h2>[v1.28.0] Hardware discovery and managed engine images for Inference 
Endpoints and more</h2>
   <h2>🔎 Discover deployable hardware with <code>hf endpoints 
hardware</code></h2>
   <p>Deploying an Inference Endpoint requires five hardware flags 
(<code>--vendor</code>, <code>--region</code>, <code>--accelerator</code>, 
<code>--instance-type</code>, <code>--instance-size</code>) whose valid values 
depend on each other, and until now there was no way to learn them from the 
CLI. The new <code>hf endpoints hardware</code> command lists the valid 
combinations along with the price per replica per hour and your namespace's 
accelerator quota, filtered by default to the hardware you can deploy on right 
now. The same data is available in the SDK via 
<code>list_inference_endpoints_hardware()</code>, which flattens the API 
response into <code>InferenceEndpointHardware</code> objects you can filter 
programmatically.</p>
   <pre lang="bash"><code>&gt;&gt;&gt; hf endpoints hardware --vendor aws 
--region eu-west-1
   VENDOR REGION    ACCELERATOR INSTANCE_TYPE INSTANCE_SIZE MEMORY_GB 
GPU_MEMORY_GB PRICE_PER_HOUR QUOTA STATUS
   ------ --------- ----------- ------------- ------------- --------- 
------------- -------------- ----- ---------
   aws    eu-west-1 cpu         intel-spr     x1                  2.0           
             0.033 0/60  available
   aws    eu-west-1 cpu         intel-spr     x2                  4.0           
             0.067 0/60  available
   aws    eu-west-1 gpu         nvidia-a10g   x1                 30.0           
 24            1.0 0/16  available
   aws    eu-west-1 gpu         nvidia-t4     x1                 15.0           
 16            0.5 1/30  available
   </code></pre>
   <ul>
   <li>[Inference Endpoints] Add <code>hf endpoints hardware</code> to list 
available instances by <a 
href="https://github.com/hanouticelina";><code>@​hanouticelina</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4672";>#4672</a></li>
   </ul>
   <h2>🚀 Managed engine images and multi-accelerator parallelism for Inference 
Endpoints</h2>
   <p><code>custom_image</code> now accepts the engine-specific container types 
supported by the API: key the dictionary with the engine name 
(<code>vLLM</code>, <code>sGLang</code>, <code>tgi</code>, <code>tei</code>, 
<code>llamacpp</code>, <code>hfServe</code>, ...) instead of leaving it flat, 
and each engine takes the usual container fields plus its own tuning options. 
Any dict without a top-level <code>url</code> is forwarded to the API 
untouched, so engines added to the API later will work without upgrading 
<code>huggingface_hub</code>, and <code>update_inference_endpoint</code> now 
handles the same payload shapes as <code>create_inference_endpoint</code>. On 
the CLI, <code>hf endpoints deploy</code> and <code>hf endpoints update</code> 
gain <code>--engine</code>, <code>--tensor-parallel-size</code> and 
<code>--data-parallel-size</code>, and <code>update</code> also accepts 
<code>--custom-image</code>, <code>--health-route</code> and 
<code>--port</code>. This matters because vLL
 M and SGLang default to a single accelerator while an endpoint is allocated 
every accelerator of its instance — the API now rejects that misconfiguration, 
and these flags are how you set things right.</p>
   <pre lang="bash"><code>$ hf endpoints deploy gpt-oss-120b-vllm --repo 
openai/gpt-oss-120b --framework custom \
       --accelerator gpu --instance-size x8 --instance-type nvidia-h200 
--region us-east-1 --vendor aws \
       --engine vllm --custom-image vllm/vllm-openai:v0.23.0 
--tensor-parallel-size 8
   <h1>Retune a running endpoint</h1>
   <p>$ hf endpoints update gpt-oss-120b-vllm --tensor-parallel-size 4 
--data-parallel-size 2
   </code></pre></p>
   <p>💔 <strong>Breaking change:</strong> 
<code>huggingface_hub.constants.INFERENCE_ENDPOINT_IMAGE_KEYS</code> is 
removed. It was never exported at the package root nor documented, but code 
reading it directly will now get an <code>AttributeError</code>.</p>
   <ul>
   <li>[Inference Endpoints] Support managed engine images in 
<code>custom_image</code> by <a 
href="https://github.com/hanouticelina";><code>@​hanouticelina</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4671";>#4671</a></li>
   <li>[CLI] Add --tensor-parallel-size / --data-parallel-size to <code>hf 
endpoints deploy</code> and <code>update</code> by <a 
href="https://github.com/moon-bot-app";><code>@​moon-bot-app</code></a>[bot] in 
<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4661";>#4661</a></li>
   </ul>
   <h2>🤖 Inference</h2>
   <ul>
   <li>[Inference Providers] deepinfra: add text-to-speech support by <a 
href="https://github.com/ovuruska";><code>@​ovuruska</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4559";>#4559</a></li>
   <li>[Inference Providers] deepinfra: add feature-extraction support by <a 
href="https://github.com/ovuruska";><code>@​ovuruska</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4656";>#4656</a></li>
   </ul>
   <h2>🖥️ CLI</h2>
   <ul>
   <li>[CLI] Keep <code>hf extensions</code> off the metered GitHub REST API by 
<a href="https://github.com/hanouticelina";><code>@​hanouticelina</code></a> in 
<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4659";>#4659</a></li>
   </ul>
   <h2>🐛 Bug and typo fixes</h2>
   <ul>
   <li>[CLI] Fix scheduled upload of a single file in a subfolder by <a 
href="https://github.com/dfedoryshchev";><code>@​dfedoryshchev</code></a> in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4619";>#4619</a></li>
   <li>[Download] Fix tqdm_class ignored by the Xet transfer bar by <a 
href="https://github.com/bharadwaj-pendyala";><code>@​bharadwaj-pendyala</code></a>
 in <a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4647";>#4647</a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/b2da2d442c4165d9082a198cf247df3569140aee";><code>b2da2d4</code></a>
 Release: v1.28.0</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/a718e447a98d2d48af3a06887c59e59b475d6a70";><code>a718e44</code></a>
 Release: v1.28.0.rc0</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/7105c3d892c032a59f1f46044074c8d36c365b74";><code>7105c3d</code></a>
 [CLI] Add --tensor-parallel-size / --data-parallel-size to `hf endpoints 
depl...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/a3d9d8aadda4e8dbebdeb17626616ebbbc59abe2";><code>a3d9d8a</code></a>
 [Inference Endpoints] Omit <code>model.task</code> instead of sending null on 
create (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4";>#4</a>...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/909b162a05b88eda16e7c299a909ca98b02f72db";><code>909b162</code></a>
 [Inference Endpoints] Add <code>hf endpoints hardware</code> to list available 
instances...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/5ac97119b3900c66a9ea01accc64d0b3f06ea630";><code>5ac9711</code></a>
 Do not use a redirect's Content-Length as file size in get_hf_file_metadata 
(...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/99aba555d6f5f741f2f6686880181ddc43ff5c42";><code>99aba55</code></a>
 [Docs] Normalize malformed docstring parameter entries (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4623";>#4623</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/2e6c67d3d84a2656778d9e3342e0aaef6c8706d2";><code>2e6c67d</code></a>
 [Inference Providers] deepinfra: add feature-extraction (embeddings) support 
...</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/7a522f08fba5eb7a1ebe8b95e6e94614ce845fc1";><code>7a522f0</code></a>
 docs: remove obsolete Repository guide references (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4679";>#4679</a>)</li>
   <li><a 
href="https://github.com/huggingface/huggingface_hub/commit/aa40a6524ba8d91bae39ec29a2c05a0b88f980a3";><code>aa40a65</code></a>
 [Download] Fix ResolvedRevision string value after pickle/copy (<a 
href="https://redirect.github.com/huggingface/huggingface_hub/issues/4692";>#4692</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/huggingface/huggingface_hub/compare/v1.27.0...v1.28.0";>compare
 view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=huggingface-hub&package-manager=uv&previous-version=1.27.0&new-version=1.28.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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 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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to