-
Notifications
You must be signed in to change notification settings - Fork 93
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
feat(datasets): Added the Experimental SafetensorsDataset #898
feat(datasets): Added the Experimental SafetensorsDataset #898
Conversation
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
e982ffe
to
98bb719
Compare
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Hey @astrojuanlu, |
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
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.
Thank you for the PR, @MinuraPunchihewa! It looks great to me. I tested it manually, and everything works perfectly!
Signed-off-by: Minura Punchihewa <[email protected]>
Thank you, @DimedS. I appreciate it. I just updated the release notes as well. |
kedro-datasets/kedro_datasets_experimental/safetensors/safetensors_dataset.py
Outdated
Show resolved
Hide resolved
kedro-datasets/kedro_datasets_experimental/safetensors/safetensors_dataset.py
Outdated
Show resolved
Hide resolved
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.
Apart from the comments I made on dependencies and defaults, I tested this with local and S3 URLs, saving and loading data, loading data saved with one backend from another backend. It all seems to work. Thanks @MinuraPunchihewa !
Co-authored-by: Nok Lam Chan <[email protected]> Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
Signed-off-by: Minura Punchihewa <[email protected]>
This is going in, thanks @MinuraPunchihewa again! |
It's a pleasure. |
Description
This PR adds the
SafetensorsDataset
to support interactions with tensors stored in files in the Safetensors format.Fixes #221
Development notes
I have used the PickleDataset as a base for the implementation of this dataset (as it goes about the same manner to access files).
These changes have been tested,
Checklist
RELEASE.md
file