mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
small update to dockers huggingface section
This commit is contained in:
parent
c304250ef6
commit
fa3670270e
@ -42,16 +42,19 @@ another environment with NVIDIA GPUs on-premises or in the cloud.
|
|||||||
|
|
||||||
#### Install [Docker](https://github.com/santisbon/guides#docker)
|
#### Install [Docker](https://github.com/santisbon/guides#docker)
|
||||||
|
|
||||||
On the Docker Desktop app, go to Preferences, Resources, Advanced. Increase the
|
On the [Docker Desktop app](https://docs.docker.com/get-docker/), go to
|
||||||
CPUs and Memory to avoid this
|
Preferences, Resources, Advanced. Increase the CPUs and Memory to avoid this
|
||||||
[Issue](https://github.com/invoke-ai/InvokeAI/issues/342). You may need to
|
[Issue](https://github.com/invoke-ai/InvokeAI/issues/342). You may need to
|
||||||
increase Swap and Disk image size too.
|
increase Swap and Disk image size too.
|
||||||
|
|
||||||
#### Get a Huggingface-Token
|
#### Get a Huggingface-Token
|
||||||
|
|
||||||
Go to [Hugging Face](https://huggingface.co/settings/tokens), create a token and
|
Besides the Docker Agent you will need an Account on
|
||||||
temporary place it somewhere like a open texteditor window (but dont save it!,
|
[huggingface.co](https://huggingface.co/join).
|
||||||
only keep it open, we need it in the next step)
|
|
||||||
|
After you succesfully registered your account, go to
|
||||||
|
[huggingface.co/settings/tokens](https://huggingface.co/settings/tokens), create
|
||||||
|
a token and copy it, since you will need in for the next step.
|
||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
@ -106,12 +109,12 @@ also do so.
|
|||||||
!!! example ""
|
!!! example ""
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker-build/run.sh --from_file tests/validate_pr_prompt.txt
|
./docker-build/run.sh --from_file tests/validate_pr_prompt.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
The output folder is located on the volume which is also used to store the model.
|
The output folder is located on the volume which is also used to store the model.
|
||||||
|
|
||||||
Find out more about available CLI-Parameter at [features/CLI.md](../features/CLI.md)
|
Find out more about available CLI-Parameters at [features/CLI.md](../features/CLI.md/#arguments)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user