Skip to content

Commit 70df8ee

Browse files
authored
python312Packages.optimum: 1.23.3 -> 1.24.0 (#384222)
2 parents 5789a00 + df0d46c commit 70df8ee

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

pkgs/development/python-modules/optimum/default.nix

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
setuptools,
99

1010
# dependencies
11-
coloredlogs,
1211
datasets,
1312
huggingface-hub,
1413
numpy,
1514
packaging,
16-
sympy,
1715
torch,
1816
transformers,
1917

@@ -31,29 +29,26 @@
3129

3230
buildPythonPackage rec {
3331
pname = "optimum";
34-
version = "1.23.3";
32+
version = "1.24.0";
3533
pyproject = true;
3634

37-
disabled = pythonOlder "3.7";
35+
disabled = pythonOlder "3.9";
3836

3937
src = fetchFromGitHub {
4038
owner = "huggingface";
4139
repo = "optimum";
4240
tag = "v${version}";
43-
hash = "sha256-GJp1ukrYxEEwmkge31b02ROWZW5V23TtoEUjhycHpSg=";
41+
hash = "sha256-0D/kHPUI+gM7IblA4ULs0JuGTNQVezIYg0SPD3ESukw=";
4442
};
4543

4644
build-system = [ setuptools ];
4745

4846
pythonRelaxDeps = [ "transformers" ];
4947

5048
dependencies = [
51-
coloredlogs
52-
datasets
5349
huggingface-hub
5450
numpy
5551
packaging
56-
sympy
5752
torch
5853
transformers
5954
] ++ transformers.optional-dependencies.sentencepiece;
@@ -120,7 +115,7 @@ buildPythonPackage rec {
120115
description = "Accelerate training and inference of 🤗 Transformers and 🤗 Diffusers with easy to use hardware optimization tools";
121116
mainProgram = "optimum-cli";
122117
homepage = "https://github.com/huggingface/optimum";
123-
changelog = "https://github.com/huggingface/optimum/releases/tag/v${version}";
118+
changelog = "https://github.com/huggingface/optimum/releases/tag/${src.tag}";
124119
license = lib.licenses.asl20;
125120
maintainers = with lib.maintainers; [ natsukium ];
126121
};

0 commit comments

Comments
 (0)