diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-15 03:05:03 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-15 03:05:03 -0500 |
| commit | a5a137d12774b833cc8730fc291f88c7582658dd (patch) | |
| tree | 14eb8f1b5fa37d372f8f06213562957d2a7f982c /sci-ml | |
| parent | 44ac9950da93ffaa670439fbc31f0a3f95378bb3 (diff) | |
| download | baldeagleos-repo-a5a137d12774b833cc8730fc291f88c7582658dd.tar.gz baldeagleos-repo-a5a137d12774b833cc8730fc291f88c7582658dd.tar.xz baldeagleos-repo-a5a137d12774b833cc8730fc291f88c7582658dd.zip | |
Adding metadata
Diffstat (limited to 'sci-ml')
| -rw-r--r-- | sci-ml/ggml/Manifest | 2 | ||||
| -rw-r--r-- | sci-ml/ggml/ggml-0.20.0.ebuild (renamed from sci-ml/ggml/ggml-0.19.0.ebuild) | 0 | ||||
| -rw-r--r-- | sci-ml/pytorch/files/pytorch-2.13.0-mimalloc.patch | 24 | ||||
| -rw-r--r-- | sci-ml/pytorch/pytorch-2.13.0-r3.ebuild | 1 |
4 files changed, 26 insertions, 1 deletions
diff --git a/sci-ml/ggml/Manifest b/sci-ml/ggml/Manifest index b89b52cd8e99..e0e667f31766 100644 --- a/sci-ml/ggml/Manifest +++ b/sci-ml/ggml/Manifest @@ -1 +1 @@ -DIST ggml-0.19.0.tar.gz 3657744 BLAKE2B 67e423ffc061172be378e242b89fbb0dc5c63efaf342e79ba34d813279c4f0f3294a9af0aac8ed014119b143b83e1e8c252a03ebb2af6c6c7f9544ee5d9bb87a SHA512 6623b64b6703685ec4fd0378daadc6387c5203136406758997a23dff8b315773c1d5ce913121a86d4a51e885045fa1cf5066ea58c5f5cd77c7662a85c1da392d +DIST ggml-0.20.0.tar.gz 3716581 BLAKE2B aed3b631111e684fe86cc794eedd7e298326c4d0e4635dca4beb5d61ffefbed279c8df4fb68d7eeb75addeeaab91beace004327e98b468fd9913577135e5456a SHA512 547b4338a15d02eab64198065d05225526e69b105300266d82c9649ea801db1d2bf210b4d2d05a142eb1e36d99ee7dbb9c5d1bf43c3d5c213b1b7878c5b6fb82 diff --git a/sci-ml/ggml/ggml-0.19.0.ebuild b/sci-ml/ggml/ggml-0.20.0.ebuild index 9f58e248dfee..9f58e248dfee 100644 --- a/sci-ml/ggml/ggml-0.19.0.ebuild +++ b/sci-ml/ggml/ggml-0.20.0.ebuild diff --git a/sci-ml/pytorch/files/pytorch-2.13.0-mimalloc.patch b/sci-ml/pytorch/files/pytorch-2.13.0-mimalloc.patch new file mode 100644 index 000000000000..cc51722801a3 --- /dev/null +++ b/sci-ml/pytorch/files/pytorch-2.13.0-mimalloc.patch @@ -0,0 +1,24 @@ +--- a/c10/CMakeLists.txt 2026-02-01 09:22:55.398151644 +0100 ++++ b/c10/CMakeLists.txt 2026-02-01 09:30:46.720495230 +0100 +@@ -120,8 +120,9 @@ + endif() + + if(USE_MIMALLOC) +- target_link_libraries(c10 PRIVATE "mimalloc-static") +- add_dependencies(c10 mimalloc-static) ++ find_package(mimalloc REQUIRED) ++ target_link_libraries(c10 PRIVATE "mimalloc") ++ add_dependencies(c10 mimalloc) + endif() + + if(LINUX) +--- a/CMakeLists.txt 2026-02-03 16:47:46.949580063 +0100 ++++ b/CMakeLists.txt 2026-02-03 16:48:57.348716061 +0100 +@@ -404,7 +404,6 @@ + # on Windows and AArch64. + option(USE_MIMALLOC_ON_MKL "Use mimalloc on MKL" OFF) + if(WIN32 OR (CPU_AARCH64 AND NOT APPLE)) +- set(USE_MIMALLOC ON) + # Disable OPT flags for mimalloc on aarch64 as it breaks ARMv8.0 + # Not enable USE_MIMALLOC_ON_MKL due to it caused issue: + # See https://github.com/pytorch/pytorch/issues/174344 diff --git a/sci-ml/pytorch/pytorch-2.13.0-r3.ebuild b/sci-ml/pytorch/pytorch-2.13.0-r3.ebuild index 3750bf0181a3..153368183ca0 100644 --- a/sci-ml/pytorch/pytorch-2.13.0-r3.ebuild +++ b/sci-ml/pytorch/pytorch-2.13.0-r3.ebuild @@ -163,6 +163,7 @@ BDEPEND="dev-build/cmake" PATCHES=( "${FILESDIR}"/${P}-aotriton-fixes.patch "${FILESDIR}"/${P}-glog.patch + "${FILESDIR}"/${P}-mimalloc.patch "${FILESDIR}"/${P}-removekineto-pr178960.patch "${FILESDIR}"/${P}-rocm-assert-fix.patch "${FILESDIR}"/${P}-unbundle_fbgemm.patch |
