Advertisement
zoultrex

docker build diffusers

Dec 8th, 2022
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 22.45 KB | None | 0 0
  1. Sending build context to Docker daemon  12.87MB
  2. Step 1/82 : FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime as base
  3.  ---> 385dc33ab519
  4. Step 2/82 : ARG http_proxy
  5.  ---> Using cache
  6.  ---> addc685b0b1a
  7. Step 3/82 : ENV http_proxy=${http_proxy}
  8.  ---> Using cache
  9.  ---> 3f85521216b3
  10. Step 4/82 : ARG https_proxy
  11.  ---> Using cache
  12.  ---> 6637e5511e88
  13. Step 5/82 : ENV https_proxy=${https_proxy}
  14.  ---> Using cache
  15.  ---> 0d7ed018fdfe
  16. Step 6/82 : RUN if [ -n "$http_proxy" ] ; then     echo quit     | openssl s_client -proxy $(echo ${https_proxy} | cut -b 8-) -servername google.com -connect google.com:443 -showcerts     | sed 'H;1h;$!d;x; s/^.*\(-----BEGIN CERTIFICATE-----.*-----END CERTIFICATE-----\)\n---\nServer certificate.*$/\1/'     > /usr/local/share/ca-certificates/squid-self-signed.crt ;     update-ca-certificates ;   fi
  17.  ---> Using cache
  18.  ---> 193d8a9897c9
  19. Step 7/82 : ENV REQUESTS_CA_BUNDLE=${http_proxy:+/usr/local/share/ca-certificates/squid-self-signed.crt}
  20.  ---> Using cache
  21.  ---> 2c8a8c2430fb
  22. Step 8/82 : ENV DEBIAN_FRONTEND=noninteractive
  23.  ---> Using cache
  24.  ---> f31dac6f15aa
  25. Step 9/82 : RUN apt-get update && apt-get install -yqq git
  26.  ---> Using cache
  27.  ---> 02c8b34898dd
  28. Step 10/82 : FROM base AS patchmatch
  29.  ---> 02c8b34898dd
  30. Step 11/82 : ARG USE_PATCHMATCH=0
  31.  ---> Using cache
  32.  ---> e3d545afac2f
  33. Step 12/82 : WORKDIR /tmp
  34.  ---> Using cache
  35.  ---> 9ac0165e2732
  36. Step 13/82 : COPY scripts/patchmatch-setup.sh .
  37.  ---> Using cache
  38.  ---> 58c81d3e4624
  39. Step 14/82 : RUN sh patchmatch-setup.sh
  40.  ---> Using cache
  41.  ---> 9b7dbb4f2d58
  42. Step 15/82 : FROM base as output
  43.  ---> 02c8b34898dd
  44. Step 16/82 : RUN mkdir /api
  45.  ---> Using cache
  46.  ---> e9e84c54dab8
  47. Step 17/82 : WORKDIR /api
  48.  ---> Using cache
  49.  ---> 3664763fb8ff
  50. Step 18/82 : RUN conda update -n base -c defaults conda
  51.  ---> Using cache
  52.  ---> a5ec052da40b
  53. Step 19/82 : RUN conda create -n xformers python=3.10
  54.  ---> Using cache
  55.  ---> ac5d9c013480
  56. Step 20/82 : SHELL ["/opt/conda/bin/conda", "run", "--no-capture-output", "-n", "xformers", "/bin/bash", "-c"]
  57.  ---> Using cache
  58.  ---> 7cfedc3be661
  59. Step 21/82 : RUN python --version
  60.  ---> Using cache
  61.  ---> 5dea11542edb
  62. Step 22/82 : RUN conda install -c pytorch -c conda-forge cudatoolkit=11.6 pytorch=1.12.1
  63.  ---> Using cache
  64.  ---> 05cd0267e7a7
  65. Step 23/82 : RUN conda install xformers -c xformers/label/dev
  66.  ---> Using cache
  67.  ---> 67ddab7abcde
  68. Step 24/82 : RUN https_proxy="" REQUESTS_CA_BUNDLE="" conda install pip
  69.  ---> Using cache
  70.  ---> 249f7f4a85c3
  71. Step 25/82 : ADD requirements.txt requirements.txt
  72.  ---> Using cache
  73.  ---> fb69cb59d64c
  74. Step 26/82 : RUN pip install -r requirements.txt
  75.  ---> Using cache
  76.  ---> cb6d40339136
  77. Step 27/82 : RUN git clone https://github.com/huggingface/diffusers
  78.  ---> Using cache
  79.  ---> df4ec50b34e0
  80. Step 28/82 : WORKDIR /api/diffusers
  81.  ---> Using cache
  82.  ---> 5b43fb4ea88e
  83. Step 29/82 : RUN git checkout v0.9.0
  84.  ---> Using cache
  85.  ---> 417e58c1dc90
  86. Step 30/82 : WORKDIR /api
  87.  ---> Using cache
  88.  ---> cdf0cf279d80
  89. Step 31/82 : RUN pip install -e diffusers
  90.  ---> Using cache
  91.  ---> 7920dd355375
  92. Step 32/82 : ADD server.py .
  93.  ---> Using cache
  94.  ---> f8ff4aaf4400
  95. Step 33/82 : EXPOSE 8000
  96.  ---> Using cache
  97.  ---> 59302bb5a917
  98. Step 34/82 : ARG HF_AUTH_TOKEN
  99.  ---> Using cache
  100.  ---> 9100063ba5e5
  101. Step 35/82 : ENV HF_AUTH_TOKEN=${HF_AUTH_TOKEN}
  102.  ---> Using cache
  103.  ---> 56278b6bf1c5
  104. Step 36/82 : ARG MODEL_ID="stabilityai/stable-diffusion-2"
  105.  ---> Using cache
  106.  ---> eb27d6d50003
  107. Step 37/82 : ENV MODEL_ID=${MODEL_ID}
  108.  ---> Running in c4c6025d95c2
  109. Removing intermediate container c4c6025d95c2
  110.  ---> fdec508d9b1d
  111. Step 38/82 : ARG PRECISION="fp16"
  112.  ---> Running in 8562c5bcf0f7
  113. Removing intermediate container 8562c5bcf0f7
  114.  ---> 6eeb6d468e6b
  115. Step 39/82 : ENV PRECISION=${PRECISION}
  116.  ---> Running in e64da260604e
  117. Removing intermediate container e64da260604e
  118.  ---> 65563aee743a
  119. Step 40/82 : ADD precision.py .
  120.  ---> ed90ccdf27c6
  121. Step 41/82 : ARG PIPELINE="ALL"
  122.  ---> Running in 8c2fc9253c41
  123. Removing intermediate container 8c2fc9253c41
  124.  ---> d14f445dff29
  125. Step 42/82 : ENV PIPELINE=${PIPELINE}
  126.  ---> Running in 93e72d87fb03
  127. Removing intermediate container 93e72d87fb03
  128.  ---> 1469dca2bb73
  129. Step 43/82 : ARG USE_DREAMBOOTH=0
  130.  ---> Running in 3333e646ac10
  131. Removing intermediate container 3333e646ac10
  132.  ---> 96bfec038b7c
  133. Step 44/82 : ENV USE_DREAMBOOTH=${USE_DREAMBOOTH}
  134.  ---> Running in dbf6cceeafc9
  135. Removing intermediate container dbf6cceeafc9
  136.  ---> b884554e40d0
  137. Step 45/82 : ARG AWS_ACCESS_KEY_ID
  138.  ---> Running in 400ca9f48349
  139. Removing intermediate container 400ca9f48349
  140.  ---> f0dc713eaef1
  141. Step 46/82 : ARG AWS_SECRET_ACCESS_KEY
  142.  ---> Running in 33a7df5961a3
  143. Removing intermediate container 33a7df5961a3
  144.  ---> d0e40c0fe31a
  145. Step 47/82 : ARG AWS_DEFAULT_REGION
  146.  ---> Running in be67000a76fa
  147. Removing intermediate container be67000a76fa
  148.  ---> 77c9f40c993a
  149. Step 48/82 : ARG AWS_S3_ENDPOINT_URL
  150.  ---> Running in 99f6c8f9edc1
  151. Removing intermediate container 99f6c8f9edc1
  152.  ---> ae9948f70904
  153. Step 49/82 : ENV AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
  154.  ---> Running in dab4e0dee542
  155. Removing intermediate container dab4e0dee542
  156.  ---> a3813677259f
  157. Step 50/82 : ENV AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
  158.  ---> Running in fde78ee89b95
  159. Removing intermediate container fde78ee89b95
  160.  ---> 4baa69ef9ff1
  161. Step 51/82 : ENV AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
  162.  ---> Running in bec22e7cd133
  163. Removing intermediate container bec22e7cd133
  164.  ---> ad441f09f87e
  165. Step 52/82 : ENV AWS_S3_ENDPOINT_URL=${AWS_S3_ENDPOINT_URL}
  166.  ---> Running in cb971657242b
  167. Removing intermediate container cb971657242b
  168.  ---> 30a7e0740598
  169. Step 53/82 : COPY utils utils
  170.  ---> 4d30f120016a
  171. Step 54/82 : ARG MODEL_URL=""
  172.  ---> Running in 08dc4fe29a42
  173. Removing intermediate container 08dc4fe29a42
  174.  ---> ea620a42c4f1
  175. Step 55/82 : ENV MODEL_URL=${MODEL_URL}
  176.  ---> Running in 29cdc311c941
  177. Removing intermediate container 29cdc311c941
  178.  ---> 5888aef037df
  179. Step 56/82 : ARG CHECKPOINT_URL=""
  180.  ---> Running in 1d12dfd1b385
  181. Removing intermediate container 1d12dfd1b385
  182.  ---> 3c76c3b80ff8
  183. Step 57/82 : ENV CHECKPOINT_URL=${CHECKPOINT_URL}
  184.  ---> Running in 1f8005663fb6
  185. Removing intermediate container 1f8005663fb6
  186.  ---> ce1d718dbc02
  187. Step 58/82 : ARG CHECKPOINT_CONFIG_URL=""
  188.  ---> Running in 3d4733b19e33
  189. Removing intermediate container 3d4733b19e33
  190.  ---> e86b64352407
  191. Step 59/82 : ENV CHECKPOINT_CONFIG_URL=${CHECKPOINT_CONFIG_URL}
  192.  ---> Running in 62c4b5c89ea7
  193. Removing intermediate container 62c4b5c89ea7
  194.  ---> 3e9eae2972ff
  195. Step 60/82 : ADD download-checkpoint.py .
  196.  ---> 468303968a3a
  197. Step 61/82 : RUN python3 download-checkpoint.py
  198.  ---> Running in 19a89c74f973
  199. Removing intermediate container 19a89c74f973
  200.  ---> 2b25f0f483ce
  201. Step 62/82 : ARG _CONVERT_SPECIAL
  202.  ---> Running in b232613a9e3a
  203. Removing intermediate container b232613a9e3a
  204.  ---> 9c8aed2a0b86
  205. Step 63/82 : ENV _CONVERT_SPECIAL=${_CONVERT_SPECIAL}
  206.  ---> Running in 0c9c209d9952
  207. Removing intermediate container 0c9c209d9952
  208.  ---> db12e9bb04f3
  209. Step 64/82 : ADD convert-to-diffusers.py .
  210.  ---> fd81ae7ade71
  211. Step 65/82 : RUN python3 convert-to-diffusers.py
  212.  ---> Running in 7942586c145d
  213. Removing intermediate container 7942586c145d
  214.  ---> daf4b375c3f2
  215. Step 66/82 : ADD getScheduler.py .
  216.  ---> deea5576f7c7
  217. Step 67/82 : ADD loadModel.py .
  218.  ---> dc0b0d429f08
  219. Step 68/82 : ADD download.py .
  220.  ---> fddcba59cb94
  221. Step 69/82 : RUN python3 download.py
  222.  ---> Running in 73ed301d5a03
  223. Downloading model: runwayml/stable-diffusion-v1-5
  224. Initializing DPMSolverMultistepScheduler for runwayml/stable-diffusion-v1-5...
  225. Downloading: 100%|██████████| 308/308 [00:00<00:00, 315kB/s]
  226. Downloading:   0%|          | 0.00/543 [00:00<?, ?B/s]Initialized DPMSolverMultistepScheduler for runwayml/stable-diffusion-v1-5 in 561ms
  227. Downloading: 100%|██████████| 543/543 [00:00<00:00, 512kB/s]
  228. Downloading: 100%|██████████| 342/342 [00:00<00:00, 324kB/s]
  229. Downloading: 100%|██████████| 4.70k/4.70k [00:00<00:00, 4.37MB/s]
  230. Downloading: 100%|██████████| 608M/608M [00:06<00:00, 99.4MB/s]s]
  231. Downloading: 100%|██████████| 284/284 [00:00<00:00, 331kB/s]s/it]
  232. Downloading: 100%|██████████| 636/636 [00:00<00:00, 644kB/s]s/it]
  233. Downloading: 100%|██████████| 246M/246M [00:02<00:00, 91.1MB/s]t]
  234. Downloading: 100%|██████████| 525k/525k [00:00<00:00, 1.69MB/s]t]
  235. Downloading: 100%|██████████| 472/472 [00:00<00:00, 424kB/s]s/it]
  236. Downloading: 100%|██████████| 822/822 [00:00<00:00, 745kB/s]s/it]
  237. Downloading: 100%|██████████| 1.06M/1.06M [00:00<00:00, 2.82MB/s]]
  238. Downloading: 100%|██████████| 806/806 [00:00<00:00, 464kB/s]1s/it]
  239. Downloading: 100%|██████████| 1.72G/1.72G [00:17<00:00, 99.7MB/s]]
  240. Downloading: 100%|██████████| 609/609 [00:00<00:00, 572kB/s]0s/it]
  241. Downloading: 100%|██████████| 167M/167M [00:01<00:00, 89.4MB/s]it]
  242. Fetching 15 files: 100%|██████████| 15/15 [00:35<00:00,  2.36s/it]
  243. /api/diffusers/src/diffusers/models/attention.py:433: UserWarning: Could not enable memory efficient attention. Make sure xformers is installed correctly and a GPU is available: torch.cuda.is_available() should be True but is False. xformers' memory efficient attention is only available for GPU
  244.  warnings.warn(
  245. Removing intermediate container 73ed301d5a03
  246. ---> 202e735a9b07
  247. Step 70/82 : ARG USE_PATCHMATCH=0
  248. ---> Running in 9b5670b02635
  249. Removing intermediate container 9b5670b02635
  250. ---> 4fa05fdeff96
  251. Step 71/82 : RUN if [ "$USE_PATCHMATCH" = "1" ] ; then apt-get install -yqq python3-opencv ; fi
  252. ---> Running in 670f926701fd
  253. Removing intermediate container 670f926701fd
  254. ---> 84fbf72913f2
  255. Step 72/82 : COPY --from=patchmatch /tmp/PyPatchMatch PyPatchMatch
  256. ---> 2d6cbb894a6f
  257. Step 73/82 : RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then     pip install -r diffusers/examples/dreambooth/requirements.txt bitsandbytes torch==1.12.1 ;   fi
  258. ---> Running in 99efc11f4b8a
  259. Collecting bitsandbytes
  260.  Downloading bitsandbytes-0.35.4-py3-none-any.whl (62.5 MB)
  261.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 22.4 MB/s eta 0:00:00
  262. Requirement already satisfied: torch==1.12.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (1.12.1)
  263. Requirement already satisfied: diffusers>==0.5.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from -r diffusers/examples/dreambooth/requirements.txt (line 1)) (0.9.0)
  264. Requirement already satisfied: accelerate in /opt/conda/envs/xformers/lib/python3.10/site-packages (from -r diffusers/examples/dreambooth/requirements.txt (line 2)) (0.13.2)
  265. Collecting torchvision
  266.  Downloading torchvision-0.14.0-cp310-cp310-manylinux1_x86_64.whl (24.3 MB)
  267.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.3/24.3 MB 76.7 MB/s eta 0:00:00
  268. Requirement already satisfied: transformers>=4.21.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from -r diffusers/examples/dreambooth/requirements.txt (line 4)) (4.22.2)
  269. Requirement already satisfied: ftfy in /opt/conda/envs/xformers/lib/python3.10/site-packages (from -r diffusers/examples/dreambooth/requirements.txt (line 5)) (6.1.1)
  270. Collecting tensorboard
  271.  Downloading tensorboard-2.11.0-py3-none-any.whl (6.0 MB)
  272.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 115.0 MB/s eta 0:00:00
  273. Collecting modelcards
  274.  Downloading modelcards-0.1.6-py3-none-any.whl (12 kB)
  275. Requirement already satisfied: typing_extensions in /opt/conda/envs/xformers/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
  276. Requirement already satisfied: filelock in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (3.8.2)
  277. Requirement already satisfied: Pillow in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (9.3.0)
  278. Requirement already satisfied: importlib-metadata in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (5.1.0)
  279. Requirement already satisfied: regex!=2019.12.17 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (2022.10.31)
  280. Requirement already satisfied: numpy in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (1.23.4)
  281. Requirement already satisfied: huggingface-hub>=0.10.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (0.11.1)
  282. Requirement already satisfied: requests in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (2.28.1)
  283. Requirement already satisfied: packaging>=20.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from accelerate->-r diffusers/examples/dreambooth/requirements.txt (line 2)) (22.0)
  284. Requirement already satisfied: psutil in /opt/conda/envs/xformers/lib/python3.10/site-packages (from accelerate->-r diffusers/examples/dreambooth/requirements.txt (line 2)) (5.9.4)
  285. Requirement already satisfied: pyyaml in /opt/conda/envs/xformers/lib/python3.10/site-packages (from accelerate->-r diffusers/examples/dreambooth/requirements.txt (line 2)) (6.0)
  286. Collecting torchvision
  287.  Downloading torchvision-0.13.1-cp310-cp310-manylinux1_x86_64.whl (19.1 MB)
  288.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.1/19.1 MB 96.1 MB/s eta 0:00:00
  289. Requirement already satisfied: tqdm>=4.27 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from transformers>=4.21.0->-r diffusers/examples/dreambooth/requirements.txt (line 4)) (4.64.1)
  290. Requirement already satisfied: tokenizers!=0.11.3,<0.13,>=0.11.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from transformers>=4.21.0->-r diffusers/examples/dreambooth/requirements.txt (line 4)) (0.12.1)
  291. Requirement already satisfied: wcwidth>=0.2.5 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from ftfy->-r diffusers/examples/dreambooth/requirements.txt (line 5)) (0.2.5)
  292. Collecting markdown>=2.6.8
  293.  Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
  294.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 22.0 MB/s eta 0:00:00
  295. Requirement already satisfied: wheel>=0.26 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from tensorboard->-r diffusers/examples/dreambooth/requirements.txt (line 6)) (0.37.1)
  296. Collecting tensorboard-plugin-wit>=1.6.0
  297.  Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
  298.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.3/781.3 kB 77.9 MB/s eta 0:00:00
  299. Collecting werkzeug>=1.0.1
  300.  Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
  301.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.7/232.7 kB 46.2 MB/s eta 0:00:00
  302. Collecting google-auth<3,>=1.6.3
  303.  Downloading google_auth-2.15.0-py2.py3-none-any.whl (177 kB)
  304.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.0/177.0 kB 37.3 MB/s eta 0:00:00
  305. Collecting absl-py>=0.4
  306.  Downloading absl_py-1.3.0-py3-none-any.whl (124 kB)
  307.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.6/124.6 kB 26.6 MB/s eta 0:00:00
  308. Collecting grpcio>=1.24.3
  309.  Downloading grpcio-1.51.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
  310.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 121.9 MB/s eta 0:00:00
  311. Requirement already satisfied: setuptools>=41.0.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from tensorboard->-r diffusers/examples/dreambooth/requirements.txt (line 6)) (65.5.0)
  312. Collecting google-auth-oauthlib<0.5,>=0.4.1
  313.  Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
  314. Collecting protobuf<4,>=3.9.2
  315.  Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
  316.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 88.0 MB/s eta 0:00:00
  317. Collecting tensorboard-data-server<0.7.0,>=0.6.0
  318.  Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
  319.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 128.5 MB/s eta 0:00:00
  320. Requirement already satisfied: Jinja2 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from modelcards->-r diffusers/examples/dreambooth/requirements.txt (line 7)) (3.1.2)
  321. Collecting cachetools<6.0,>=2.0.0
  322.  Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
  323. Collecting pyasn1-modules>=0.2.1
  324.  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
  325.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 34.1 MB/s eta 0:00:00
  326. Requirement already satisfied: six>=1.9.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from google-auth<3,>=1.6.3->tensorboard->-r diffusers/examples/dreambooth/requirements.txt (line 6)) (1.16.0)
  327. Collecting rsa<5,>=3.1.4
  328.  Downloading rsa-4.9-py3-none-any.whl (34 kB)
  329. Collecting requests-oauthlib>=0.7.0
  330.  Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
  331. Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (1.26.13)
  332. Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (2022.9.24)
  333. Requirement already satisfied: charset-normalizer<3,>=2 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (2.1.1)
  334. Requirement already satisfied: idna<4,>=2.5 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (3.4)
  335. Requirement already satisfied: MarkupSafe>=2.1.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from werkzeug>=1.0.1->tensorboard->-r diffusers/examples/dreambooth/requirements.txt (line 6)) (2.1.1)
  336. Requirement already satisfied: zipp>=0.5 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from importlib-metadata->diffusers>==0.5.0->-r diffusers/examples/dreambooth/requirements.txt (line 1)) (3.11.0)
  337. Collecting pyasn1<0.5.0,>=0.4.6
  338.  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
  339.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 19.4 MB/s eta 0:00:00
  340. Collecting oauthlib>=3.0.0
  341.  Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
  342.     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 34.4 MB/s eta 0:00:00
  343. Installing collected packages: tensorboard-plugin-wit, pyasn1, bitsandbytes, werkzeug, tensorboard-data-server, rsa, pyasn1-modules, protobuf, oauthlib, markdown, grpcio, cachetools, absl-py, torchvision, requests-oauthlib, google-auth, modelcards, google-auth-oauthlib, tensorboard
  344. Successfully installed absl-py-1.3.0 bitsandbytes-0.35.4 cachetools-5.2.0 google-auth-2.15.0 google-auth-oauthlib-0.4.6 grpcio-1.51.1 markdown-3.4.1 modelcards-0.1.6 oauthlib-3.2.2 protobuf-3.20.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-oauthlib-1.3.1 rsa-4.9 tensorboard-2.11.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 torchvision-0.13.1 werkzeug-2.2.2
  345. WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
  346. Removing intermediate container 99efc11f4b8a
  347. ---> 38ffb092d4a9
  348. Step 74/82 : RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then apt-get install git-lfs ; fi
  349. ---> Running in 71101bc0c8ba
  350. Reading package lists...
  351. Building dependency tree...
  352. Reading state information...
  353. The following NEW packages will be installed:
  354.  git-lfs
  355. 0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
  356. Need to get 2129 kB of archives.
  357. After this operation, 7662 kB of additional disk space will be used.
  358. Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 git-lfs amd64 2.3.4-1 [2129 kB]
  359. debconf: delaying package configuration, since apt-utils is not installed
  360. Fetched 2129 kB in 1s (1624 kB/s)
  361. Selecting previously unselected package git-lfs.
  362. (Reading database ... 9375 files and directories currently installed.)
  363. Preparing to unpack .../git-lfs_2.3.4-1_amd64.deb ...
  364. Unpacking git-lfs (2.3.4-1) ...
  365. Setting up git-lfs (2.3.4-1) ...
  366. Removing intermediate container 71101bc0c8ba
  367. ---> e85ae0852387
  368. Step 75/82 : ADD train_dreambooth.py .
  369. ---> 4bcdf32b27ab
  370. Step 76/82 : ADD send.py .
  371. ---> b8b1c25d8e48
  372. Step 77/82 : ADD app.py .
  373. ---> 0135f79894f1
  374. Step 78/82 : ARG SEND_URL
  375. ---> Running in 821185efcb0b
  376. Removing intermediate container 821185efcb0b
  377. ---> d14b14f14e92
  378. Step 79/82 : ENV SEND_URL=${SEND_URL}
  379. ---> Running in dccfb1c594e5
  380. Removing intermediate container dccfb1c594e5
  381. ---> f90d5b73d0cc
  382. Step 80/82 : ARG SIGN_KEY
  383. ---> Running in 3f0848513eb3
  384. Removing intermediate container 3f0848513eb3
  385. ---> 3dc848f40744
  386. Step 81/82 : ENV SIGN_KEY=${SIGN_KEY}
  387. ---> Running in 5b96e07eb8f4
  388. Removing intermediate container 5b96e07eb8f4
  389. ---> 974564d65fe6
  390. Step 82/82 : CMD python3 -u server.py
  391. ---> Running in bec75806603d
  392. Removing intermediate container bec75806603d
  393. ---> dcdd1f402ba7
  394. [Warning] One or more build-args [AWS_S3_DEFAULT_BUCKET] were not consumed
  395. Successfully built dcdd1f402ba7
  396. Successfully tagged diffusers-api:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement