mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
python312Packages.onnxruntime: 1.21.0 -> 1.22.0
Diff: https://github.com/microsoft/onnxruntime/compare/v1.21.0...v1.22.0 Changelog: https://github.com/microsoft/onnxruntime/releases/tag/v1.22.0
This commit is contained in:
parent
89d5efb589
commit
95e1bc4b4d
1 changed files with 11 additions and 20 deletions
|
@ -29,14 +29,14 @@
|
||||||
}@inputs:
|
}@inputs:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "1.21.0";
|
version = "1.22.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "microsoft";
|
owner = "microsoft";
|
||||||
repo = "onnxruntime";
|
repo = "onnxruntime";
|
||||||
tag = "v${version}";
|
tag = "v${version}";
|
||||||
hash = "sha256-BaHXpK6Ek+gsld7v+OBM+C3FjrPiyMQYP1liv7mEjho=";
|
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
|
hash = "sha256-fcTvMsEgO3tHOvCKCAqkO/bpZX4tcJHq9ZqpZH+uMqs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenv = throw "Use effectiveStdenv instead";
|
stdenv = throw "Use effectiveStdenv instead";
|
||||||
|
@ -104,20 +104,11 @@ effectiveStdenv.mkDerivation rec {
|
||||||
pname = "onnxruntime";
|
pname = "onnxruntime";
|
||||||
inherit src version;
|
inherit src version;
|
||||||
|
|
||||||
patches =
|
patches = lib.optionals cudaSupport [
|
||||||
[
|
# We apply the referenced 1064.patch ourselves to our nix dependency.
|
||||||
# drop with the next update
|
# FIND_PACKAGE_ARGS for CUDA was added in https://github.com/microsoft/onnxruntime/commit/87744e5 so it might be possible to delete this patch after upgrading to 1.17.0
|
||||||
# https://github.com/microsoft/onnxruntime/pull/23939
|
./nvcc-gsl.patch
|
||||||
(fetchpatch {
|
];
|
||||||
url = "https://github.com/microsoft/onnxruntime/commit/55553703eaa8cd01d2b01cc21171a0ea515c888a.patch";
|
|
||||||
hash = "sha256-gL1rMNUcteKcjLmdJ+0r67rvNrC31bAyKYx4aeseWkM=";
|
|
||||||
})
|
|
||||||
]
|
|
||||||
++ lib.optionals cudaSupport [
|
|
||||||
# We apply the referenced 1064.patch ourselves to our nix dependency.
|
|
||||||
# FIND_PACKAGE_ARGS for CUDA was added in https://github.com/microsoft/onnxruntime/commit/87744e5 so it might be possible to delete this patch after upgrading to 1.17.0
|
|
||||||
./nvcc-gsl.patch
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[
|
[
|
||||||
|
@ -287,7 +278,7 @@ effectiveStdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = {
|
||||||
description = "Cross-platform, high performance scoring engine for ML models";
|
description = "Cross-platform, high performance scoring engine for ML models";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
ONNX Runtime is a performance-focused complete scoring engine
|
ONNX Runtime is a performance-focused complete scoring engine
|
||||||
|
@ -301,9 +292,9 @@ effectiveStdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/microsoft/onnxruntime";
|
homepage = "https://github.com/microsoft/onnxruntime";
|
||||||
changelog = "https://github.com/microsoft/onnxruntime/releases/tag/v${version}";
|
changelog = "https://github.com/microsoft/onnxruntime/releases/tag/v${version}";
|
||||||
# https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#architectures
|
# https://github.com/microsoft/onnxruntime/blob/master/BUILD.md#architectures
|
||||||
platforms = platforms.unix;
|
platforms = lib.platforms.unix;
|
||||||
license = licenses.mit;
|
license = lib.licenses.mit;
|
||||||
maintainers = with maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
puffnfresh
|
puffnfresh
|
||||||
ck3d
|
ck3d
|
||||||
cbourjau
|
cbourjau
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue