From ab127ac3762befda6e815efec1801daaf0a0c468 Mon Sep 17 00:00:00 2001 From: Iman Tabrizian Date: Wed, 28 Aug 2024 13:29:04 -0400 Subject: [PATCH 1/2] Improve the documentation for custom Python backend stubs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 913034a8..c365545b 100644 --- a/README.md +++ b/README.md @@ -809,8 +809,8 @@ Python version is different from Python 3.10 which is shipped by default in the Triton containers.** Python backend uses a *stub* process to connect your `model.py` file to the -Triton C++ core. This stub process has an embedded Python interpreter with -a fixed Python version. If you intend to use a Python interpreter with +Triton C++ core. This stub process dynamically links to a specific `libpython..so` version. +If you intend to use a Python interpreter with different version from the default Python backend stub, you need to compile your own Python backend stub by following the steps below: From 229d21a6d6134e1bfd672d7bd0a83e20e1552aba Mon Sep 17 00:00:00 2001 From: Iman Tabrizian Date: Wed, 28 Aug 2024 13:47:07 -0400 Subject: [PATCH 2/2] Review comment --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c365545b..ffcef26c 100644 --- a/README.md +++ b/README.md @@ -809,8 +809,8 @@ Python version is different from Python 3.10 which is shipped by default in the Triton containers.** Python backend uses a *stub* process to connect your `model.py` file to the -Triton C++ core. This stub process dynamically links to a specific `libpython..so` version. -If you intend to use a Python interpreter with +Triton C++ core. This stub process dynamically links to a specific +`libpython..so` version. If you intend to use a Python interpreter with different version from the default Python backend stub, you need to compile your own Python backend stub by following the steps below: