Skip to content

fszontagh/SimpleSafeTensorsParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleSafeTensorsParser

A simple safetensors file meta reader

Build Instructions

To build the project using CMake, follow these steps:

  1. Install CMake: Ensure that CMake is installed on your system. You can download it from cmake.org.

  2. Create a Build Directory: It's a good practice to build the project in a separate directory to keep the source directory clean. Create a directory named build inside the project root:

    mkdir build
    cd build
  3. Generate Build Files: Run CMake to generate the necessary build files. This will configure the project:

    cmake ..
  4. Compile the Project: Use the generated build files to compile the project:

    cmake --build .
  5. Run the Executable: After building the project, you can run the executable. For example:

    ./SafetensorsReader <path_to_safetensors_file>

Replace <path_to_safetensors_file> with the actual path to the safetensors file you want to read.

About

A simple safetensors file meta reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages