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

Safetensors #1255

Merged
merged 3 commits into from
Oct 4, 2024
Merged

Safetensors #1255

merged 3 commits into from
Oct 4, 2024

Commits on Oct 4, 2024

  1. feat(granite): Add support for finding weight mapping files with othe…

    …r names
    
    Branch: GraniteCodeSupport
    
    Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
    gabe-l-hart committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    25f1775 View commit details
    Browse the repository at this point in the history
  2. feat(granite): Add support for loading state_dict from safetensors

    Branch: GraniteCodeSupport
    
    Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
    gabe-l-hart committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    33a2962 View commit details
    Browse the repository at this point in the history
  3. feat(safetensors): Use model_info to determine whether to download pt…

    …h or safetensors
    
    The logic here will prefer pth over safetensors unless the model's config
    explicitly states a preference for safetensors over pth. If only one of the
    two is found, the download will use whichever is present.
    
    Branch: GraniteCodeSupport
    
    Signed-off-by: Gabe Goodhart <ghart@us.ibm.com>
    gabe-l-hart committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9db974d View commit details
    Browse the repository at this point in the history