-
Notifications
You must be signed in to change notification settings - Fork 623
UMAP multi-gpu knn graph build docs #7019
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
Changes from all commits
08fbdad
82dd9d5
687d2dc
12e637e
b9c2224
945652b
2b162eb
87b1451
5a530ca
431a971
b66d8e5
bb5ea81
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -138,12 +138,16 @@ def get_param_doc(param_doc_obj, name: str): | |
|
|
||
| base_item_doc = get_param_doc(base_doc_params, name) | ||
|
|
||
| # Ensure the docstring is identical | ||
| assert ( | ||
| found_doc.type == base_item_doc.type | ||
| ), "Docstring mismatch for {}".format(name) | ||
| if not ( | ||
| found_doc.type.startswith("cuml.Handle") | ||
| and klass == cuml.manifold.umap.UMAP | ||
| ): | ||
| # Ensure the docstring is identical | ||
| assert ( | ||
| found_doc.type == base_item_doc.type | ||
| ), "Docstring mismatch for {}".format(name) | ||
|
Comment on lines
+141
to
+148
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The need for the exceptional handling here hints at an abstraction issue. This test ensures that the base class parameters and its children have the same signature for parameters of the same name. We need the exception because this is no longer the case, the A "correct" fix could be to either actually change the signature of the We should not make any attempt at fixing or addressing this in this PR since it was originally introduced in #6654. I suggest that we maintain this state for now and evaluate independently whether a correction is needed. |
||
|
|
||
| assert " ".join(found_doc.desc) == " ".join(base_item_doc.desc) | ||
| assert " ".join(found_doc.desc) == " ".join(base_item_doc.desc) | ||
|
|
||
|
|
||
| @pytest.mark.parametrize("child_class", list(all_base_children.keys())) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.