Update vision.py
This commit is contained in:
parent
2b15768670
commit
4b635bef12
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ def unsloth_base_fast_generate(
|
|||
raise TypeError("Unsloth: You need to pass in input_ids to .generate!")
|
||||
assert(type(x) is torch.Tensor)
|
||||
bsz = x.shape[0]
|
||||
print(kwargs)
|
||||
|
||||
FastBaseModel.for_inference(self)
|
||||
dtype = _get_dtype(self.config.torch_dtype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue