-
Notifications
You must be signed in to change notification settings - Fork 13
BUG: reject non-scalar fill_value in full{_like}
#181
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
base: main
Are you sure you want to change the base?
Conversation
lucascolley
left a comment
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.
looks like https://github.com/data-apis/array-api-tests/blob/3249a739f8ce9be95e5210ed90ea5d8d62045eec/array_api_tests/test_manipulation_functions.py#L376 needs to be modified somehow, not sure exactly how
|
Ah yes indeed, the test is not strictly spec-compliant apparently: indexing an array produces an size-1 array not a python scalar I think it needs The need to send two matching PRs is sadly rather common. Here the required array-api-tests PR is straightforward in a sense that it'll clearly make tests standard-compatible. Would you be able to send a -tests PR? Since CI cannot easily test a branch vs branch (and runs a very small number of examples), I typically resort to first testing things locally with editable installs. Roughly (I'm sure you've a nicer way with pixi), When it passes locally, push the -tests PR, make sure it passes with the -strict main on CI, merge the |
|
Huh, apparently Comments are "# pytorch/pytorch#151311: torch.repeat_interleave rejects short integers" and |
|
Meanwhile, here's a fix for this particular issue: data-apis/array-api-tests#412 |
|
A rebase on main should rid of test_special_cases failures |
|
yep all green |
closes gh-55 @ev-br