Skip to content

Commit 0672281

Browse files
authored
Update the note about the Python environments in the README (triton-inference-server#54)
1 parent 748ca0c commit 0672281

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,17 @@ models
287287
└── config.pbtxt
288288
```
289289

290-
## Python Environment
290+
## Using Your Own Python Interpreter
291+
292+
Python backend shipped in the [NVIDIA GPU Cloud](https://ngc.nvidia.com/)
293+
containers uses Python 3.8. Changing your environment using
294+
[conda](https://conda.io) or [virtualenv](https://virtualenv.pypa.io/) does not
295+
make Python backend to use the new environment. To change the Python interpreter
296+
used by Python backend, you need to rebuild the backend from source while the
297+
Python environment is activated. The instructions for building the backend from
298+
source are included in the
299+
[building from source](https://github.com/triton-inference-server/python_backend#building-from-source) section.
291300

292-
Python backend by default uses `python3` available inside `PATH`. If you are
293-
using [conda](https://docs.conda.io/en/latest/) or
294-
[venv](https://docs.python.org/3/library/venv.html), they will automatically
295-
update `PATH` and Python backend will use the correct environment.
296301
## Error Handling
297302

298303
If there is an error that affects the `initialize`, `execute`, or `finalize`

0 commit comments

Comments
 (0)