mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.exllamav3: 0.0.26 -> 0.0.38
(cherry picked from commit ac3f75b1bb)
This commit is contained in:
parent
fa44f657eb
commit
bf4e849c84
1 changed files with 5 additions and 3 deletions
|
|
@ -21,20 +21,21 @@
|
|||
tokenizers,
|
||||
torch,
|
||||
typing-extensions,
|
||||
xformers,
|
||||
}:
|
||||
let
|
||||
newerThanTuring = lib.filter (version: lib.versionOlder "7.9" version) torch.cudaCapabilities;
|
||||
in
|
||||
buildPythonPackage (finalAttrs: {
|
||||
buildPythonPackage.override { inherit (torch) stdenv; } (finalAttrs: {
|
||||
pname = "exllamav3";
|
||||
version = "0.0.25";
|
||||
version = "0.0.38";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "turboderp-org";
|
||||
repo = "exllamav3";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-CltM0bQ3mvQwUYulsVByS7mcIIy6O/P1+nq4h5UAO6E=";
|
||||
hash = "sha256-WlHIbnQX1Jd7y5yQzlqXVgBLQ92rnDSWy4z9bEm3WLA=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
|
|
@ -71,6 +72,7 @@ buildPythonPackage (finalAttrs: {
|
|||
tokenizers
|
||||
torch
|
||||
typing-extensions
|
||||
xformers
|
||||
];
|
||||
|
||||
env = lib.optionalAttrs torch.cudaSupport {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue