fix(kyojin): Stop direct expert reads at unaligned EOF
Bead: nix-overlay-qy9
This commit is contained in:
@@ -6,9 +6,12 @@
|
||||
cpuCheck,
|
||||
}:
|
||||
let
|
||||
admissionPatch = ./prefix-disk-admission.patch;
|
||||
enginePatches = [
|
||||
./prefix-disk-admission.patch
|
||||
./expert-direct-read-eof.patch
|
||||
];
|
||||
engine = exllamav3.overrideAttrs (old: {
|
||||
patches = (old.patches or [ ]) ++ [ admissionPatch ];
|
||||
patches = (old.patches or [ ]) ++ enginePatches;
|
||||
});
|
||||
# Both the upstream serve wrappers and the CPU check prepend the wheel to PYTHONPATH.
|
||||
withEngine =
|
||||
@@ -36,7 +39,7 @@ kyojin.overrideAttrs (old: {
|
||||
tests = (old.passthru.tests or { }) // {
|
||||
jit = jitCheck;
|
||||
cpu = cpuCheck.overrideAttrs (check: {
|
||||
patches = (check.patches or [ ]) ++ [ admissionPatch ];
|
||||
patches = (check.patches or [ ]) ++ enginePatches;
|
||||
checkPhase = withEngine check.checkPhase;
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user