Skip to content

Commit

Permalink
Enable support for Ubuntu 24.04 (#107) (#108)
Browse files Browse the repository at this point in the history
* Update python version

* Update path for RHEL
  • Loading branch information
mc-nv authored Nov 26, 2024
1 parent e4fe6b8 commit 0a66a4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ elseif(${TRITON_TENSORFLOW_VERSION} EQUAL "2")
set(TRITON_TENSORFLOW_BACKEND_LIBNAME triton_tensorflow)
set(TRITON_TENSORFLOW_BACKEND_INSTALLDIR ${CMAKE_INSTALL_PREFIX}/backends/tensorflow)
if(RHEL_BUILD)
set(TRITON_TENSORFLOW_PYTHON_PATH "/opt/_internal/cpython-3.10.13/lib/python3.10/site-packages/tensorflow")
set(TRITON_TENSORFLOW_PYTHON_PATH "/opt/_internal/cpython-3.12.1/lib/python3.12/site-packages/tensorflow")
else()
set(TRITON_TENSORFLOW_PYTHON_PATH "/usr/local/lib/python3.10/dist-packages/tensorflow")
set(TRITON_TENSORFLOW_PYTHON_PATH "/usr/local/lib/python3.12/dist-packages/tensorflow")
endif(RHEL_BUILD)
else()
message(FATAL_ERROR "TRITON_TENSORFLOW_VERSION allowed values is '2'")
Expand Down

0 comments on commit 0a66a4c

Please sign in to comment.