holoscan 2.6.0__cp312-cp312-manylinux_2_35_aarch64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holoscan-2.6.0.data/purelib/holoscan/__init__.py +133 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/__init__.py +32 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/__main__.py +159 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/argparse_types.py +153 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/artifact_sources.py +149 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/constants.py +119 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/dockerutils.py +509 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/enum_types.py +52 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/exceptions.py +130 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/sdk_utils.py +180 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/common/utils.py +130 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/logging.json +37 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/nics/__init__.py +18 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/nics/nics.py +34 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/__init__.py +18 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/arguments.py +137 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/config_reader.py +181 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/container_builder.py +368 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/manifest_files.py +220 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/models.py +93 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/package_command.py +189 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/packager.py +122 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/parameters.py +558 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/platforms.py +402 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/templates/Dockerfile.jinja2 +470 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/templates/dockerignore +93 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/packager/templates/tools.sh +416 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/py.typed +0 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/runner/__init__.py +18 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/runner/resources.py +174 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/runner/run_command.py +203 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/runner/runner.py +306 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/version/__init__.py +18 -0
- holoscan-2.6.0.data/purelib/holoscan/cli/version/version.py +50 -0
- holoscan-2.6.0.data/purelib/holoscan/conditions/__init__.py +57 -0
- holoscan-2.6.0.data/purelib/holoscan/core/__init__.py +430 -0
- holoscan-2.6.0.data/purelib/holoscan/decorator.py +592 -0
- holoscan-2.6.0.data/purelib/holoscan/executors/__init__.py +26 -0
- holoscan-2.6.0.data/purelib/holoscan/graphs/__init__.py +32 -0
- holoscan-2.6.0.data/purelib/holoscan/gxf/__init__.py +57 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_holoscan_wrapper.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_holoscan_wrapper_lib.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_ucx_holoscan.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_ucx_holoscan_lib.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_app.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_core.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_cuda.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_logger.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_multimedia.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_rmm.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_sample.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_serialization.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_std.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libgxf_ucx.so +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_core.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_infer.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_infer_onnx_runtime.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_infer_torch.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_infer_utils.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_logger.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_aja.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_async_ping_rx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_async_ping_tx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_bayer_demosaic.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_format_converter.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_gxf_codelet.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_holoviz.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_inference.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_inference_processor.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_ping_rx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_ping_tensor_rx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_ping_tensor_tx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_ping_tx.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_segmentation_postprocessor.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_v4l2.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_video_stream_recorder.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_op_video_stream_replayer.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_profiler.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_spdlog_logger.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libholoscan_viz.so.2.6.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libucm.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libucp.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libucs.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libucs_signal.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libuct.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/libyaml-cpp.so.0.7.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libucm_cuda.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libucs_fuse.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_cma.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_cuda.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_cuda_gdrcopy.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_ib.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_rdmacm.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libuct_xpmem.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/lib/ucx/libucx_perftest_cuda.so.0.0.0 +0 -0
- holoscan-2.6.0.data/purelib/holoscan/logger/__init__.py +37 -0
- holoscan-2.6.0.data/purelib/holoscan/network_contexts/__init__.py +28 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/__init__.py +97 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/aja_source/__init__.py +22 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/bayer_demosaic/__init__.py +24 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/format_converter/__init__.py +23 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/gxf_codelet/__init__.py +67 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/holoviz/__init__.py +424 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/inference/__init__.py +23 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/inference_processor/__init__.py +23 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/ping_rx/__init__.py +45 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/ping_tensor_rx/__init__.py +22 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/ping_tensor_tx/__init__.py +22 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/ping_tx/__init__.py +46 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/segmentation_postprocessor/__init__.py +23 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/v4l2_video_capture/__init__.py +23 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/video_stream_recorder/__init__.py +22 -0
- holoscan-2.6.0.data/purelib/holoscan/operators/video_stream_replayer/__init__.py +22 -0
- holoscan-2.6.0.data/purelib/holoscan/resources/__init__.py +147 -0
- holoscan-2.6.0.data/purelib/holoscan/schedulers/__init__.py +32 -0
- holoscan-2.6.0.data/purelib/holoscan-2.6.0.pth +1 -0
- holoscan-2.6.0.dist-info/LICENSE.txt +202 -0
- holoscan-2.6.0.dist-info/METADATA +125 -0
- holoscan-2.6.0.dist-info/NOTICE.txt +174 -0
- holoscan-2.6.0.dist-info/NVIDIA-AI-PRODUCT-EULA.txt +243 -0
- holoscan-2.6.0.dist-info/RECORD +126 -0
- holoscan-2.6.0.dist-info/WHEEL +5 -0
- holoscan-2.6.0.dist-info/axle.lck +0 -0
- holoscan-2.6.0.dist-info/entry_points.txt +3 -0
- holoscan-2.6.0.dist-info/symlinks.txt +82 -0
- holoscan-2.6.0.dist-info/top_level.txt +3 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
""" # noqa: E501
|
|
17
|
+
|
|
18
|
+
import holoscan.core # noqa: F401
|
|
19
|
+
|
|
20
|
+
from ._video_stream_recorder import VideoStreamRecorderOp
|
|
21
|
+
|
|
22
|
+
__all__ = ["VideoStreamRecorderOp"]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
""" # noqa: E501
|
|
17
|
+
|
|
18
|
+
import holoscan.core # noqa: F401
|
|
19
|
+
|
|
20
|
+
from ._video_stream_replayer import VideoStreamReplayerOp
|
|
21
|
+
|
|
22
|
+
__all__ = ["VideoStreamReplayerOp"]
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
"""This module provides a Python API to underlying C++ API Resources.
|
|
16
|
+
|
|
17
|
+
.. autosummary::
|
|
18
|
+
|
|
19
|
+
holoscan.resources.Allocator
|
|
20
|
+
holoscan.resources.BlockMemoryPool
|
|
21
|
+
holoscan.resources.Clock
|
|
22
|
+
holoscan.resources.CudaAllocator
|
|
23
|
+
holoscan.resources.CudaStreamPool
|
|
24
|
+
holoscan.resources.DoubleBufferReceiver
|
|
25
|
+
holoscan.resources.DoubleBufferTransmitter
|
|
26
|
+
holoscan.resources.GXFComponentResource
|
|
27
|
+
holoscan.resources.ManualClock
|
|
28
|
+
holoscan.resources.MemoryStorageType
|
|
29
|
+
holoscan.resources.RealtimeClock
|
|
30
|
+
holoscan.resources.Receiver
|
|
31
|
+
holoscan.resources.RMMAllocator
|
|
32
|
+
holoscan.resources.SerializationBuffer
|
|
33
|
+
holoscan.resources.StdComponentSerializer
|
|
34
|
+
holoscan.resources.StdEntitySerializer
|
|
35
|
+
holoscan.resources.StreamOrderedAllocator
|
|
36
|
+
holoscan.resources.Transmitter
|
|
37
|
+
holoscan.resources.UnboundedAllocator
|
|
38
|
+
holoscan.resources.UcxComponentSerializer
|
|
39
|
+
holoscan.resources.UcxEntitySerializer
|
|
40
|
+
holoscan.resources.UcxHoloscanComponentSerializer
|
|
41
|
+
holoscan.resources.UcxReceiver
|
|
42
|
+
holoscan.resources.UcxSerializationBuffer
|
|
43
|
+
holoscan.resources.UcxTransmitter
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
from holoscan.core import ComponentSpec, _Fragment
|
|
47
|
+
|
|
48
|
+
from ._resources import (
|
|
49
|
+
Allocator,
|
|
50
|
+
BlockMemoryPool,
|
|
51
|
+
Clock,
|
|
52
|
+
CudaAllocator,
|
|
53
|
+
CudaStreamPool,
|
|
54
|
+
DoubleBufferReceiver,
|
|
55
|
+
DoubleBufferTransmitter,
|
|
56
|
+
ManualClock,
|
|
57
|
+
MemoryStorageType,
|
|
58
|
+
RealtimeClock,
|
|
59
|
+
Receiver,
|
|
60
|
+
RMMAllocator,
|
|
61
|
+
SerializationBuffer,
|
|
62
|
+
StdComponentSerializer,
|
|
63
|
+
StdEntitySerializer,
|
|
64
|
+
StreamOrderedAllocator,
|
|
65
|
+
Transmitter,
|
|
66
|
+
UcxComponentSerializer,
|
|
67
|
+
UcxEntitySerializer,
|
|
68
|
+
UcxHoloscanComponentSerializer,
|
|
69
|
+
UcxReceiver,
|
|
70
|
+
UcxSerializationBuffer,
|
|
71
|
+
UcxTransmitter,
|
|
72
|
+
UnboundedAllocator,
|
|
73
|
+
)
|
|
74
|
+
from ._resources import (
|
|
75
|
+
GXFComponentResource as _GXFComponentResource,
|
|
76
|
+
)
|
|
77
|
+
|
|
78
|
+
__all__ = [
|
|
79
|
+
"Allocator",
|
|
80
|
+
"BlockMemoryPool",
|
|
81
|
+
"Clock",
|
|
82
|
+
"CudaAllocator",
|
|
83
|
+
"CudaStreamPool",
|
|
84
|
+
"DoubleBufferReceiver",
|
|
85
|
+
"DoubleBufferTransmitter",
|
|
86
|
+
"GXFComponentResource",
|
|
87
|
+
"ManualClock",
|
|
88
|
+
"MemoryStorageType",
|
|
89
|
+
"RealtimeClock",
|
|
90
|
+
"Receiver",
|
|
91
|
+
"RMMAllocator",
|
|
92
|
+
"SerializationBuffer",
|
|
93
|
+
"StdComponentSerializer",
|
|
94
|
+
"StdEntitySerializer",
|
|
95
|
+
"StreamOrderedAllocator",
|
|
96
|
+
"Transmitter",
|
|
97
|
+
"UcxComponentSerializer",
|
|
98
|
+
"UcxEntitySerializer",
|
|
99
|
+
"UcxHoloscanComponentSerializer",
|
|
100
|
+
"UcxReceiver",
|
|
101
|
+
"UcxSerializationBuffer",
|
|
102
|
+
"UcxTransmitter",
|
|
103
|
+
"UnboundedAllocator",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class GXFComponentResource(_GXFComponentResource):
|
|
108
|
+
def __setattr__(self, name, value):
|
|
109
|
+
readonly_attributes = [
|
|
110
|
+
"fragment",
|
|
111
|
+
"gxf_typename",
|
|
112
|
+
"conditions",
|
|
113
|
+
"resources",
|
|
114
|
+
"operator_type",
|
|
115
|
+
"description",
|
|
116
|
+
]
|
|
117
|
+
if name in readonly_attributes:
|
|
118
|
+
raise AttributeError(f'cannot override read-only property "{name}"')
|
|
119
|
+
super().__setattr__(name, value)
|
|
120
|
+
|
|
121
|
+
def __init__(self, fragment, *args, **kwargs):
|
|
122
|
+
if not isinstance(fragment, _Fragment):
|
|
123
|
+
raise ValueError(
|
|
124
|
+
"The first argument to an GXFComponentResource's constructor must be the Fragment "
|
|
125
|
+
"(Application) to which it belongs."
|
|
126
|
+
)
|
|
127
|
+
# It is recommended to not use super()
|
|
128
|
+
# (https://pybind11.readthedocs.io/en/stable/advanced/classes.html#overriding-virtual-functions-in-python)
|
|
129
|
+
_GXFComponentResource.__init__(self, self, fragment, *args, **kwargs)
|
|
130
|
+
# Create a PyGXFComponentResourceSpec object and pass it to the C++ API
|
|
131
|
+
spec = ComponentSpec(fragment=self.fragment, component=self)
|
|
132
|
+
self.spec = spec
|
|
133
|
+
# Call setup method in the derived class
|
|
134
|
+
self.setup(spec)
|
|
135
|
+
|
|
136
|
+
def setup(self, spec: ComponentSpec):
|
|
137
|
+
# This method is invoked by the derived class to set up the operator.
|
|
138
|
+
super().setup(spec)
|
|
139
|
+
|
|
140
|
+
def initialize(self):
|
|
141
|
+
# Place holder for initialize method
|
|
142
|
+
pass
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
# copy docstrings defined in core_pydoc.hpp
|
|
146
|
+
GXFComponentResource.__doc__ = _GXFComponentResource.__doc__
|
|
147
|
+
GXFComponentResource.__init__.__doc__ = _GXFComponentResource.__init__.__doc__
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2023-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
"""This module provides a Python API to underlying C++ API Schedulers.
|
|
16
|
+
|
|
17
|
+
.. autosummary::
|
|
18
|
+
|
|
19
|
+
holoscan.schedulers.EventBasedScheduler
|
|
20
|
+
holoscan.schedulers.GreedyScheduler
|
|
21
|
+
holoscan.schedulers.MultiThreadScheduler
|
|
22
|
+
"""
|
|
23
|
+
|
|
24
|
+
# must first import Clock for the std::shared_ptr<Clock> arguments in the __init__ methods
|
|
25
|
+
from ..resources import Clock # noqa
|
|
26
|
+
from ._schedulers import EventBasedScheduler, GreedyScheduler, MultiThreadScheduler
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"EventBasedScheduler",
|
|
30
|
+
"GreedyScheduler",
|
|
31
|
+
"MultiThreadScheduler",
|
|
32
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import wheel_axle.runtime; wheel_axle.runtime.finalize(fullname);
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: holoscan
|
|
3
|
+
Version: 2.6.0
|
|
4
|
+
Summary: The Holoscan SDK: building high-performance AI streaming applications
|
|
5
|
+
Home-page: https://github.com/nvidia-holoscan
|
|
6
|
+
Author: NVIDIA Corporation
|
|
7
|
+
License: Apache-2.0
|
|
8
|
+
Project-URL: Source, https://github.com/nvidia-holoscan/holoscan-sdk
|
|
9
|
+
Project-URL: Documentation, https://docs.nvidia.com/holoscan/sdk-user-guide/index.html
|
|
10
|
+
Project-URL: Issue Tracker, https://github.com/nvidia-holoscan/holoscan-sdk/issues
|
|
11
|
+
Keywords: AI,CUDA,medical,streaming,HPC,nvidia
|
|
12
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Environment :: GPU :: NVIDIA CUDA :: 12
|
|
15
|
+
Classifier: Intended Audience :: Developers
|
|
16
|
+
Classifier: Intended Audience :: Education
|
|
17
|
+
Classifier: Intended Audience :: Science/Research
|
|
18
|
+
Classifier: Intended Audience :: Healthcare Industry
|
|
19
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Programming Language :: C++
|
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
27
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
28
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
29
|
+
Requires-Python: >=3.9
|
|
30
|
+
Description-Content-Type: text/markdown
|
|
31
|
+
License-File: public/LICENSE.txt
|
|
32
|
+
License-File: public/cmake/modules/cpack/NOTICE.txt
|
|
33
|
+
License-File: legal/NVIDIA-AI-PRODUCT-EULA.txt
|
|
34
|
+
Requires-Dist: pip >22.0.2
|
|
35
|
+
Requires-Dist: cupy-cuda12x ==12.2
|
|
36
|
+
Requires-Dist: cloudpickle ==2.2.1
|
|
37
|
+
Requires-Dist: python-on-whales ==0.60.1
|
|
38
|
+
Requires-Dist: Jinja2 ==3.1.3
|
|
39
|
+
Requires-Dist: packaging ==23.1
|
|
40
|
+
Requires-Dist: pyyaml ==6.0
|
|
41
|
+
Requires-Dist: requests ==2.31.0
|
|
42
|
+
Requires-Dist: psutil ==6.0.0
|
|
43
|
+
Requires-Dist: wheel-axle-runtime <1.0
|
|
44
|
+
|
|
45
|
+
# Holoscan SDK
|
|
46
|
+
|
|
47
|
+
The **Holoscan SDK Python Wheel** is part of [NVIDIA Holoscan](https://developer.nvidia.com/holoscan-sdk), the AI sensor processing platform that combines hardware systems for low-latency sensor and network connectivity, optimized libraries for data processing and AI, and core microservices to run streaming, imaging, and other applications, from embedded to edge to cloud. It can be used to build streaming AI pipelines for a variety of domains, including Medical Devices, High Performance Computing at the Edge, Industrial Inspection and more.
|
|
48
|
+
|
|
49
|
+
## Getting Started
|
|
50
|
+
|
|
51
|
+
Visit the Holoscan User Guide to [get started](https://docs.nvidia.com/holoscan/sdk-user-guide/getting_started.html) with the Holoscan SDK.
|
|
52
|
+
|
|
53
|
+
## Prerequisites
|
|
54
|
+
|
|
55
|
+
- Prerequisites for each supported platform are documented in [the user guide](https://docs.nvidia.com/holoscan/sdk-user-guide/sdk_installation.html#prerequisites). Note that the python wheels have a lot of optional dependencies which you may install manually based on your needs (see compatibility matrix at the bottom).
|
|
56
|
+
- The Holoscan SDK python wheels are only formally tested on Ubuntu 22.04. They are, however, expected to work on any Linux distribution with glibc 2.35 or above (see output of `ldd --version`) and CUDA Runtime 12.2 or above.
|
|
57
|
+
- Python: 3.9 to 3.12
|
|
58
|
+
|
|
59
|
+
## Troubleshooting
|
|
60
|
+
|
|
61
|
+
> Version 0.6.0 gets installed instead of the latest version
|
|
62
|
+
|
|
63
|
+
The latest version of the wheels were built and tested on Ubuntu 22.04 with glibc 2.35. You'll need to switch to a Linux distribution with a more recent version of glibc to use the Holoscan SDK python wheels 1.0 or above (check your version with `ldd --version`), or use the [Holoscan SDK NGC container](https://catalog.ngc.nvidia.com/orgs/nvidia/teams/clara-holoscan/containers/holoscan) instead.
|
|
64
|
+
|
|
65
|
+
> ```
|
|
66
|
+
> ERROR: Could not find a version that satisfies the requirement holoscan==<version>
|
|
67
|
+
> ERROR: No matching distribution found for holoscan==<version>
|
|
68
|
+
> ```
|
|
69
|
+
|
|
70
|
+
Same as above, OR incompatible python version.
|
|
71
|
+
|
|
72
|
+
> ```
|
|
73
|
+
> libc.so.6: version 'GLIBC_2.32 not found
|
|
74
|
+
> libstdc++.so.6: version `GLIBCXX_3.4.29` not found
|
|
75
|
+
> ```
|
|
76
|
+
|
|
77
|
+
Same as above.
|
|
78
|
+
|
|
79
|
+
> ```
|
|
80
|
+
> ImportError: libcudart.so.12: cannot open shared object file: No such file or directory
|
|
81
|
+
> ```
|
|
82
|
+
|
|
83
|
+
CUDA runtime is missing from your system (required even for CPU only pipelines).
|
|
84
|
+
|
|
85
|
+
- **x86_64**: Follow the official [installation steps](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html).
|
|
86
|
+
- Note: while Holoscan does not use the CUDA Python API, you could install the CUDA runtime python wheel if you prefer to use `pip` instead of installing it system-wide: `python3 -m pip install nvidia-cuda-runtime-cu12`. Before calling an Holoscan application, ensure to update your `LD_LIBRARY_PATH` environment variable to include the path to these CUDA libs, for example:
|
|
87
|
+
```sh
|
|
88
|
+
export CUDA_WHL_LIB_DIR=$(python3 -c 'import nvidia.cuda_runtime; print(nvidia.cuda_runtime.__path__[0])')/lib
|
|
89
|
+
export LD_LIBRARY_PATH="$CUDA_WHL_LIB_DIR:$LD_LIBRARY_PATH"
|
|
90
|
+
```
|
|
91
|
+
- **IGX Orin**: Ensure the [compute stack](https://docs.nvidia.com/igx-orin/user-guide/latest/base-os.html#installing-the-compute-stack) is installed.
|
|
92
|
+
- **Jetson**: Re-install [JetPack 6.0](https://developer.nvidia.com/embedded/jetpack).
|
|
93
|
+
|
|
94
|
+
> ```
|
|
95
|
+
> Error: libnvinfer.so.8: cannot open shared object file: No such file or directory
|
|
96
|
+
> ...
|
|
97
|
+
> Error: libnvonnxparser.so.8: cannot open shared object file: No such file or directory
|
|
98
|
+
> ```
|
|
99
|
+
|
|
100
|
+
TensorRT is missing from your system (note that it is only needed by the `holoscan.operators.InferenceOp` operator.).
|
|
101
|
+
|
|
102
|
+
- **x86_64**: Follow the official [installation steps](https://docs.nvidia.com/deeplearning/tensorrt/install-guide/index.html).
|
|
103
|
+
- Note: you can also install the TensorRT libraries python wheel if you prefer to use `pip` instead of installing it system-wide: `python3 -m pip install tensorrt-libs~=8.6.1 --index-url https://pypi.nvidia.com`. Before calling an Holoscan application, ensure to update your `LD_LIBRARY_PATH` environment variable to include the path to these TensorRT libs, for example:
|
|
104
|
+
```sh
|
|
105
|
+
export TRT_WHL_LIB_DIR=$(python3 -c 'import tensorrt_libs; print(tensorrt_libs.__path__[0])')
|
|
106
|
+
export CUDNN_WHL_LIB_DIR=$(python3 -c 'import nvidia.cudnn; print(nvidia.cudnn.__path__[0])')/lib
|
|
107
|
+
export CUBLAS_WHL_LIB_DIR=$(python3 -c 'import nvidia.cublas; print(nvidia.cublas.__path__[0])')/lib
|
|
108
|
+
export LD_LIBRARY_PATH="$TRT_WHL_LIB_DIR:$CUDNN_WHL_LIB_DIR:$CUBLAS_WHL_LIB_DIR:$LD_LIBRARY_PATH"
|
|
109
|
+
```
|
|
110
|
+
- **IGX Orin**: Ensure the [compute stack](https://docs.nvidia.com/igx-orin/user-guide/latest/base-os.html#installing-the-compute-stack) is installed.
|
|
111
|
+
- **Jetson**: Re-install [JetPack 6.0](https://developer.nvidia.com/embedded/jetpack).
|
|
112
|
+
|
|
113
|
+
> ```
|
|
114
|
+
> from pip._internal.models.scheme import SCHEME_KEYS
|
|
115
|
+
> ModuleNotFoundError: No module named 'pip'
|
|
116
|
+
> ...
|
|
117
|
+
> ImportError: libholoscan_core.so.2: cannot open shared object file: No such file or directory
|
|
118
|
+
> ```
|
|
119
|
+
|
|
120
|
+
Your version of `pip` is either too old (< 20.2) or you are trying to install `holoscan` with system `pip` which cannot be found to resolve the Holoscan library symlinks.
|
|
121
|
+
|
|
122
|
+
To resolve, either:
|
|
123
|
+
|
|
124
|
+
- install `holoscan` in a virtual environment, or
|
|
125
|
+
- uninstall `holoscan`, upgrade pip on your system with `python3 -m pip install --upgrade pip`, and reinstall `holoscan`
|