python310Packages.peft: 0.3.0 -> 0.4.0
This commit is contained in:
parent
f5c8c3c410
commit
788e4102d0
|
@ -2,7 +2,6 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, pytestCheckHook
|
|
||||||
, setuptools
|
, setuptools
|
||||||
, numpy
|
, numpy
|
||||||
, packaging
|
, packaging
|
||||||
|
@ -15,16 +14,16 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "peft";
|
pname = "peft";
|
||||||
version = "0.3.0";
|
version = "0.4.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "huggingface";
|
owner = "huggingface";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-7j//SDuld2ANxEcG4R0rK5vEaTX7gQwWRH56PO2KqAY=";
|
hash = "sha256-riOCe43/2xUpE6TTCEpMndeFTbaBN4JFDlv90tqVO4Y=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ setuptools ];
|
nativeBuildInputs = [ setuptools ];
|
||||||
|
@ -39,7 +38,7 @@ buildPythonPackage rec {
|
||||||
accelerate
|
accelerate
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # tried to download pretrained model
|
doCheck = false; # tries to download pretrained models
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"peft"
|
"peft"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue