Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use patch file to use requests to download dataset for 24.12 #723

Closed

Conversation

dantegd
Copy link
Member

@dantegd dantegd commented Dec 17, 2024

This PR is to work around the 403 issue being seen when downloading datasets, while we create a more permanent solution.

@dantegd dantegd requested a review from a team as a code owner December 17, 2024 18:13
@dantegd dantegd requested a review from raydouglass December 17, 2024 18:13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If going this route, this patch file needs to be copied into the container, like here: https://github.com/rapidsai/docker/blob/branch-25.02/cuvs-bench/gpu/Dockerfile#L55

import subprocess
import sys
-from urllib.request import urlretrieve
+import requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the container have requests installed?

@raydouglass raydouglass changed the base branch from branch-25.02 to branch-24.12 December 19, 2024 20:05
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why patch this if we can make the fix directly in cuvs-bench?

edit: Got the answer offline. 24.12 cuvs-bench artifacts were already published, which necessitated a patch. This change could be made for 25.02, but we are going to try and self-host the datasets to avoid this problem entirely.

rapids-bot bot pushed a commit that referenced this pull request Jan 15, 2025
Separates the workflows for building the RAPIDS end user images and the cuVS images. The cuVS images do not depend on the RAPIDS end user images, so they can be built in parallel. This also allows for finer grained retries in case of failures.

Also switches to using `rapids-mamba-retry` for installing conda packages.

Finally, disables building the `cuvs-bench-datasets` images which are consistently failing (#724) until a better solution than the workaround in #723 is ready. 5adab54 can be reverted to re-enable this.

Authors:
  - Ray Douglass (https://github.com/raydouglass)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)

URL: #725
@raydouglass raydouglass added the DO NOT MERGE Hold off on merging; see PR for details label Jan 15, 2025
@dantegd dantegd closed this Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DO NOT MERGE Hold off on merging; see PR for details
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants