-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #611 from threefoldtech/development_fooocus2
updated fooocus
- Loading branch information
Showing
4 changed files
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,8 @@ We show how to use a ThreeFold GPU node on the grid to deploy AI workloads for g | |
- [Buy TFT](../../../threefold_token/buy_sell_tft/buy_sell_tft.md) | ||
- [Send TFT to TFChain](../../../threefold_token/tft_bridges/tfchain_stellar_bridge.md) | ||
- Reserve a [dedicated GPU node](../../../dashboard/deploy/node_finder.md#dedicated-nodes) on the ThreeFold Grid | ||
- [SSH](../../getstarted/ssh_guide/ssh_guide.md) into the node with [Wireguard](../../getstarted/ssh_guide/ssh_wireguard.md) | ||
- Deploy a full VM running Ubuntu 22.04 | ||
- [SSH](../../getstarted/ssh_guide/ssh_guide.md) into the node with [Wireguard](../../getstarted/ssh_guide/ssh_wireguard.md) | ||
|
||
## Prepare the System | ||
|
||
|
@@ -70,6 +71,7 @@ We install the prerequisites, including Miniconda, clone the repository, downloa | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
bash Miniconda3-latest-Linux-x86_64.sh | ||
``` | ||
- Reload the shell to enable Conda | ||
- Clone the Fooocus directory and install the Python requirements with Miniconda | ||
``` | ||
git clone https://github.com/lllyasviel/Fooocus.git | ||
|
@@ -83,11 +85,25 @@ We install the prerequisites, including Miniconda, clone the repository, downloa | |
conda activate fooocus | ||
python entry_with_update.py | ||
``` | ||
- Create an SSH tunnel to the VM | ||
``` | ||
ssh -4 -L 7865:127.0.0.1:7865 [email protected] | ||
``` | ||
## Use Fooocus | ||
You can then access Fooocus on `0.0.0.0:7865` via the Wireguard connection. | ||
You can then access Fooocus: | ||
``` | ||
127.0.0.1:7865 | ||
``` | ||
Here are some image generated with Fooocus: | ||
![](./img/fooocus_dog_ocean.png) | ||
![](./img/fooocus_ship.png) | ||
Here is an example: | ||
![](./img/fooocus_jungle.png) | ||
![](./img/fooocus_dog_ocean.png) | ||
![](./img/fooocus_stadium.png) |
Binary file added
BIN
+2.84 MB
...mentation/system_administrators/advanced/ai_ml_workloads/img/fooocus_jungle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.91 MB
...cumentation/system_administrators/advanced/ai_ml_workloads/img/fooocus_ship.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.12 MB
...entation/system_administrators/advanced/ai_ml_workloads/img/fooocus_stadium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.