mirror of
https://github.com/gbtb/nix-stable-diffusion.git
synced 2024-09-11 03:05:41 +03:00
working on making stable-diffusion-webui work
This commit is contained in:
parent
fee56542ad
commit
4f0c355379
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -2,3 +2,6 @@
|
||||
path = InvokeAI
|
||||
url = https://github.com/invoke-ai/InvokeAI
|
||||
branch = main
|
||||
[submodule "stable-diffusion-webui"]
|
||||
path = stable-diffusion-webui
|
||||
url = git@github.com:AUTOMATIC1111/stable-diffusion-webui.git
|
||||
|
25
flake.nix
25
flake.nix
@ -19,6 +19,16 @@
|
||||
torchvision
|
||||
numpy
|
||||
|
||||
addict
|
||||
future
|
||||
lmdb
|
||||
pyyaml
|
||||
scikitimage
|
||||
tqdm
|
||||
yapf
|
||||
gdown
|
||||
lpips
|
||||
|
||||
albumentations
|
||||
opencv4
|
||||
pudb
|
||||
@ -86,6 +96,7 @@
|
||||
realesrgan = rmCallPackage ./packages/realesrgan { opencv-python = self.opencv4; };
|
||||
filterpy = callPackage ./packages/filterpy { };
|
||||
kornia = callPackage ./packages/kornia { };
|
||||
lpips = callPackage ./packages/lpips { };
|
||||
torch-fidelity = callPackage ./packages/torch-fidelity { };
|
||||
resize-right = callPackage ./packages/resize-right { };
|
||||
torchdiffeq = callPackage ./packages/torchdiffeq { };
|
||||
@ -130,19 +141,7 @@
|
||||
let
|
||||
nixpkgs_ = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
python3 = prev.python3.override {
|
||||
packageOverrides =
|
||||
python-self: python-super:
|
||||
(overlay_default prev python-super) //
|
||||
(overlay_pynixify python-self);
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
nixpkgs_amd = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true; #both CUDA and MKL are unfree
|
||||
overlays = [
|
||||
(final: prev: {
|
||||
python3 = prev.python3.override {
|
||||
|
23
packages/lpips/default.nix
Normal file
23
packages/lpips/default.nix
Normal file
@ -0,0 +1,23 @@
|
||||
# WARNING: This file was automatically generated. You should avoid editing it.
|
||||
# If you run pynixify again, the file will be either overwritten or
|
||||
# deleted, and you will lose the changes you made to it.
|
||||
|
||||
{ buildPythonPackage, fetchPypi, lib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "lpips";
|
||||
version = "0.1.4";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0afxbg5scrlydqkm1cwlnlb0mffrzl785gn4wxrw9xnpqmn130fl";
|
||||
};
|
||||
|
||||
# TODO FIXME
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Perceptual Similarity Metric and Dataset";
|
||||
homepage = "https://richzhang.github.io/PerceptualSimilarity/";
|
||||
};
|
||||
}
|
1
stable-diffusion-webui
Submodule
1
stable-diffusion-webui
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 7f8ab1ee8f304031b3404e25761dd0f4c7be7df8
|
Loading…
Reference in New Issue
Block a user