Skip to content

Conversation

@shubhbapna
Copy link
Contributor

fixes #510

Resolving and then immediately detecting if we have seen the dependency allows us to avoid paying the cost of trying to download and verify the sdist tarball each time that dependency is requested.

On our downstream systems just torch itself was spending 3 minutes total in download_source in a single bootstrap run with all performance features enabled. This brings it down to 5 seconds for torch (didn't measure it for other dependencies)

Shubh Bapna added 2 commits November 21, 2024 16:11
… downloading the source

Signed-off-by: Shubh Bapna <sbapna@redhat.com>
Signed-off-by: Shubh Bapna <sbapna@redhat.com>
@shubhbapna shubhbapna force-pushed the resolve-then-detect-duplicate branch from 53208a4 to daba74a Compare November 21, 2024 21:11
@mergify mergify bot added the ci label Nov 21, 2024
@mergify mergify bot merged commit 48a51df into python-wheel-build:main Nov 21, 2024
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

check whether we have already seen the dependency before downloading sources

2 participants