Update hf-inference-example.py

main
randaller 3 years ago committed by GitHub
parent 8a484117f5
commit 233196eda1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,9 @@
import llamahf
# to save memory use bfloat16 on cpu
# import torch
# torch.set_default_dtype(torch.bfloat16)
MODEL = 'decapoda-research/llama-7b-hf'
# MODEL = 'decapoda-research/llama-13b-hf'
# MODEL = 'decapoda-research/llama-30b-hf'

Loading…
Cancel
Save