summaryrefslogtreecommitdiff
path: root/sci-libs/ideep
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-01 23:41:30 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-01 23:41:30 +0000
commit1331637681273dc8391d7a7caa6175405dceb735 (patch)
tree57acd1953dffe9d8e88a0735a76115e20fa09d26 /sci-libs/ideep
parent5d5b0e27ed33330cca5636eb792368fbbf46774c (diff)
gentoo auto-resync : 01:03:2024 - 23:41:29
Diffstat (limited to 'sci-libs/ideep')
-rw-r--r--sci-libs/ideep/Manifest6
-rw-r--r--sci-libs/ideep/files/ideep-3.1.1-20230825.patch36
-rw-r--r--sci-libs/ideep/ideep-3.1.1.ebuild22
-rw-r--r--sci-libs/ideep/ideep-3.3.2.ebuild20
-rw-r--r--sci-libs/ideep/metadata.xml11
5 files changed, 95 insertions, 0 deletions
diff --git a/sci-libs/ideep/Manifest b/sci-libs/ideep/Manifest
new file mode 100644
index 000000000000..2055840a1493
--- /dev/null
+++ b/sci-libs/ideep/Manifest
@@ -0,0 +1,6 @@
+AUX ideep-3.1.1-20230825.patch 1390 BLAKE2B 2787650021a21073aff0e200d8cdd6e47768b863d2b32275b5108f41d1d97f6caf40b40c4b2ebc18d92dbe2136684891f88e19365984aa1a91f5074633ee4279 SHA512 f2608fc21d64b6aaf59daf3af8003fad529decf5011601190bead62e0fe8e19d353b7e2522b9b7dba0ac3ce8ca2322b9bea1f2735f0144a747296b84566ac6b1
+DIST ideep-3.1.1.tar.gz 57015 BLAKE2B 054bb0363b5a6e8c40bf1192d557163f2e90195cbf3387562d5bf05a18eb0f3f2a45e5398ed0895ecc07807e753ab4f1a6375b12ede06aea33cc22e1e1d9cdb4 SHA512 1d636072512d90c1c47c0a976787a1fdaecdbd993ee319c40a2fbbc702143a0a752128e76e99f483d5628f64814684aa39b7355b2df675a4247037ddeeff03e5
+DIST ideep-3.3.2.tar.gz 57631 BLAKE2B 57ec733a3bf9e6e8ebdebdeb63000adcef8e9ecda00118c88bca24a80fd71602b5dc3d46892410d0231d2ecf2111d5a08c3a4e95bb785964cfc4c5d6c81537f0 SHA512 e0a9ca99f25b488e38b8887099c015ed0e67cc5c350c922b85f746e25c88e07a3291f8f5d71aef5f37c72814f32e00d81ec16853a425e0fe735c71c5fccc6a41
+EBUILD ideep-3.1.1.ebuild 470 BLAKE2B 947996aafac554f72bdd01451ec3dd29519eab8ff2906a3da7ed0750643e586f78ea4722a7094a8568cf9d529e3abcb0e11a2dd26bd6174043ce708fcf1485a8 SHA512 b09b6d6cb7447d0475f372dcba0cdaf62e146a55019a6268af237e5cf38e03fc4d6bda831097e0c4f9fae426067728a5a3cceae286466a56c7eef7328d175581
+EBUILD ideep-3.3.2.ebuild 423 BLAKE2B c100045c7f17e2cdb2f8e8e01ced4ec8513cd1c02425488ae94020ae9d3d0d71eb8d6b762f868e8f171aaf5c5511cc98c4f65c0375ce8f103d87af6063afaea8 SHA512 e064358c5264aa2eeaaf13b5904a20c126b317cc13351569d099ead1ff544af249647850b0ab61f0a6a543aa854d12f93926f73bcb3a060ecf998b3c297e0fcd
+MISC metadata.xml 324 BLAKE2B 64ab7e6f3c76c6627e6d86be6650cd725a10b4bb8c886aeda603c94817c949a55579a4bf630dfaf82757f1245c9362a5378685378ee2f725e591e3f28b6703f2 SHA512 ff287f7f251a1c27d35876a89f2adf622c43a2bf02569d5035a28ba44a5381afc1ca9e801c628a07cfec776bdd53810948116eaacdf1dcc3e7dc1b073e29eb6e
diff --git a/sci-libs/ideep/files/ideep-3.1.1-20230825.patch b/sci-libs/ideep/files/ideep-3.1.1-20230825.patch
new file mode 100644
index 000000000000..a8625e758b00
--- /dev/null
+++ b/sci-libs/ideep/files/ideep-3.1.1-20230825.patch
@@ -0,0 +1,36 @@
+From 6f4d653802bd43bc4eda515460df9f90353dbebe Mon Sep 17 00:00:00 2001
+From: leslie-fang-intel <leslie.fang@intel.com>
+Date: Fri, 25 Aug 2023 13:37:20 +0800
+Subject: [PATCH] reland remove conv weight scale reciprocal (#226)
+
+---
+ include/ideep.hpp | 2 +-
+ include/ideep/operators/conv.hpp | 3 ---
+ 2 files changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/include/ideep.hpp b/include/ideep.hpp
+index 7e02c366..a11c3553 100644
+--- a/include/ideep.hpp
++++ b/include/ideep.hpp
+@@ -48,6 +48,6 @@
+ #define IDEEP_VERSION_MAJOR DNNL_VERSION_MAJOR
+ #define IDEEP_VERSION_MINOR DNNL_VERSION_MINOR
+ #define IDEEP_VERSION_PATCH DNNL_VERSION_PATCH
+-#define IDEEP_VERSION_REVISION 0
++#define IDEEP_VERSION_REVISION 1
+
+ #endif
+diff --git a/include/ideep/operators/conv.hpp b/include/ideep/operators/conv.hpp
+index 49677ff6..27ee84b6 100644
+--- a/include/ideep/operators/conv.hpp
++++ b/include/ideep/operators/conv.hpp
+@@ -161,9 +161,6 @@ struct conv_deconv_utils {
+ weights_scales_in.size(), oc_per_group, groups, is_deconv);
+ auto wei_scales = weights_scales_in;
+ if (!std::all_of(wei_scales.begin(), wei_scales.end(), [](float i){ return i == 1.0f; })) {
+- for (auto& s : wei_scales) {
+- s = 1.0 / s;
+- }
+ op_attr.set_scales(DNNL_ARG_WEIGHTS, wei_scale_mask, wei_scales);
+ }
+ if (dst_scales_in[0] != 1.0f) {
diff --git a/sci-libs/ideep/ideep-3.1.1.ebuild b/sci-libs/ideep/ideep-3.1.1.ebuild
new file mode 100644
index 000000000000..8f892eea0ed5
--- /dev/null
+++ b/sci-libs/ideep/ideep-3.1.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP=pytorch-rls-v${PV}
+DESCRIPTION="IntelĀ® Optimization for Chainer"
+HOMEPAGE="https://github.com/intel/ideep"
+SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${MYP}.tar.gz
+ -> ${PF}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=( "${FILESDIR}"/${P}-20230825.patch )
+
+S="${WORKDIR}"/ideep-${MYP}
+
+src_install() {
+ doheader -r include/*
+}
diff --git a/sci-libs/ideep/ideep-3.3.2.ebuild b/sci-libs/ideep/ideep-3.3.2.ebuild
new file mode 100644
index 000000000000..58a69716df8e
--- /dev/null
+++ b/sci-libs/ideep/ideep-3.3.2.ebuild
@@ -0,0 +1,20 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP=pytorch-rls-v${PV}
+DESCRIPTION="IntelĀ® Optimization for Chainer"
+HOMEPAGE="https://github.com/intel/ideep"
+SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/${MYP}.tar.gz
+ -> ${PF}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}"/ideep-${MYP}
+
+src_install() {
+ doheader -r include/*
+}
diff --git a/sci-libs/ideep/metadata.xml b/sci-libs/ideep/metadata.xml
new file mode 100644
index 000000000000..953b04a60d15
--- /dev/null
+++ b/sci-libs/ideep/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">intel/ideep</remote-id>
+ </upstream>
+</pkgmetadata>