We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33328f5 commit b7ee646Copy full SHA for b7ee646
src/c++/perf_analyzer/inference_profiler.cc
@@ -1545,7 +1545,8 @@ InferenceProfiler::DetermineStatsModelVersion(
1545
// hit. This is due to the scheduler sends cache response and composing models
1546
// do not get executed. It's a valid scenario and shouldn't throw error.
1547
bool model_version_unspecified_and_invalid =
1548
- *status_model_version == -1 && !parser_->TopLevelResponseCachingEnabled();
+ *status_model_version == -1 &&
1549
+ (parser_ == nullptr || !parser_->TopLevelResponseCachingEnabled());
1550
if (model_version_unspecified_and_invalid) {
1551
return cb::Error(
1552
"failed to find the requested model version", pa::GENERIC_ERROR);
0 commit comments