rocapp / torch_to_ggml

convert a saved pytorch model to gguf and generate as much corresponding ggml c code as possible

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WARNING: Project is abandonned and in a very early/unsuable state

🔥 Torch to ggml

a python tool to convert any (hopefully) pytorch model file to a gguf file and generate as much of the c code to use it as possible.

Usage

./convert.py <path_to_pt_model> [model_name]

This will generate a model_name.gguf model file and a model_name.c file.

About

convert a saved pytorch model to gguf and generate as much corresponding ggml c code as possible


Languages

Language:Python 100.0%