mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-28 15:38:36 +00:00
* Add device checking and model_kwargs like we do in ExtractiveReader * Add release notes * Make a utility function for the device checking * Better warning message and updated ExtractiveReader to use the util function * Add unit tests for get_device * Fix pylint
6 lines
280 B
YAML
6 lines
280 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Add new variable model_kwargs to the TransformersSimilarityRanker so we can pass different loading options supported by
|
|
HuggingFace. Add device availability checking if the user passes in None to the device init param. Ranking goes, GPU, MPS, CPU.
|