You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ret = llm.load_huggingface(model=modelpath)
if ret != 0:
print('Load model failed!')
exit(ret)
Build model
ret = llm.build(do_quantization=True, optimization_level=1, quantized_dtype='w8a8', target_platform='rk3588')
if ret != 0:
print('Build model failed!')
exit(ret)
Export rknn model
ret = llm.export_rkllm("./llama-7b.rkllm")
if ret != 0:
print('Export model failed!')
exit(ret)`
system memory : 64GB
IDEA memory : 16GB
model name : LLaMA-7b
The text was updated successfully, but these errors were encountered: