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

Wording change: Remove arg type test for internal validation algorithm #510

Merged

Conversation

inexorabletash
Copy link
Member

@inexorabletash inexorabletash commented Jan 16, 2024

The "validate buffer with descriptor given bufferView and descriptor" was validating that the type of the buffer was MLBufferView. This is not necessary, as all invokers (directly, and indirectly via "validate graph resources") only accept MLBufferViews via the WebIDL signatures.


💥 Error: 400 Bad Request 💥

PR Preview failed to build. (Last tried on Jan 17, 2024, 5:35 PM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 CSS Spec Preprocessor - CSS Spec Preprocessor is the web service used to build Bikeshed specs.

🔗 Related URL

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

Copy link
Contributor

@huningxin huningxin left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Copy link
Member

@anssiko anssiko left a comment

Choose a reason for hiding this comment

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

Removing redundant lines of spec (or code) is important and always so gratifying. Thanks for spotting this. There are probably more similar opportunities to defer to WebIDL and Infra specs.

The "validate buffer with descriptor given bufferView and descriptor"
was validating that the type of the buffer was MLBufferView. This is
not necessary, as all invokers (directly, and indirectly via "validate
graph resources") only accept MLBufferViews via the WebIDL signatures.
@huningxin huningxin merged commit d706feb into webmachinelearning:main Jan 18, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Jan 18, 2024
SHA: d706feb
Reason: push, by huningxin

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@inexorabletash inexorabletash deleted the wording-validate-buffer branch February 6, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants