joycaption icon indicating copy to clipboard operation
joycaption copied to clipboard

[Hint] AutoProcessor with `use_fast=False`

Open mikemoik opened this issue 8 months ago • 0 comments

with current torch versions and pyhton 3.14 i had to add the option

processor = AutoProcessor.from_pretrained(MODEL_NAME, use_fast=False)

as the hint already suggested. without it i got:

  File "/topath/lib/python3.14/site-packages/torch/nn/functional.py", line 4924, in interpolate
    raise NotImplementedError(
    ...<3 lines>...
    )
NotImplementedError: Input Error: Only 3D, 4D and 5D input Tensors supported (got 4D) for the modes: nearest | linear | bilinear | bicubic | trilinear | area | nearest-exact (got lanczos)

mikemoik avatar Mar 06 '26 11:03 mikemoik