GitHub Issue
Odd defaults: fails if no NVIDIA driver found on a system with no nvidia device at all
OPF fails if there is no NVIDIA driver by default on my Dell Inspiron 3525, where is no ext GPU at all.
```
(.venv) ➜ privacy-filter git:(main) opf "Alice was born on 1990-01-02."
Traceback (most recent call last):
File "/home/karrakoliko/Downloads/privacy-filter/.venv/bin/opf", line 8, in
sys.exit(main())
~~~~^^
File "/home/karrakoliko/Downloads/privacy-filter/opf/__main__.py", line 209, in main
_run_redaction_command(argv_list)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/home/karrakoliko/Downloads/privacy-filter/opf/__main__.py", line 136, in _run_redaction_command
result = redactor.redact(text)
File "/home/karrakoliko/Downloads/privacy-filter/opf/_api.py", line 257, in redact
runtime, decoder = self.get_prediction_components(decode=decode)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/home/karrakoliko/Downloads/privacy-filter/opf/_api.py", line 451, in get_prediction_components
runtime = self.get_runtime()
File "/home/karrakoliko/Downloads/privacy-filter/opf/_api.py", line 405, in get_runtime
self._runtime = load_inference_runtime(
~~~~~~~~~~~~~~~~~~~~~~^
checkpoint=self._checkpoint,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
output_mode=self._output_mode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/home/karrakoliko/Downloads/privacy-filter/opf/_core/runtime.py", line 231, in load_inference_runtime
model = Transfor...
View Raw Thread
SaaS Metrics