encoding has some issue with Transformers == 4.48.1
#36
by
keunwoochoi
- opened
TypeError: cannot unpack non-iterable NoneType object
when i call .encode()
. i did some debugging, it happens deep down when the __call__
of nn.Module
is called, with _impl_call_
etc, and that's where i gave up figuring out more.
on 4.47.1
it works well.
i used torch 2.4.1
as well as 2.5
but seems like Transformer version is the core issue.
I experience this as well with 4.48.1
also breaks with torch 2.6