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

impl View for TensorView #329

Merged
merged 1 commit into from
Aug 21, 2023
Merged

impl View for TensorView #329

merged 1 commit into from
Aug 21, 2023

Conversation

coreylowman
Copy link
Contributor

What does this PR do?

The existing impl only exists for &TensorView, which means you cannot pass a Vec<(String, TensorView)> into serialize_to_file. With this new impl, you can.

The existing impl only exists for `&TensorView`, which means you cannot pass a `Vec<(String, TensorView)>` into `serialize_to_file`. With this new impl, you can.
@Narsil
Copy link
Collaborator

Narsil commented Aug 18, 2023

LGTM

@Narsil Narsil merged commit 34a2a0a into huggingface:main Aug 21, 2023
9 of 10 checks passed
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.

2 participants