Skip to content

Commit

Permalink
Merge branch 'main' into ibhosale_metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
indrajit96 authored Oct 18, 2024
2 parents 56244ae + a6b3e26 commit d78b4ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ if(NOT TRITON_CORE_HEADERS_ONLY)
option(TRITON_ENABLE_NVTX "Include NVTX support in server" OFF)
option(TRITON_ENABLE_GPU "Enable GPU support in server" ON)
option(TRITON_ENABLE_MALI_GPU "Enable Arm Mali GPU support in server" OFF)
set(TRITON_MIN_COMPUTE_CAPABILITY "6.0" CACHE STRING
set(TRITON_MIN_COMPUTE_CAPABILITY "7.5" CACHE STRING
"The minimum CUDA compute capability supported by Triton" )
set(TRITON_EXTRA_LIB_PATHS "" CACHE PATH "Extra library paths for Triton Server build")

Expand Down
11 changes: 6 additions & 5 deletions src/ensemble_scheduler/ensemble_scheduler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1200,11 +1200,6 @@ EnsembleContext::CheckAndSetEnsembleOutput(
ready = false;
break;
}
// check if the output is provided
else if (tensor[iteration_count].data_ == nullptr) {
ready = false;
break;
}
}
}
if (!ready) {
Expand All @@ -1224,6 +1219,12 @@ EnsembleContext::CheckAndSetEnsembleOutput(
auto& tensor_data = tensor_data_[output_pair.first];
auto& tensor = tensor_data.tensor_[iteration_count];

if (tensor.data_ == nullptr) {
LOG_VERBOSE(1) << "Composing models did not output tensor "
<< output_pair.first;
continue;
}

auto shape = ReshapeTensorDims(
output_pair.second, (lrequest->BatchSize() != 0),
tensor_data.batch_size_, tensor.data_->OriginalShape());
Expand Down

0 comments on commit d78b4ff

Please sign in to comment.