Closed WesleyTheGeolien closed 4 weeks ago
Thanks for reporting @WesleyTheGeolien! I have been able to reproduce the issue as well. It seems to be a recent breaking change introduced in https://github.com/huggingface/huggingface_hub/pull/2237. I just opened https://github.com/huggingface/huggingface_hub/pull/2316 to fix it and will make a hot-fix release once reviewed and merged.
@WesleyTheGeolien I just shipped huggingface_hub==0.23.3
with the mentioned fix. Thanks again for noticing and reporting the error :hugs:
@Wauplin 0.23.1
or 0.23.3
?? https://github.com/huggingface/huggingface_hub/releases/tag/v0.23.3 this is the correct one right?
Yes indeed sorry. Corrected my typo :)
Confirmed it is also working thanks for the speedy fix!
Describe the bug
When passing
details=True
andstream=True
(I haven't tried with other configurations) details appears to always beNone
at least in the examples I have run. I am usinghuggingface_hub=0.23.2
on Linux if that helps. I think I was on 0.20 before and I seem to remember this to be working so it looks like there may have been a regression.Reproduction
Example taken from InferenceClient.text_generation docstring case 4:
Logs
System info