Skip to content

Update the nightly checkout tool not to use conda #141238

@atalman

Description

@atalman

🐛 Describe the bug

Update code in nightly checkout tool to rely on pip install rather then conda:

pytorch/tools/nightly.py

Lines 59 to 63 in a9e54f6

SPECS_TO_INSTALL = ("pytorch", "mypy", "pytest", "hypothesis", "ipython", "sphinx")
DEFAULT_ENV_NAME = "pytorch-deps"
LOGGER: logging.Logger | None = None
URL_FORMAT = "{base_url}/{platform}/{dist_name}.tar.bz2"

Update development env setup instructions:
https://github.com/pytorch/pytorch/blob/main/CONTRIBUTING.md?rgh-link-date=2024-11-20T12%3A37%3A40Z#setup-the-development-environment

As per:
#138506 (comment)

Versions

nightly

cc @seemethere @XuehaiPan @malfet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions