-
Notifications
You must be signed in to change notification settings - Fork 308
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
Updates to build and test nx-cugraph
wheel as part of CI and nightly workflows
#3852
Updates to build and test nx-cugraph
wheel as part of CI and nightly workflows
#3852
Conversation
…unnecessary dataset download from cugraph wheel testing.
…nd breaking mamba change" This reverts commit 9ba4595.
…uild to work around mamba breaking change.
This comment was marked as resolved.
This comment was marked as resolved.
…0-nx_cugraph_wheel
/ok to test |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
…he script, uses ls instead of echo to expand wildcards so errors for missing files are more obvious.
…0-nx_cugraph_wheel
This comment was marked as duplicate.
This comment was marked as duplicate.
@@ -9,9 +9,9 @@ package_dir=$2 | |||
mkdir -p ./dist | |||
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" | |||
|
|||
# echo to expand wildcard before adding `[extra]` requires for pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a case where the wildcard did not match the .whl files on disk and 'echo' simply echo'd the wildcard pattern, which made pip
generate a misleading error message. Using 'ls' will result in the script erroring out with a clear message about the missing/mis-named files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Odd, but I'm fine with the change if it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this change, I see the problem with shell wildcard expansion.
This comment was marked as duplicate.
This comment was marked as duplicate.
…0-nx_cugraph_wheel
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of notes, but looks fine otherwise.
@@ -9,9 +9,9 @@ package_dir=$2 | |||
mkdir -p ./dist | |||
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" | |||
|
|||
# echo to expand wildcard before adding `[extra]` requires for pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Odd, but I'm fine with the change if it works.
pushd ./datasets | ||
bash ./get_test_data.sh | ||
popd | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this change is necessary for nightlies? Were nightly tests for arm not running the tests that required datasets?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't remove this, but might need to modify it to only be skipped in ARM PR jobs. In ARM PR jobs, we can only run "smoke tests" due to limited resource capacity.
Line 16 in 5c34d3d
# Run smoke tests for aarch64 pull requests |
Downloading the datasets is time-intensive and should not be performed for "smoke tests" in ARM PR jobs because it wastes a lot of time on the ARM GPU node.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm terribly sorry. I read this backwards. This removed downloading datasets for ALL jobs (all arches, nightly/PR). Are we not dependent on datasets for tests to pass anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The get_test_data.sh
script will download supplemental datasets that are too big to commit to our github repo. Those are currently only used by C++ tests. The python tests use the smaller .csv datasets committed to the repo here, so it's safe to skip downloading when only testing python code.
I only removed it here since it was in the proximity of the changes for the wheel builds, but I think an audit of what runs require downloading the supplemental datasets would be good for a separate PR.
Prior to the recent commits to the PR which triggered CI running now, we had everything passing with the download step removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rlratzel, I'll approve now.
This comment was marked as duplicate.
This comment was marked as duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting changes. We must skip dataset downloads for ARM smoke tests (ARM PRs).
@@ -9,9 +9,9 @@ package_dir=$2 | |||
mkdir -p ./dist | |||
RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})" | |||
|
|||
# echo to expand wildcard before adding `[extra]` requires for pip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this change, I see the problem with shell wildcard expansion.
pushd ./datasets | ||
bash ./get_test_data.sh | ||
popd | ||
fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't remove this, but might need to modify it to only be skipped in ARM PR jobs. In ARM PR jobs, we can only run "smoke tests" due to limited resource capacity.
Line 16 in 5c34d3d
# Run smoke tests for aarch64 pull requests |
Downloading the datasets is time-intensive and should not be performed for "smoke tests" in ARM PR jobs because it wastes a lot of time on the ARM GPU node.
/merge |
A couple PRs were merged after `branch-23.12` was created and contained RAPIDS versions that need to be updated in `branch-23.12`. Ref: - #3838 - #3852 Authors: - Ray Douglass (https://github.com/raydouglass) - Rick Ratzel (https://github.com/rlratzel) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) - Brad Rees (https://github.com/BradReesWork) URL: #3905
closes rapidsai/graph_dl#302
nx-cugraph
wheelnx-cugraph
wheelnx-cugraph