Skip to content

mithril-security/SafetensorsConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SafetensorsConverter

This script converts pytorch models to safetensors.

Installation

Run the poetry package :

$ poetry shell
$ poetry install

Usage

The pytorch files must be in the .bin extension.

(safetensorsconverter-py3.8) $ poetry run python convert_from_torch_to_safetensors.py <Path_to_Model>

About

Converts Pytorch to Safetensors

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages