-
Notifications
You must be signed in to change notification settings - Fork 717
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrating OpenVINO Runtime in Spark NLP (#14200)
* Use OpenVINO model engine for BertEmbeddings Add OpenVINO model engine wrapper Add default buffer size for reading weights file Read OpenVINO IR format models * Use Long Tensors with XlmRoberta * Add OpenVINO support for RoBerta and XlmRoBerta embeddings * Fix data type and formatting * Add OpenVINO BERT test - Resole merge conflicts - Add test for openvino load model * Update Python APIs to use OpenVINO * Add param to enable OpenVINO through Python API * Formatting changes * Add OpenVINO support for E5 Embeddings * Enable OpenVINO backend for E5 Embeddings * Update Python APIs * Resolve merge issues * Add OpenVINO support for T5 * Read and write encoder-decoder models with OpenVINO * OpenVINO Async Inference * Refactor and cleanup * Update comments * Add config to set OpenVINO inference device * Add OpenVINO support for BERT Sentence Embeddings * Formatting * Openvino synchronous inference * Refactoring: OV Model Conversion * BertSentenceEmbeddings Python API * Enable OpenVINO support for Llama2 * Read/write Llama2 Transformer with OpenVINO * Bugfix: Update saved model filename * Replace broadcast with addFile for OpenVINO-based annotators * Add OpenVINO Wrapper tests * Add suffix to avoid duplication in Spark Files * Set default OV inference device to CPU * Use CPU by default for OpenVINO inference due to error loading device config in cluster envs * Bugfix: Read serialized model from folder
- Loading branch information
1 parent
4419a70
commit fabc4ab
Showing
36 changed files
with
1,507 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.