File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
pkgs/development/python-modules/optimum Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 88 setuptools ,
99
1010 # dependencies
11- coloredlogs ,
1211 datasets ,
1312 huggingface-hub ,
1413 numpy ,
1514 packaging ,
16- sympy ,
1715 torch ,
1816 transformers ,
1917
3129
3230buildPythonPackage 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 } ;
You can’t perform that action at this time.
0 commit comments