go-skynet / go-llama.cpp

LLama.cpp golang bindings
MIT License
658 stars 80 forks source link

go-llama.cpp Update llama.go to fix some memory leaks #166

Closed scott4290 closed 1 year ago

scott4290 commented 1 year ago

Added some defer C.free lines to clean up unused memory.