Skip to content

Feedback about PyTorch Vulkan Backend User Workflow #3993

Open

Description

@guestmaan

There is the following issue on this page: https://docs.pytorch.org/tutorials/unstable/vulkan_workflow.html

the provided installation instructions no longer work.

rror: python setup.py <command> is deprecated: PyTorch is built with
scikit-build-core via the standard PEP 517 interface (pyproject.toml),
and setup.py is no longer part of the build.

Deprecation schedule:
PyTorch 2.14-2.15: install and develop forward to pip
(current behavior); other commands fail
PyTorch 2.16-2.17: all commands fail with instructions
PyTorch 2.18: setup.py is removed

Replacement commands:
install: spin install (or: pip install --no-build-isolation -v .)
editable install: spin develop (or: pip install --no-build-isolation -v -e .)
wheel: python -m build --wheel --no-isolation
sdist: python -m build --sdist

Build customization through environment variables (DEBUG=1, USE_CUDA=0,
MAX_JOBS=..., etc.) works unchanged with the replacement commands. See
the "From Source" section of README.md for details and
pytorch/pytorch#152276 for background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions