Skip to content

uv sync --extra cuda fails on Windows: cache rename Access denied (Defender) #5

Description

@ObscureAintSecure

uv sync --extra cuda can fail on Windows with failed to rename ... Access is denied (os error 5) when antivirus (Defender) locks the ~2.4GB torch wheel in uv's cache during extraction. Reproduced on Win11 Build 26200. The plain-pip path (pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu126) works, and the README documents retry / uv cache clean / cache-exclusion.

Track a cleaner fix: investigate UV_LINK_MODE, an alternate cache location, or accept as doc-only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions