upgrade fooocus
parent
af881d6f0e
commit
070d64145e
|
@ -164,16 +164,16 @@
|
|||
"version": "0.14.0"
|
||||
},
|
||||
"httpcore": {
|
||||
"sha256": "adc5398ee0a476567bf87467063ee63584a8bce86078bf748e48754f60202ced",
|
||||
"sha256": "c2789b767ddddfa2a5782e3199b2b7f6894540b17b16ec26b2c4d8e103510b87",
|
||||
"type": "url",
|
||||
"url": "https://files.pythonhosted.org/packages/ac/97/724afbb7925339f6214bf1fdb5714d1a462690466832bf8fb3fd497649f1/httpcore-0.18.0-py3-none-any.whl",
|
||||
"version": "0.18.0"
|
||||
"url": "https://files.pythonhosted.org/packages/94/2c/2bde7ff8dd2064395555220cbf7cba79991172bf5315a07eb3ac7688d9f1/httpcore-0.17.3-py3-none-any.whl",
|
||||
"version": "0.17.3"
|
||||
},
|
||||
"httpx": {
|
||||
"sha256": "181ea7f8ba3a82578be86ef4171554dd45fec26a02556a744db029a0a27b7100",
|
||||
"sha256": "06781eb9ac53cde990577af654bd990a4949de37a28bdb4a230d434f3a30b9bd",
|
||||
"type": "url",
|
||||
"url": "https://files.pythonhosted.org/packages/33/0d/d9ce469af019741c8999711d36b270ff992ceb1a0293f73f9f34fdf131e9/httpx-0.25.0-py3-none-any.whl",
|
||||
"version": "0.25.0"
|
||||
"url": "https://files.pythonhosted.org/packages/ec/91/e41f64f03d2a13aee7e8c819d82ee3aa7cdc484d18c0ae859742597d5aa0/httpx-0.24.1-py3-none-any.whl",
|
||||
"version": "0.24.1"
|
||||
},
|
||||
"huggingface-hub": {
|
||||
"sha256": "ee0b6b68acbf6aeb6d083ea081e981c277a1104b82ab67fdf6780ff5396830af",
|
||||
|
@ -226,7 +226,7 @@
|
|||
"markupsafe": {
|
||||
"sha256": "bfce63a9e7834b12b87c64d6b155fdd9b3b96191b6bd334bf37db7ff1fe457f2",
|
||||
"type": "url",
|
||||
"url": "https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||
"url": "https://download.pytorch.org/whl/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
|
||||
"version": "2.1.3"
|
||||
},
|
||||
"matplotlib": {
|
||||
|
@ -835,5 +835,5 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"invalidationHash": "b03e3b00fa6dc2783e41abf3822544f7bc9d5440fdfe9ef63c0937fe5caa9976"
|
||||
"invalidationHash": "2bd5c51c4d88ceae32116991fa55c3c4c616cee249a9e6e9dba7fe433194079c"
|
||||
}
|
|
@ -2,15 +2,15 @@
|
|||
imports = [ dream2nix.modules.dream2nix.pip ];
|
||||
|
||||
name = "Fooocus";
|
||||
version = "2.1.750";
|
||||
version = "2.1.807";
|
||||
|
||||
# todo
|
||||
mkDerivation = {
|
||||
src = config.deps.fetchFromGitHub {
|
||||
owner = "lllyasviel";
|
||||
repo = config.name;
|
||||
rev = "4607316c2f8771cae76440d26fc8c186f9136f6f";
|
||||
hash = "sha256-tKzsUpWWnif6vbqj4L+lrXCVPQwq8UU/JkU9UJaCmwM=";
|
||||
rev = "515846321686424bb5e61ad9f1912c49c37903eb";
|
||||
hash = "sha256-gKLkMntmZnfwAyOwivcf8mRmdBSIGQhhHnAaGQgtx40=";
|
||||
};
|
||||
buildPhase = "true";
|
||||
installPhase = ''
|
||||
|
@ -20,11 +20,12 @@
|
|||
ln -s /var/models/Fooocus/models $out/models
|
||||
ln -s /var/sd/outputs/sdxl $out/outputs
|
||||
ln -s /var/sd/sdxl-input $out/input
|
||||
ln -s /var/sd/user_path_config.txt $out/user_path_config.txt
|
||||
ln -s /var/sd/config.txt $out/config.txt
|
||||
ln -s /var/sd/config_modification_tutorial.txt $out/config_modification_tutorial.txt
|
||||
for f in $out/{launch,webui}.py; do
|
||||
chmod +x $f
|
||||
sed -i '1s;^;#!/usr/bin/env python\n;' $f
|
||||
wrapProgram $f --set PYTHONPATH "$PYTHONPATH"
|
||||
wrapProgram $f --set PYTHONPATH "$PYTHONPATH:$out/backend/headless"
|
||||
done
|
||||
'';
|
||||
};
|
||||
|
@ -70,6 +71,7 @@
|
|||
"xformers>=0.0.20"
|
||||
"triton"
|
||||
"setuptools"
|
||||
"httpx==0.24.1"
|
||||
"--extra-index-url" "https://download.pytorch.org/whl/cu121"
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue