Merge pull request #35 from nawnie/main

a100 xformer link
This commit is contained in:
Victor Hall 2023-01-27 07:58:59 -08:00 committed by GitHub
commit 26f05d5eeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@
"!pip install -q wandb==0.13.6\n", "!pip install -q wandb==0.13.6\n",
"!pip install -q pyre-extensions==0.0.23\n", "!pip install -q pyre-extensions==0.0.23\n",
"if \"A100\" in s:\n", "if \"A100\" in s:\n",
" !pip install -q https://huggingface.co/industriaditat/xformers_precompiles/blob/main/A100_13dev/xformers-0.0.13.dev0-py3-none-any.whl\n", " !pip install -q https://huggingface.co/industriaditat/xformers_precompiles/resolve/main/A100_13dev/xformers-0.0.13.dev0-py3-none-any.whl\n",
"else:\n", "else:\n",
" !pip install -q https://huggingface.co/industriaditat/xformers_precompiles/resolve/main/T4_13dev/xformers-0.0.13.dev0-py3-none-any.whl\n", " !pip install -q https://huggingface.co/industriaditat/xformers_precompiles/resolve/main/T4_13dev/xformers-0.0.13.dev0-py3-none-any.whl\n",
"!pip install -q pytorch-lightning==1.6.5\n", "!pip install -q pytorch-lightning==1.6.5\n",
@ -110,10 +110,11 @@
"!pip install -q numpy==1.23.5\n", "!pip install -q numpy==1.23.5\n",
"!pip install -q colorama\n", "!pip install -q colorama\n",
"!pip install -q keyboard\n", "!pip install -q keyboard\n",
"!pip install -q triton\n",
"clear_output()\n", "clear_output()\n",
"!git clone https://github.com/victorchall/EveryDream2trainer.git\n", "!git clone https://github.com/victorchall/EveryDream2trainer.git\n",
"%cd /content/EveryDream2trainer\n", "%cd /content/EveryDream2trainer\n",
"!wget \"https://raw.githubusercontent.com/nawnie/EveryDream2trainer/main/train_colab.py\"\n", "!python utils/get_yamls.py\n",
"clear_output()\n", "clear_output()\n",
"print(\"DONE!\")" "print(\"DONE!\")"
] ]
@ -134,7 +135,6 @@
"from IPython.display import clear_output\n", "from IPython.display import clear_output\n",
"!mkdir input\n", "!mkdir input\n",
"%cd /content/EveryDream2trainer\n", "%cd /content/EveryDream2trainer\n",
"!python utils/get_yamls.py\n",
"MODEL_URL = \"https://huggingface.co/panopstor/EveryDream/resolve/main/sd_v1-5_vae.ckpt\" #@param [\"https://huggingface.co/panopstor/EveryDream/resolve/main/sd_v1-5_vae.ckpt\", \"https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float16.ckpt\"] {allow-input: true}\n", "MODEL_URL = \"https://huggingface.co/panopstor/EveryDream/resolve/main/sd_v1-5_vae.ckpt\" #@param [\"https://huggingface.co/panopstor/EveryDream/resolve/main/sd_v1-5_vae.ckpt\", \"https://huggingface.co/hakurei/waifu-diffusion-v1-3/resolve/main/wd-v1-3-float16.ckpt\"] {allow-input: true}\n",
"print(\"Downloading \")\n", "print(\"Downloading \")\n",
"!wget $MODEL_URL\n", "!wget $MODEL_URL\n",