mirror of
https://github.com/data-privacy-stack/presidio.git
synced 2026-07-31 07:10:44 -05:00
* Gpu first draft * Gliner flow adapted to GPU * deleted testing files * fix: Suppress warnings from spacy_huggingface_pipelines and other libraries * stanza mode added. * ruff issues * adding to to the mock * refactor: remove unused GPU result files and update device detector usage * fix: reorder device_detector import for consistency * docs added around gpu * test: enhance GPU detection tests for DeviceDetector and SpacyNlpEngine * Add comprehensive error path mocking for device_detector and spacy GPU config tests * remove benchmark script. * Enhance device detection to support MPS and update related tests and configurations * Refactor device detection logic to improve clarity and logging for MPS initialization failures * Remove unnecessary comments regarding pipeline configuration in TransformersNlpEngine * Gpu first draft * Gliner flow adapted to GPU * deleted testing files * fix: Suppress warnings from spacy_huggingface_pipelines and other libraries * stanza mode added. * ruff issues * adding to to the mock * refactor: remove unused GPU result files and update device detector usage * fix: reorder device_detector import for consistency * docs added around gpu * test: enhance GPU detection tests for DeviceDetector and SpacyNlpEngine * Add comprehensive error path mocking for device_detector and spacy GPU config tests * remove benchmark script. * Enhance device detection to support MPS and update related tests and configurations * Refactor device detection logic to improve clarity and logging for MPS initialization failures * Remove unnecessary comments regarding pipeline configuration in TransformersNlpEngine * Update GPU acceleration instructions and remove deprecated dependencies * cleaning logs and comments * Enable GPU support for spaCy and transformers in NLP engines * Refactor GPU error logging in SpacyNlpEngine and remove unused import in TransformersNlpEngine * Update documentation and code to reflect MPS (Metal Performance Shaders) support is not available on macOS. Remove references to MPS in device detection and tests.