-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Callback with reload2 #2710
Callback with reload2 #2710
Conversation
Makefile
Outdated
@@ -672,7 +672,7 @@ cpu_extension: | |||
run_unit_tests: | |||
./prepare_llm_models.sh ${TEST_LLM_PATH} | |||
./prepare_gpu_models.sh ${GPU_MODEL_PATH} | |||
docker run -v $(shell realpath ./rununittests.sh):/ovms/./rununittests.sh -v $(shell realpath ${GPU_MODEL_PATH}):/ovms/src/test/face_detection_adas:ro -v $(shell realpath ${TEST_LLM_PATH}):/ovms/src/test/llm_testing:ro -e https_proxy=${https_proxy} -e RUN_TESTS=1 -e JOBS=$(JOBS) -e debug_bazel_flags=${BAZEL_DEBUG_FLAGS} $(OVMS_CPP_DOCKER_IMAGE)-build:$(OVMS_CPP_IMAGE_TAG)$(IMAGE_TAG_SUFFIX) ./rununittest.sh > test.log 2>&1 ; exit_status=$$? ; tail -200 test.log ; exit $$exit_status | |||
docker run -v $(shell realpath ./rununittests.sh):/ovms/./rununittests.sh:ro -v $(shell realpath ${GPU_MODEL_PATH}):/ovms/src/test/face_detection_adas:ro -v $(shell realpath ${TEST_LLM_PATH}):/ovms/src/test/llm_testing:ro -e https_proxy=${https_proxy} -e RUN_TESTS=1 -e JOBS=$(JOBS) -e debug_bazel_flags=${BAZEL_DEBUG_FLAGS} $(OVMS_CPP_DOCKER_IMAGE)-build:$(OVMS_CPP_IMAGE_TAG)$(IMAGE_TAG_SUFFIX) ./rununittest.sh > test.log 2>&1 ; exit_status=$$? ; tail -200 test.log ; exit $$exit_status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you adding ro
here? This parameter does not work at all, I have noticed it in my task. rununittest
s.sh
does not exist. Lookup the end of the command (it does not have s
):
... ./rununittest.sh > test.log ...
ci/cppclean.sh
Outdated
@@ -54,7 +54,7 @@ fi | |||
if [ ${NO_WARNINGS_TEST_NOTUSED} -gt 0 ]; then | |||
errors+="Failed probably due to unnecessary forward includes: ${NO_WARNINGS_TEST_NOTUSED}"$'\n' | |||
fi | |||
if [ ${NO_WARNINGS} -gt 166 ]; then | |||
if [ ${NO_WARNINGS} -gt 174 ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to increase number of code smells?
} catch (const std::exception& e) { | ||
SPDLOG_DEBUG("got exception in ov::InferRequest callback: {}", e.what()); | ||
// TODO created filter based on what is in request, then perform casual serialization for what was NOT in request, and rewrite tensors from request to response for those that were | ||
auto status = serializePredictResponse(outputGetter, getName(), getVersion(), getOutputsInfo(), requestProto, res.get(), getTensorInfoName, useSharedOutputContentFn(requestProto)); // TODO FIXME handle status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rasapala should we return error when serialization fails? why is it ignored?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// TODO FIXME handle status - this will be done in another task.
7a1736f
to
41034f4
Compare
JIRA CVS-151523
Current Async implementation does not handle online modifications - we need to move unlaod guard into callback in model instance async implementation.
🧪 Checklist
``