Skip to content

Commit

Permalink
Merge branch 'yinggeh-DLIS-6657-client-input-byte-size-check' of http…
Browse files Browse the repository at this point in the history
…s://github.com/triton-inference-server/client into yinggeh-DLIS-6657-client-input-byte-size-check
  • Loading branch information
yinggeh committed Aug 1, 2024
2 parents 223b9d8 + 6b56c3b commit a9a2c1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/library/tritonclient/http/_infer_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ def validate_data(self):
-------
None
"""
# Input must set only one of the following fields: 'data', 'binary_data_size'
# in 'parameters', 'shared_memory_region' in 'parameters'
# Input must set only one of the following fields: 'data', 'binary_data_size',
# 'shared_memory_region' in 'parameters'
cnt = 0
cnt += self._data != None
cnt += "binary_data_size" in self._parameters
Expand Down

0 comments on commit a9a2c1c

Please sign in to comment.