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

[Runtime] Compatibility with dmlc::Stream API changes #16998

Merged

Conversation

Lunderberg
Copy link
Contributor

This commit updates TVM implementations of dmlc::Stream. With dmlc/dmlc-core#686, this API now requires the Write method to return the number of bytes written. This change allows partial writes to be correctly handled.

This commit updates TVM implementations of `dmlc::Stream`.  With
dmlc/dmlc-core#686, this API now requires
the `Write` method to return the number of bytes written.  This change
allows partial writes to be correctly handled.
@Lunderberg
Copy link
Contributor Author

This PR is marked as a draft, until the upstream dmlc changes land. At that point, this PR will be updated to also include a version bump for 3rdparty/dmlc-core.

@Lunderberg Lunderberg marked this pull request as ready for review May 22, 2024 13:19
@Lunderberg
Copy link
Contributor Author

Upstream dmlc-core changes have landed, and this PR updates the submodule version to include the changes.

@tqchen
Copy link
Member

tqchen commented May 28, 2024

@tvm-bot rerun

@Lunderberg
Copy link
Contributor Author

@tvm-bot rerun

(Rerunning to use CI fix from #17040.)

@tqchen tqchen merged commit 820f1b6 into apache:main May 30, 2024
18 checks passed
@Lunderberg Lunderberg deleted the runtime_dmlc_stream_write_returning_nbytes branch May 30, 2024 17:06
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.

None yet

2 participants