Update llama.py
This commit is contained in:
parent
ff921b8601
commit
8d910ecba9
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue