Skip to content

Commit 224eb64

Browse files
committed
Make OpenVINO optional
1 parent f9efa77 commit 224eb64

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ $ source venv3/bin/activate
4040
(venv3) $ bonito download --models --latest
4141
```
4242

43+
To build with OpenVINO backend:
44+
```bash
45+
(venv3) $ pip install develop .[openvino]
46+
```
47+
4348
## Models
4449

4550
The following pretrained models are available to download with `bonito download`.

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ ont-fast5-api==3.3.0
1414
fast-ctc-decode==0.3.0
1515
cupy-cuda102==9.6.0
1616
genomeworks-cuda-10-2==2021.2.2
17-
openvino==2021.4.1

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ def run(self):
4343
packages=find_packages(),
4444
include_package_data=True,
4545
install_requires=requirements,
46+
extras_require = {
47+
'openvino': ['openvino==2021.4.1'],
48+
},
4649
long_description=long_description,
4750
long_description_content_type='text/markdown',
4851
author='Oxford Nanopore Technologies, Ltd',

0 commit comments

Comments
 (0)