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

Enhancement #3

Merged
merged 15 commits into from
Apr 20, 2024
Merged

Enhancement #3

merged 15 commits into from
Apr 20, 2024

Conversation

chengchingwen
Copy link
Member

The PR adds more complete support of the safetensors format:

  1. support serialization
  2. support BFloat16 and Float8
  3. allow lazy loading with mmap
  4. handle endian correctly
  5. "safe"r (according to huggingface/safetensors)

Most of the implementation follows the rust code, so it should be easier to track any changes or updates.

The main unexported APIs are serialize, deserialize, and SafeTensor, see the updated readme.

cc @pevnak, @ToucheSir

PR Checklist

  • Tests are added
  • Documentation, if applicable

@chengchingwen
Copy link
Member Author

seems like there isn't any coverage tracker enabled for this repo?

README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
README.md Show resolved Hide resolved
chengchingwen and others added 3 commits February 14, 2024 17:28
Co-authored-by: Carlo Lucibello <carlo.lucibello@gmail.com>
Co-authored-by: Carlo Lucibello <carlo.lucibello@gmail.com>
@chengchingwen
Copy link
Member Author

bump

@ToucheSir ToucheSir merged commit 35235fe into FluxML:main Apr 20, 2024
9 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.

3 participants