Last active
June 30, 2024 18:05
-
-
Save steren/2f204776c1cb54cfbf7ddcb03feeef3a to your computer and use it in GitHub Desktop.
Fooocus
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
docker pull ghcr.io/lllyasviel/fooocus:latest | |
docker tag ghcr.io/lllyasviel/fooocus:latest us-central1-docker.pkg.dev/steren-serverless/containers/fooocus:latest | |
docker push us-central1-docker.pkg.dev/steren-serverless/containers/fooocus:latest | |
gcloud alpha run deploy fooocus --image us-central1-docker.pkg.dev/steren-serverless/containers/fooocus --region us-central1 --gpu 1 --gpu-type nvidia-l4 --cpu 8 --memory 32Gi --no-cpu-throttling --max-instances 5 --set-env-vars CMDARGS=" --listen --port=8080" --allow-unauthenticated --execution-environment gen2 | |
# Doesn't work with GCS mount: | |
# --add-volume name=gcs,type=cloud-storage,bucket=steren-fooocus --add-volume-mount volume=gcs,mount-path=/content/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment