Skip to content

Upgrading huggingface-hub 0.16 to 0.17

Breaking0.16.4 → 0.17.3Breaking1New50Changed3Fixed8Other23

BreakingUpgrade verdict

1 breaking change.

  • The output of feature extraction now has an extra leading dimension, so code that reads its shape may need updating.
1 item needs code or config changes

Python requirement changed in 0.17.0rc0: >=3.7.0 → >=3.8.0.

Breaking1
Changes InferenceClient.feature_extraction to return the whole response, changing the array shape for transformers models.
InferenceClient.feature_extraction