Skip to content

Commit a6134db

Browse files
authored
L0_model_config Fix (#278)
1 parent 44a935d commit a6134db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend_model.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ TritonModel::ResolveBackendPaths(
353353
return Status::Success;
354354
}
355355

356-
// If not found, then we are processing a python backend based backend.
356+
// If not found, then we are processing a python-based backend.
357357
// We look for libtriton_python.so in python backend directory
358358
// and model.py in provided custom backend's directory
359359
std::string python_backend_dir = JoinPath({global_backend_dir, "python"});
@@ -373,8 +373,8 @@ TritonModel::ResolveBackendPaths(
373373
if (!exists) {
374374
return Status(
375375
Status::Code::INVALID_ARG,
376-
"unable to find '" + backend_name + "/model.py' for model '" +
377-
model_name + "', in " +
376+
"unable to find '" + backend_libname + "' or '" + backend_name +
377+
"/model.py' for model '" + model_name + "', in " +
378378
JoinPath({global_backend_dir, backend_name}));
379379
}
380380

0 commit comments

Comments
 (0)