Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: huggingface/safetensors
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.2
Choose a base ref
...
head repository: huggingface/safetensors
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.5.3
Choose a head ref
  • 9 commits
  • 11 files changed
  • 6 contributors

Commits on Jan 9, 2025

  1. Configuration menu
    Copy the full SHA
    ea1a2d0 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2025

  1. Add support for Intel Gaudi hpu accelerators (#566)

    * Add support for Intel Gaudi hpu accelerators
    
    * Fixing the `find_spec` dep.
    
    * Fixing unused import.
    
    ---------
    
    Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
    Asaf Karnieli and Narsil authored Feb 4, 2025
    1 Configuration menu
    Copy the full SHA
    ee109c6 View commit details
    Browse the repository at this point in the history
  2. Restore compatibility with Rust 1.74 (#563)

    * Restore compatibility with Rust 1.74
    
    PR #544 added support for `no_std` feature. The PR changed
    `std::error::Error` to `core::error::Error`. The `core::error` trait was
    stabilized in Rust 1.81, so the change bumped MSRV to 1.81. Before the
    Python package built with Rust 1.66 and the `safetensors` create with
    all features built with 1.74.
    
    This commit restores compatibility with Rust 1.74 for `std` builds:
    
    - `mixed_integer_ops` feature requires 1.66
    - `half v2.4.1` requires 1.70
    - `clap_lex v0.7.4` requires 1.74
    
    I'm also adding `rust-version` to `Cargo.toml`, so cargo creates a
    backwards compatible `Cargo.lock`. By default, Cargo >= 1.83 creates a
    `v4` lock file, which is not compatible with Cargo < 1.78.
    
    Signed-off-by: Christian Heimes <christian@python.org>
    
    * Merging the test matrix.
    
    ---------
    
    Signed-off-by: Christian Heimes <christian@python.org>
    Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
    tiran and Narsil authored Feb 4, 2025
    Configuration menu
    Copy the full SHA
    581f43b View commit details
    Browse the repository at this point in the history
  3. Return error on out of range index (#565)

    * Return error on out of range index
    
    Fix issue #560, return a SliceOutOfRange error if the stop value
    exceeds the available span.
    
    * Improve the fix.
    
    * Revert this change.
    
    * Adding unit test around invalid range
    
    * Checking for too many slices too.
    
    * Small cleanup.
    
    ---------
    
    Co-authored-by: Nicolas Patry <patry.nicolas@protonmail.com>
    oliness and Narsil authored Feb 4, 2025
    Configuration menu
    Copy the full SHA
    fa83351 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2025

  1. Demoing zero-copy save. (#567)

    * Demoing zero-copy save.
    
    * Fixing clippy issue.
    
    * Some cleanup.
    
    * Sdist doesn't require feature ?
    
    * Incorrect clean.
    
    * Clippy ?
    
    * Sanity check
    
    * Fixing the doc builder?
    
    * Using pre-commit for quality.
    
    * This should work.
    
    * Clippy variant.
    
    * pyfeature typo.
    
    * Bypassing the necessity for an env ?
    
    * Remove maturin.
    
    * BigEndian fix.
    
    * Only black.
    
    * We need to check both features.
    
    * ??
    
    * Asking for readonly is not possible.
    
    * Before the build.
    
    * Fixing byte-endian?
    Narsil authored Feb 6, 2025
    Configuration menu
    Copy the full SHA
    4b3864c View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2025

  1. removed DS_Store (#573)

    spikedoanz authored Feb 23, 2025
    Configuration menu
    Copy the full SHA
    7bf65ad View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2025

  1. hpu index (#578)

    IlyasMoutawwakil authored Feb 25, 2025
    Configuration menu
    Copy the full SHA
    579ddf9 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2025

  1. Revert "Demoing zero-copy save. (#567)"

    This reverts commit 4b3864c.
    Narsil committed Feb 26, 2025
    Configuration menu
    Copy the full SHA
    80763e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    066773f View commit details
    Browse the repository at this point in the history
Loading