File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -363,12 +363,6 @@ StubLauncher::Launch()
363
363
python_backend_stub = model_python_backend_stub;
364
364
}
365
365
366
- // Validate the stub executable path
367
- if (!IsValidPath (python_backend_stub)) {
368
- return TRITONSERVER_ErrorNew (
369
- TRITONSERVER_ERROR_INVALID_ARG, " Invalid python backend stub path" );
370
- }
371
-
372
366
if (!IsExecutableFile (python_backend_stub)) {
373
367
// Give the execute permission for the triton_python_backend_stub to the
374
368
// owner.
@@ -394,12 +388,6 @@ StubLauncher::Launch()
394
388
ipc_control_->uses_env = false ;
395
389
396
390
if (python_execution_env_ != " " ) {
397
- // Validate Python environment paths
398
- if (!IsValidPath (path_to_activate_) || !IsValidPath (path_to_libpython_)) {
399
- return TRITONSERVER_ErrorNew (
400
- TRITONSERVER_ERROR_INVALID_ARG, " Invalid Python environment paths" );
401
- }
402
-
403
391
ipc_control_->uses_env = true ;
404
392
405
393
// Parse environment variables from activation script
You can’t perform that action at this time.
0 commit comments