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()
363363 python_backend_stub = model_python_backend_stub;
364364 }
365365
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-
372366 if (!IsExecutableFile (python_backend_stub)) {
373367 // Give the execute permission for the triton_python_backend_stub to the
374368 // owner.
@@ -394,12 +388,6 @@ StubLauncher::Launch()
394388 ipc_control_->uses_env = false ;
395389
396390 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-
403391 ipc_control_->uses_env = true ;
404392
405393 // Parse environment variables from activation script
You can’t perform that action at this time.
0 commit comments