Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yczhang-nv committed Aug 29, 2024
1 parent 8033055 commit f4be468
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/morpheus/morpheus/_lib/src/messages/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ void ControlMessageProxy::payload_from_python_meta(ControlMessage& self, const p

void ControlMessageProxy::set_tensors_from_python(ControlMessage& self, const pybind11::object& tensor_memory)
{
TensorIndex count = tensor_memory.attr("count").cast<TensorIndex>();
auto count = tensor_memory.attr("count").cast<TensorIndex>();
pybind11::object tensors = tensor_memory.attr("get_tensors")();
self.tensors(TensorMemoryInterfaceProxy::init(count, tensors));
}
Expand Down
4 changes: 2 additions & 2 deletions tests/_utils/inference_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import typing

from morpheus.messages import MultiInferenceMessage
from morpheus.messages import ControlMessage
from morpheus.messages.memory.tensor_memory import TensorMemory
from morpheus.stages.inference import inference_stage

Expand All @@ -30,5 +30,5 @@ def calc_output_dims(self, _):
super().calc_output_dims(_)
return (1, 2)

def process(self, _: MultiInferenceMessage, __: typing.Callable[[TensorMemory], None]):
def process(self, _: ControlMessage, __: typing.Callable[[TensorMemory], None]):
raise NotImplementedError

0 comments on commit f4be468

Please sign in to comment.