Update llama.py

This commit is contained in:
Daniel Han 2024-09-25 18:07:21 -07:00
commit 8d910ecba9

View file

@ -1409,6 +1409,8 @@ def _wrap_fast_inference(generate, device_type, dtype, model):
# Autocasted
with torch.autocast(device_type = device_type, dtype = dtype):
print(args)
print(kwargs)
output = generate(*args, **kwargs)
pass