mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 21:35:00 +00:00
Add XPU to --torch-backend
(#14172)
## Summary Like ROCm, no auto-detection for now.
This commit is contained in:
parent
0133bcc8ca
commit
e59835d50c
5 changed files with 27 additions and 0 deletions
|
@ -3451,6 +3451,7 @@ by <code>--python-version</code>.</p>
|
|||
<li><code>rocm4.2</code>: Use the PyTorch index for ROCm 4.2</li>
|
||||
<li><code>rocm4.1</code>: Use the PyTorch index for ROCm 4.1</li>
|
||||
<li><code>rocm4.0.1</code>: Use the PyTorch index for ROCm 4.0.1</li>
|
||||
<li><code>xpu</code>: Use the PyTorch index for Intel XPU</li>
|
||||
</ul></dd><dt id="uv-pip-compile--universal"><a href="#uv-pip-compile--universal"><code>--universal</code></a></dt><dd><p>Perform a universal resolution, attempting to generate a single <code>requirements.txt</code> output file that is compatible with all operating systems, architectures, and Python implementations.</p>
|
||||
<p>In universal mode, the current Python version (or user-provided <code>--python-version</code>) will be treated as a lower bound. For example, <code>--universal --python-version 3.7</code> would produce a universal resolution for Python 3.7 and later.</p>
|
||||
<p>Implies <code>--no-strip-markers</code>.</p>
|
||||
|
@ -3708,6 +3709,7 @@ be used with caution, as it can modify the system Python installation.</p>
|
|||
<li><code>rocm4.2</code>: Use the PyTorch index for ROCm 4.2</li>
|
||||
<li><code>rocm4.1</code>: Use the PyTorch index for ROCm 4.1</li>
|
||||
<li><code>rocm4.0.1</code>: Use the PyTorch index for ROCm 4.0.1</li>
|
||||
<li><code>xpu</code>: Use the PyTorch index for Intel XPU</li>
|
||||
</ul></dd><dt id="uv-pip-sync--verbose"><a href="#uv-pip-sync--verbose"><code>--verbose</code></a>, <code>-v</code></dt><dd><p>Use verbose output.</p>
|
||||
<p>You can configure fine-grained logging using the <code>RUST_LOG</code> environment variable. (<a href="https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives">https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives</a>)</p>
|
||||
</dd></dl>
|
||||
|
@ -3998,6 +4000,7 @@ should be used with caution, as it can modify the system Python installation.</p
|
|||
<li><code>rocm4.2</code>: Use the PyTorch index for ROCm 4.2</li>
|
||||
<li><code>rocm4.1</code>: Use the PyTorch index for ROCm 4.1</li>
|
||||
<li><code>rocm4.0.1</code>: Use the PyTorch index for ROCm 4.0.1</li>
|
||||
<li><code>xpu</code>: Use the PyTorch index for Intel XPU</li>
|
||||
</ul></dd><dt id="uv-pip-install--upgrade"><a href="#uv-pip-install--upgrade"><code>--upgrade</code></a>, <code>-U</code></dt><dd><p>Allow package upgrades, ignoring pinned versions in any existing output file. Implies <code>--refresh</code></p>
|
||||
</dd><dt id="uv-pip-install--upgrade-package"><a href="#uv-pip-install--upgrade-package"><code>--upgrade-package</code></a>, <code>-P</code> <i>upgrade-package</i></dt><dd><p>Allow upgrades for a specific package, ignoring pinned versions in any existing output file. Implies <code>--refresh-package</code></p>
|
||||
</dd><dt id="uv-pip-install--user"><a href="#uv-pip-install--user"><code>--user</code></a></dt><dt id="uv-pip-install--verbose"><a href="#uv-pip-install--verbose"><code>--verbose</code></a>, <code>-v</code></dt><dd><p>Use verbose output.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue