Skip to content

Commit

Permalink
Fix jetson
Browse files Browse the repository at this point in the history
  • Loading branch information
Tabrizian committed Jun 21, 2023
1 parent a629ff1 commit 8e5c545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/L0_backend_python/python_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import os

from tritonclient.utils import *
import tritonclient.utils.cuda_shared_memory as cuda_shared_memory
import tritonclient.http as httpclient

TEST_JETSON = bool(int(os.environ.get('TEST_JETSON', 0)))
Expand All @@ -63,6 +62,7 @@ def _infer_help(self, model_name, shape, data_type):
self.assertTrue(np.all(input_data_0 == output0))

def _create_cuda_region(self, client, size, name):
import tritonclient.utils.cuda_shared_memory as cuda_shared_memory
shm0_handle = cuda_shared_memory.create_shared_memory_region(
name, byte_size=size, device_id=0)
client.register_cuda_shared_memory(
Expand Down

0 comments on commit 8e5c545

Please sign in to comment.