diff --git a/AI-Upscaling-With-NPU/pyproject.toml b/AI-Upscaling-With-NPU/pyproject.toml index dbef9c3..fe7e3d8 100644 --- a/AI-Upscaling-With-NPU/pyproject.toml +++ b/AI-Upscaling-With-NPU/pyproject.toml @@ -47,6 +47,16 @@ dev = [ "ruff>=0.9.6", ] +#<<<<<<< docs/note-uv-required + +# NOTE: Install with `uv sync`. The torch, torchvision, and +# pytorch-triton-xpu wheels for Intel XPU live on the PyTorch XPU index +# (https://download.pytorch.org/whl/xpu), not on PyPI. The [tool.uv.sources] +# block below tells uv to fetch them from there. Vanilla pip does not parse +# [tool.uv.sources] / [[tool.uv.index]] and will look for the packages on +# PyPI instead, which won't work for the XPU variants. +#======= +#>>>>>>> main [[tool.uv.index]] name = "pytorch" url = "https://download.pytorch.org/whl/cpu" diff --git a/Finetune_Image_Captioning/pyproject.toml b/Finetune_Image_Captioning/pyproject.toml index 639d7f2..310d2df 100644 --- a/Finetune_Image_Captioning/pyproject.toml +++ b/Finetune_Image_Captioning/pyproject.toml @@ -28,6 +28,12 @@ dependencies = [ "soupsieve>=2.8.4", "jupyterlab>=4.5.9", ] +# NOTE: Install with `uv sync`. The torch, torchvision, and +# pytorch-triton-xpu wheels for Intel XPU live on the PyTorch XPU index +# (https://download.pytorch.org/whl/xpu), not on PyPI. The [tool.uv.sources] +# block below tells uv to fetch them from there. Vanilla pip does not parse +# [tool.uv.sources] / [[tool.uv.index]] and will look for the packages on +# PyPI instead, which won't work for the XPU variants. [tool.uv.sources] torch = [ { index = "pytorch-xpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" }, diff --git a/Genre-driven-storytelling/pyproject.toml b/Genre-driven-storytelling/pyproject.toml index 403c1ec..ea4c56b 100644 --- a/Genre-driven-storytelling/pyproject.toml +++ b/Genre-driven-storytelling/pyproject.toml @@ -25,6 +25,12 @@ dependencies = [ "jupyterlab>=4.5.9", ] +# NOTE: Install with `uv sync`. The torch, torchvision, and +# pytorch-triton-xpu wheels for Intel XPU live on the PyTorch XPU index +# (https://download.pytorch.org/whl/xpu), not on PyPI. The [tool.uv.sources] +# block below tells uv to fetch them from there. Vanilla pip does not parse +# [tool.uv.sources] / [[tool.uv.index]] and will look for the packages on +# PyPI instead, which won't work for the XPU variants. [tool.uv.sources] torch = [ { index = "pytorch-xpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" }, diff --git a/LLM/PyTorch/pyproject.toml b/LLM/PyTorch/pyproject.toml index 984f69d..23e0c97 100644 --- a/LLM/PyTorch/pyproject.toml +++ b/LLM/PyTorch/pyproject.toml @@ -33,6 +33,12 @@ dependencies = [ "msgpack>=1.2.1", ] +# NOTE: Install with `uv sync`. The torch, torchvision, torchaudio, and +# pytorch-triton-xpu wheels for Intel XPU live on the PyTorch XPU index +# (https://download.pytorch.org/whl/xpu), not on PyPI. The [tool.uv.sources] +# block below tells uv to fetch them from there. Vanilla pip does not parse +# [tool.uv.sources] / [[tool.uv.index]] and will look for the packages on +# PyPI instead, which won't work for the XPU variants. [tool.uv.sources] torch = [ { index = "pytorch-xpu", marker = "sys_platform == 'win32' or sys_platform == 'linux'" },