Spaces:
Running
Running
Upload fooocus_colab.ipynb
#1
by mdgolike - opened
- fooocus_colab.ipynb +69 -0
fooocus_colab.ipynb
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": null,
|
| 6 |
+
"metadata": {
|
| 7 |
+
"id": "VjYy0F2gZIPR",
|
| 8 |
+
"outputId": "1ef3186d-d570-4078-f105-d66d85a6b5ee",
|
| 9 |
+
"colab": {
|
| 10 |
+
"base_uri": "https://localhost:8080/"
|
| 11 |
+
}
|
| 12 |
+
},
|
| 13 |
+
"outputs": [
|
| 14 |
+
{
|
| 15 |
+
"output_type": "stream",
|
| 16 |
+
"name": "stdout",
|
| 17 |
+
"text": [
|
| 18 |
+
"Collecting pygit2==1.12.2\n",
|
| 19 |
+
" Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)\n",
|
| 20 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.9/4.9 MB\u001b[0m \u001b[31m11.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 21 |
+
"\u001b[?25hRequirement already satisfied: cffi>=1.9.1 in /usr/local/lib/python3.10/dist-packages (from pygit2==1.12.2) (1.16.0)\n",
|
| 22 |
+
"Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.9.1->pygit2==1.12.2) (2.22)\n",
|
| 23 |
+
"Installing collected packages: pygit2\n",
|
| 24 |
+
"Successfully installed pygit2-1.12.2\n",
|
| 25 |
+
"/content\n",
|
| 26 |
+
"Cloning into 'Fooocus'...\n",
|
| 27 |
+
"remote: Enumerating objects: 5826, done.\u001b[K\n",
|
| 28 |
+
"remote: Counting objects: 100% (226/226), done.\u001b[K\n",
|
| 29 |
+
"remote: Compressing objects: 100% (162/162), done.\u001b[K\n",
|
| 30 |
+
"remote: Total 5826 (delta 136), reused 117 (delta 60), pack-reused 5600\u001b[K\n",
|
| 31 |
+
"Receiving objects: 100% (5826/5826), 32.69 MiB | 25.36 MiB/s, done.\n",
|
| 32 |
+
"Resolving deltas: 100% (3337/3337), done.\n",
|
| 33 |
+
"/content/Fooocus\n",
|
| 34 |
+
"Already up-to-date\n",
|
| 35 |
+
"Update succeeded.\n",
|
| 36 |
+
"[System ARGV] ['entry_with_update.py', '--share', '--always-high-vram']\n",
|
| 37 |
+
"Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]\n",
|
| 38 |
+
"Fooocus version: 2.3.1\n",
|
| 39 |
+
"Error checking version for torchsde: No package metadata was found for torchsde\n",
|
| 40 |
+
"Installing requirements\n"
|
| 41 |
+
]
|
| 42 |
+
}
|
| 43 |
+
],
|
| 44 |
+
"source": [
|
| 45 |
+
"!pip install pygit2==1.12.2\n",
|
| 46 |
+
"%cd /content\n",
|
| 47 |
+
"!git clone https://github.com/lllyasviel/Fooocus.git\n",
|
| 48 |
+
"%cd /content/Fooocus\n",
|
| 49 |
+
"!python entry_with_update.py --share --always-high-vram\n"
|
| 50 |
+
]
|
| 51 |
+
}
|
| 52 |
+
],
|
| 53 |
+
"metadata": {
|
| 54 |
+
"accelerator": "GPU",
|
| 55 |
+
"colab": {
|
| 56 |
+
"gpuType": "T4",
|
| 57 |
+
"provenance": []
|
| 58 |
+
},
|
| 59 |
+
"kernelspec": {
|
| 60 |
+
"display_name": "Python 3",
|
| 61 |
+
"name": "python3"
|
| 62 |
+
},
|
| 63 |
+
"language_info": {
|
| 64 |
+
"name": "python"
|
| 65 |
+
}
|
| 66 |
+
},
|
| 67 |
+
"nbformat": 4,
|
| 68 |
+
"nbformat_minor": 0
|
| 69 |
+
}
|