Skip to content

Commit 5b663b2

Browse files
committed
Creado con Colab
1 parent 87b69e9 commit 5b663b2

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

Fooocus_colab.ipynb

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"nbformat": 4,
3+
"nbformat_minor": 0,
4+
"metadata": {
5+
"colab": {
6+
"provenance": [],
7+
"authorship_tag": "ABX9TyOKkB9pxwt4/KILlEQY3rAA",
8+
"include_colab_link": true
9+
},
10+
"kernelspec": {
11+
"name": "python3",
12+
"display_name": "Python 3"
13+
},
14+
"language_info": {
15+
"name": "python"
16+
}
17+
},
18+
"cells": [
19+
{
20+
"cell_type": "markdown",
21+
"metadata": {
22+
"id": "view-in-github",
23+
"colab_type": "text"
24+
},
25+
"source": [
26+
"<a href=\"https://colab.research.google.com/github/bobgus39/APMC.github.io/blob/main/Fooocus_colab.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
27+
]
28+
},
29+
{
30+
"cell_type": "code",
31+
"execution_count": null,
32+
"metadata": {
33+
"colab": {
34+
"base_uri": "https://localhost:8080/"
35+
},
36+
"id": "Xn34mxfbUMWq",
37+
"outputId": "9cae9928-6aa1-4487-fb5e-6aeb36cabf90"
38+
},
39+
"outputs": [
40+
{
41+
"output_type": "stream",
42+
"name": "stdout",
43+
"text": [
44+
"Collecting pygit2==1.12.2\n",
45+
" Downloading pygit2-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.9 MB)\n",
46+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.9/4.9 MB\u001b[0m \u001b[31m14.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
47+
"\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",
48+
"Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.9.1->pygit2==1.12.2) (2.22)\n",
49+
"Installing collected packages: pygit2\n",
50+
"Successfully installed pygit2-1.12.2\n",
51+
"/content\n",
52+
"Cloning into 'Fooocus'...\n",
53+
"remote: Enumerating objects: 6470, done.\u001b[K\n",
54+
"remote: Counting objects: 100% (84/84), done.\u001b[K\n",
55+
"remote: Compressing objects: 100% (66/66), done.\u001b[K\n",
56+
"remote: Total 6470 (delta 30), reused 48 (delta 15), pack-reused 6386\u001b[K\n",
57+
"Receiving objects: 100% (6470/6470), 33.17 MiB | 23.96 MiB/s, done.\n",
58+
"Resolving deltas: 100% (3688/3688), done.\n",
59+
"/content/Fooocus\n",
60+
"Already up-to-date\n",
61+
"Update succeeded.\n",
62+
"[System ARGV] ['entry_with_update.py', '--share', '--always-high-vram', '--theme', 'dark']\n",
63+
"Python 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]\n",
64+
"Fooocus version: 2.4.3\n",
65+
"Error checking version for torchsde: No package metadata was found for torchsde\n",
66+
"Installing requirements\n",
67+
"[Cleanup] Attempting to delete content of temp dir /tmp/fooocus\n",
68+
"[Cleanup] Cleanup successful\n",
69+
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/xlvaeapp.pth\" to /content/Fooocus/models/vae_approx/xlvaeapp.pth\n",
70+
"\n",
71+
"100% 209k/209k [00:00<00:00, 7.33MB/s]\n",
72+
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/vaeapp_sd15.pt\" to /content/Fooocus/models/vae_approx/vaeapp_sd15.pth\n",
73+
"\n",
74+
"100% 209k/209k [00:00<00:00, 5.55MB/s]\n",
75+
"Downloading: \"https://huggingface.co/mashb1t/misc/resolve/main/xl-to-v1_interposer-v4.0.safetensors\" to /content/Fooocus/models/vae_approx/xl-to-v1_interposer-v4.0.safetensors\n",
76+
"\n",
77+
"100% 5.40M/5.40M [00:00<00:00, 61.4MB/s]\n",
78+
"Downloading: \"https://huggingface.co/lllyasviel/misc/resolve/main/fooocus_expansion.bin\" to /content/Fooocus/models/prompt_expansion/fooocus_expansion/pytorch_model.bin\n",
79+
"\n",
80+
"100% 335M/335M [00:01<00:00, 197MB/s]\n",
81+
"Downloading: \"https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/juggernautXL_v8Rundiffusion.safetensors\" to /content/Fooocus/models/checkpoints/juggernautXL_v8Rundiffusion.safetensors\n",
82+
"\n",
83+
" 12% 809M/6.62G [00:06<00:27, 225MB/s]"
84+
]
85+
}
86+
],
87+
"source": [
88+
"!pip install pygit2==1.12.2\n",
89+
"%cd /content\n",
90+
"!git clone https://github.com/lllyasviel/Fooocus.git\n",
91+
"%cd /content/Fooocus\n",
92+
"!python entry_with_update.py --share --always-high-vram --theme dark"
93+
]
94+
}
95+
]
96+
}

0 commit comments

Comments
 (0)