mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sci-ml/caffe2: enable kineto
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -105,7 +105,7 @@ DEPEND="
|
||||
dev-libs/pocketfft
|
||||
dev-libs/psimd
|
||||
sci-ml/FP16
|
||||
sci-ml/kineto
|
||||
~sci-ml/kineto-0.4.0_p20250214
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pybind11[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
@@ -232,7 +232,7 @@ src_configure() {
|
||||
-DUSE_GLOG=ON
|
||||
-DUSE_GLOO=$(usex gloo)
|
||||
-DUSE_ITT=OFF
|
||||
-DUSE_KINETO=OFF # TODO
|
||||
-DUSE_KINETO=ON # TODO
|
||||
-DUSE_KLEIDIAI=OFF # TODO
|
||||
-DUSE_MAGMA=OFF # TODO: In GURU as sci-libs/magma
|
||||
-DUSE_MEM_EFF_ATTENTION=$(usex memefficient)
|
||||
|
||||
@@ -20,3 +20,14 @@
|
||||
|
||||
if(USE_KINETO)
|
||||
target_include_directories(torch_cpu PRIVATE
|
||||
--- a/cmake/Dependencies.cmake 2025-05-04 15:30:00.268862558 +0200
|
||||
+++ b/cmake/Dependencies.cmake 2025-05-04 15:30:13.275934233 +0200
|
||||
@@ -1711,7 +1711,7 @@
|
||||
endif()
|
||||
endif()
|
||||
|
||||
- if(NOT TARGET kineto)
|
||||
+ if(FALSE)
|
||||
add_subdirectory("${KINETO_SOURCE_DIR}")
|
||||
set_property(TARGET kineto PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user