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

Add an Allocatable trait to the runner interface #179

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

VivekPanyam
Copy link
Owner

@VivekPanyam VivekPanyam commented Oct 19, 2023

This PR adds an Allocatable trait to the runner interface. This generally makes it cleaner to write generic functions over Carton types without needing to reference implementation details in trait bounds (e.g. where InlineAllocator: TypedAlloc<T, Output = InlineTensorStorage>).

Note: this PR does touch files inside do_not_modify, but it does so in a way that does not affect the wire protocol.

@VivekPanyam VivekPanyam merged commit 4786140 into main Dec 27, 2023
8 checks passed
@VivekPanyam VivekPanyam deleted the cleanup_alloc branch December 27, 2023 22:56
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.

1 participant