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