github huggingface/text-embeddings-inference v1.9.0

latest releases: v1.10.1, v1.10.0, v1.9.4...
9 months ago
text-embeddings-inference-v1 9 0

What's changed?

🚨 Breaking changes

  • Default HiddenAct::Gelu to GeLU + tanh in favour of GeLU erf by @vrdn-23 in #753

Default GeLU implementation is now GeLU + tanh approximation instead of exact GeLU (aka. GeLU erf) to make sure that the CPU and CUDA embeddings are the same (as cuBLASlt only supports GeLU + tanh), which represents a slight misalignment from how Transformers handles it, as when hidden_act="gelu" is set in config.json, GeLU erf should be used. The numerical differences between GeLU + tanh and GeLU erf should have negligible impact on inference quality.

--auto-truncate now defaults to true, meaning that the sequences will be truncated to the lower value between the --max-batch-tokens or the maximum model length, to prevent the --max-batch-tokens from being lower than the actual maximum supported length.

🎉 Additions

🐛 Fixes

  • Fix reading non-standard config for past_key_values in ONNX by @alvarobartt in #751
  • Fix TruncationDirection to deserialize from lowercase and capitalized by @alvarobartt in #755
  • Fix sagemaker-entrypoint* & remove SageMaker and Vertex from Dockerfile* by @alvarobartt in #699
  • Bug: Critical accuracy bugs for model_type=qwen2: no causal attention and wrong tokenizer by @michaelfeil in #762
  • Fix config.json reading w/ aliases for ORT by @alvarobartt in #786
  • Fix HTTP error code for validation by @vrdn-23 in #818
  • Fix to acquire the permit in a blocking way by @kozistr in #726
  • Read Hugging Face Hub token from cache if not provided by @alvarobartt in #814
  • Align the normalize param between the gRPC and HTTP /embed interfaces by @kozistr in #810

⚡ Improvements

📄 Other

🆕 New Contributors

Full Changelog: v1.8.3...v1.9.0

Don't miss a new text-embeddings-inference release

NewReleases is sending notifications on new releases.