cast
This commit is contained in:
parent
24e8292e94
commit
dfc62648f3
@ -47,7 +47,7 @@ func Quantize(infile, outfile string, ftype fileType, fn func(resp api.ProgressR
|
|||||||
*(*C.float)(store) = 0.0
|
*(*C.float)(store) = 0.0
|
||||||
|
|
||||||
params.quantize_callback_data = store
|
params.quantize_callback_data = store
|
||||||
params.quantize_callback = C.update_quantize_progress
|
params.quantize_callback = (C.llama_progress_callback)(C.update_quantize_progress)
|
||||||
|
|
||||||
go func () {
|
go func () {
|
||||||
for {
|
for {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user