Advertisement
zoultrex

docker build diffusers 2 -nocache

Dec 9th, 2022 (edited)
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 77.58 KB | None | 0 0
  1. gabriel_rf0@ubuntu-8vcpu-t4-100gb-nvidia-cuda-1:~/dev/docker-diffusers-api$ docker build \
  2. > --no-cache \
  3. > -t banana-sd \
  4. > --build-arg MODEL_ID=runwayml/stable-diffusion-v1-5 \
  5. > --build-arg USE_DREAMBOOTH=1 \
  6. > --build-arg HF_AUTH_TOKEN= \
  7. > --build-arg AWS_ACCESS_KEY_ID= \
  8. > --build-arg AWS_SECRET_ACCESS_KEY= \
  9. > --build-arg AWS_DEFAULT_REGION= \
  10. > --build-arg AWS_S3_DEFAULT_BUCKET= \
  11. > --build-arg AWS_S3_ENDPOINT_URL= .
  12. Sending build context to Docker daemon  12.87MB
  13. Step 1/82 : FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime as base
  14.  ---> 385dc33ab519
  15. Step 2/82 : ARG http_proxy
  16.  ---> Running in 5ab48f245181
  17. Removing intermediate container 5ab48f245181
  18.  ---> db87f703e0ee
  19. Step 3/82 : ENV http_proxy=${http_proxy}
  20.  ---> Running in f3c01ef94127
  21. Removing intermediate container f3c01ef94127
  22.  ---> 724d0f36843f
  23. Step 4/82 : ARG https_proxy
  24.  ---> Running in 839ef05caa0c
  25. Removing intermediate container 839ef05caa0c
  26.  ---> 66460da7626e
  27. Step 5/82 : ENV https_proxy=${https_proxy}
  28.  ---> Running in c77da02bac74
  29. Removing intermediate container c77da02bac74
  30.  ---> 25385d194698
  31. 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
  32.  ---> Running in 6765bd36f42e
  33. Removing intermediate container 6765bd36f42e
  34.  ---> 366eda20ec68
  35. Step 7/82 : ENV REQUESTS_CA_BUNDLE=${http_proxy:+/usr/local/share/ca-certificates/squid-self-signed.crt}
  36.  ---> Running in d83548264c10
  37. Removing intermediate container d83548264c10
  38.  ---> f3ccdcd4c04c
  39. Step 8/82 : ENV DEBIAN_FRONTEND=noninteractive
  40.  ---> Running in 27a4c1c8ab45
  41. Removing intermediate container 27a4c1c8ab45
  42.  ---> 6c79c137112a
  43. Step 9/82 : RUN apt-get update && apt-get install -yqq git
  44.  ---> Running in a193310d5cd7
  45. Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
  46. Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
  47. Get:3 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [22.9 kB]
  48. Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [3099 kB]
  49. Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
  50. Get:6 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1567 kB]
  51. Get:7 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [1311 kB]
  52. Get:8 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [83.3 kB]
  53. Get:9 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
  54. Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
  55. Get:11 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
  56. Get:12 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
  57. Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [30.0 kB]
  58. Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [3524 kB]
  59. Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2342 kB]
  60. Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [1352 kB]
  61. Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [64.0 kB]
  62. Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [20.5 kB]
  63. Fetched 26.7 MB in 4s (7288 kB/s)
  64. Reading package lists...
  65. debconf: delaying package configuration, since apt-utils is not installed
  66. (Reading database ... 5945 files and directories currently installed.)
  67. Preparing to unpack .../perl-base_5.26.1-6ubuntu0.6_amd64.deb ...
  68. Unpacking perl-base (5.26.1-6ubuntu0.6) over (5.26.1-6ubuntu0.5) ...
  69. Setting up perl-base (5.26.1-6ubuntu0.6) ...
  70. Selecting previously unselected package libxau6:amd64.
  71. (Reading database ... 5945 files and directories currently installed.)
  72. Preparing to unpack .../00-libxau6_1%3a1.0.8-1ubuntu1_amd64.deb ...
  73. Unpacking libxau6:amd64 (1:1.0.8-1ubuntu1) ...
  74. Selecting previously unselected package libbsd0:amd64.
  75. Preparing to unpack .../01-libbsd0_0.8.7-1ubuntu0.1_amd64.deb ...
  76. Unpacking libbsd0:amd64 (0.8.7-1ubuntu0.1) ...
  77. Selecting previously unselected package libxdmcp6:amd64.
  78. Preparing to unpack .../02-libxdmcp6_1%3a1.1.2-3_amd64.deb ...
  79. Unpacking libxdmcp6:amd64 (1:1.1.2-3) ...
  80. Selecting previously unselected package libxcb1:amd64.
  81. Preparing to unpack .../03-libxcb1_1.13-2~ubuntu18.04_amd64.deb ...
  82. Unpacking libxcb1:amd64 (1.13-2~ubuntu18.04) ...
  83. Selecting previously unselected package libx11-data.
  84. Preparing to unpack .../04-libx11-data_2%3a1.6.4-3ubuntu0.4_all.deb ...
  85. Unpacking libx11-data (2:1.6.4-3ubuntu0.4) ...
  86. Selecting previously unselected package libx11-6:amd64.
  87. Preparing to unpack .../05-libx11-6_2%3a1.6.4-3ubuntu0.4_amd64.deb ...
  88. Unpacking libx11-6:amd64 (2:1.6.4-3ubuntu0.4) ...
  89. Selecting previously unselected package libxext6:amd64.
  90. Preparing to unpack .../06-libxext6_2%3a1.3.3-1_amd64.deb ...
  91. Unpacking libxext6:amd64 (2:1.3.3-1) ...
  92. Selecting previously unselected package perl-modules-5.26.
  93. Preparing to unpack .../07-perl-modules-5.26_5.26.1-6ubuntu0.6_all.deb ...
  94. Unpacking perl-modules-5.26 (5.26.1-6ubuntu0.6) ...
  95. Selecting previously unselected package libgdbm5:amd64.
  96. Preparing to unpack .../08-libgdbm5_1.14.1-6_amd64.deb ...
  97. Unpacking libgdbm5:amd64 (1.14.1-6) ...
  98. Selecting previously unselected package libgdbm-compat4:amd64.
  99. Preparing to unpack .../09-libgdbm-compat4_1.14.1-6_amd64.deb ...
  100. Unpacking libgdbm-compat4:amd64 (1.14.1-6) ...
  101. Selecting previously unselected package libperl5.26:amd64.
  102. Preparing to unpack .../10-libperl5.26_5.26.1-6ubuntu0.6_amd64.deb ...
  103. Unpacking libperl5.26:amd64 (5.26.1-6ubuntu0.6) ...
  104. Selecting previously unselected package perl.
  105. Preparing to unpack .../11-perl_5.26.1-6ubuntu0.6_amd64.deb ...
  106. Unpacking perl (5.26.1-6ubuntu0.6) ...
  107. Selecting previously unselected package less.
  108. Preparing to unpack .../12-less_487-0.1_amd64.deb ...
  109. Unpacking less (487-0.1) ...
  110. Selecting previously unselected package libexpat1:amd64.
  111. Preparing to unpack .../13-libexpat1_2.2.5-3ubuntu0.9_amd64.deb ...
  112. Unpacking libexpat1:amd64 (2.2.5-3ubuntu0.9) ...
  113. Selecting previously unselected package libsqlite3-0:amd64.
  114. Preparing to unpack .../14-libsqlite3-0_3.22.0-1ubuntu0.7_amd64.deb ...
  115. Unpacking libsqlite3-0:amd64 (3.22.0-1ubuntu0.7) ...
  116. Selecting previously unselected package netbase.
  117. Preparing to unpack .../15-netbase_5.4_all.deb ...
  118. Unpacking netbase (5.4) ...
  119. Selecting previously unselected package krb5-locales.
  120. Preparing to unpack .../16-krb5-locales_1.16-2ubuntu0.2_all.deb ...
  121. Unpacking krb5-locales (1.16-2ubuntu0.2) ...
  122. Selecting previously unselected package libedit2:amd64.
  123. Preparing to unpack .../17-libedit2_3.1-20170329-1_amd64.deb ...
  124. Unpacking libedit2:amd64 (3.1-20170329-1) ...
  125. Selecting previously unselected package libkrb5support0:amd64.
  126. Preparing to unpack .../18-libkrb5support0_1.16-2ubuntu0.2_amd64.deb ...
  127. Unpacking libkrb5support0:amd64 (1.16-2ubuntu0.2) ...
  128. Selecting previously unselected package libk5crypto3:amd64.
  129. Preparing to unpack .../19-libk5crypto3_1.16-2ubuntu0.2_amd64.deb ...
  130. Unpacking libk5crypto3:amd64 (1.16-2ubuntu0.2) ...
  131. Selecting previously unselected package libkeyutils1:amd64.
  132. Preparing to unpack .../20-libkeyutils1_1.5.9-9.2ubuntu2.1_amd64.deb ...
  133. Unpacking libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) ...
  134. Selecting previously unselected package libkrb5-3:amd64.
  135. Preparing to unpack .../21-libkrb5-3_1.16-2ubuntu0.2_amd64.deb ...
  136. Unpacking libkrb5-3:amd64 (1.16-2ubuntu0.2) ...
  137. Selecting previously unselected package libgssapi-krb5-2:amd64.
  138. Preparing to unpack .../22-libgssapi-krb5-2_1.16-2ubuntu0.2_amd64.deb ...
  139. Unpacking libgssapi-krb5-2:amd64 (1.16-2ubuntu0.2) ...
  140. Selecting previously unselected package libpsl5:amd64.
  141. Preparing to unpack .../23-libpsl5_0.19.1-5build1_amd64.deb ...
  142. Unpacking libpsl5:amd64 (0.19.1-5build1) ...
  143. Selecting previously unselected package libssl1.0.0:amd64.
  144. Preparing to unpack .../24-libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb ...
  145. Unpacking libssl1.0.0:amd64 (1.0.2n-1ubuntu5.10) ...
  146. Selecting previously unselected package libxmuu1:amd64.
  147. Preparing to unpack .../25-libxmuu1_2%3a1.1.2-2_amd64.deb ...
  148. Unpacking libxmuu1:amd64 (2:1.1.2-2) ...
  149. Selecting previously unselected package openssh-client.
  150. Preparing to unpack .../26-openssh-client_1%3a7.6p1-4ubuntu0.7_amd64.deb ...
  151. Unpacking openssh-client (1:7.6p1-4ubuntu0.7) ...
  152. Selecting previously unselected package publicsuffix.
  153. Preparing to unpack .../27-publicsuffix_20180223.1310-1_all.deb ...
  154. Unpacking publicsuffix (20180223.1310-1) ...
  155. Selecting previously unselected package xauth.
  156. Preparing to unpack .../28-xauth_1%3a1.0.10-1_amd64.deb ...
  157. Unpacking xauth (1:1.0.10-1) ...
  158. Selecting previously unselected package libroken18-heimdal:amd64.
  159. Preparing to unpack .../29-libroken18-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  160. Unpacking libroken18-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  161. Selecting previously unselected package libasn1-8-heimdal:amd64.
  162. Preparing to unpack .../30-libasn1-8-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  163. Unpacking libasn1-8-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  164. Selecting previously unselected package libheimbase1-heimdal:amd64.
  165. Preparing to unpack .../31-libheimbase1-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  166. Unpacking libheimbase1-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  167. Selecting previously unselected package libhcrypto4-heimdal:amd64.
  168. Preparing to unpack .../32-libhcrypto4-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  169. Unpacking libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  170. Selecting previously unselected package libwind0-heimdal:amd64.
  171. Preparing to unpack .../33-libwind0-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  172. Unpacking libwind0-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  173. Selecting previously unselected package libhx509-5-heimdal:amd64.
  174. Preparing to unpack .../34-libhx509-5-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  175. Unpacking libhx509-5-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  176. Selecting previously unselected package libkrb5-26-heimdal:amd64.
  177. Preparing to unpack .../35-libkrb5-26-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  178. Unpacking libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  179. Selecting previously unselected package libheimntlm0-heimdal:amd64.
  180. Preparing to unpack .../36-libheimntlm0-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  181. Unpacking libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  182. Selecting previously unselected package libgssapi3-heimdal:amd64.
  183. Preparing to unpack .../37-libgssapi3-heimdal_7.5.0+dfsg-1ubuntu0.2_amd64.deb ...
  184. Unpacking libgssapi3-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  185. Selecting previously unselected package libsasl2-modules-db:amd64.
  186. Preparing to unpack .../38-libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ...
  187. Unpacking libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  188. Selecting previously unselected package libsasl2-2:amd64.
  189. Preparing to unpack .../39-libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ...
  190. Unpacking libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  191. Selecting previously unselected package libldap-common.
  192. Preparing to unpack .../40-libldap-common_2.4.45+dfsg-1ubuntu1.11_all.deb ...
  193. Unpacking libldap-common (2.4.45+dfsg-1ubuntu1.11) ...
  194. Selecting previously unselected package libldap-2.4-2:amd64.
  195. Preparing to unpack .../41-libldap-2.4-2_2.4.45+dfsg-1ubuntu1.11_amd64.deb ...
  196. Unpacking libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.11) ...
  197. Selecting previously unselected package libnghttp2-14:amd64.
  198. Preparing to unpack .../42-libnghttp2-14_1.30.0-1ubuntu1_amd64.deb ...
  199. Unpacking libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
  200. Selecting previously unselected package librtmp1:amd64.
  201. Preparing to unpack .../43-librtmp1_2.4+20151223.gitfa8646d.1-1_amd64.deb ...
  202. Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
  203. Selecting previously unselected package libcurl3-gnutls:amd64.
  204. Preparing to unpack .../44-libcurl3-gnutls_7.58.0-2ubuntu3.21_amd64.deb ...
  205. Unpacking libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.21) ...
  206. Selecting previously unselected package liberror-perl.
  207. Preparing to unpack .../45-liberror-perl_0.17025-1_all.deb ...
  208. Unpacking liberror-perl (0.17025-1) ...
  209. Selecting previously unselected package git-man.
  210. Preparing to unpack .../46-git-man_1%3a2.17.1-1ubuntu0.13_all.deb ...
  211. Unpacking git-man (1:2.17.1-1ubuntu0.13) ...
  212. Selecting previously unselected package git.
  213. Preparing to unpack .../47-git_1%3a2.17.1-1ubuntu0.13_amd64.deb ...
  214. Unpacking git (1:2.17.1-1ubuntu0.13) ...
  215. Selecting previously unselected package libsasl2-modules:amd64.
  216. Preparing to unpack .../48-libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2.4_amd64.deb ...
  217. Unpacking libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  218. Selecting previously unselected package patch.
  219. Preparing to unpack .../49-patch_2.7.6-2ubuntu1.1_amd64.deb ...
  220. Unpacking patch (2.7.6-2ubuntu1.1) ...
  221. Setting up libedit2:amd64 (3.1-20170329-1) ...
  222. Setting up git-man (1:2.17.1-1ubuntu0.13) ...
  223. Setting up libexpat1:amd64 (2.2.5-3ubuntu0.9) ...
  224. Setting up less (487-0.1) ...
  225. Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.10) ...
  226. Setting up libnghttp2-14:amd64 (1.30.0-1ubuntu1) ...
  227. Setting up libldap-common (2.4.45+dfsg-1ubuntu1.11) ...
  228. Setting up libpsl5:amd64 (0.19.1-5build1) ...
  229. Setting up libsasl2-modules-db:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  230. Setting up libsasl2-2:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  231. Setting up libroken18-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  232. Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-1) ...
  233. Setting up perl-modules-5.26 (5.26.1-6ubuntu0.6) ...
  234. Setting up libgdbm5:amd64 (1.14.1-6) ...
  235. Setting up libbsd0:amd64 (0.8.7-1ubuntu0.1) ...
  236. Setting up libkrb5support0:amd64 (1.16-2ubuntu0.2) ...
  237. Setting up patch (2.7.6-2ubuntu1.1) ...
  238. Setting up krb5-locales (1.16-2ubuntu0.2) ...
  239. Setting up publicsuffix (20180223.1310-1) ...
  240. Setting up libheimbase1-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  241. Setting up libsqlite3-0:amd64 (3.22.0-1ubuntu0.7) ...
  242. Setting up libxdmcp6:amd64 (1:1.1.2-3) ...
  243. Setting up libgdbm-compat4:amd64 (1.14.1-6) ...
  244. Setting up libkeyutils1:amd64 (1.5.9-9.2ubuntu2.1) ...
  245. Setting up libsasl2-modules:amd64 (2.1.27~101-g0780600+dfsg-3ubuntu2.4) ...
  246. Setting up libx11-data (2:1.6.4-3ubuntu0.4) ...
  247. Setting up libxau6:amd64 (1:1.0.8-1ubuntu1) ...
  248. Setting up netbase (5.4) ...
  249. Setting up libk5crypto3:amd64 (1.16-2ubuntu0.2) ...
  250. Setting up libwind0-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  251. Setting up libasn1-8-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  252. Setting up libhcrypto4-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  253. Setting up libhx509-5-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  254. Setting up libperl5.26:amd64 (5.26.1-6ubuntu0.6) ...
  255. Setting up libkrb5-3:amd64 (1.16-2ubuntu0.2) ...
  256. Setting up libkrb5-26-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  257. Setting up libxcb1:amd64 (1.13-2~ubuntu18.04) ...
  258. Setting up libheimntlm0-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  259. Setting up libx11-6:amd64 (2:1.6.4-3ubuntu0.4) ...
  260. Setting up libxmuu1:amd64 (2:1.1.2-2) ...
  261. Setting up libgssapi-krb5-2:amd64 (1.16-2ubuntu0.2) ...
  262. Setting up perl (5.26.1-6ubuntu0.6) ...
  263. Setting up libgssapi3-heimdal:amd64 (7.5.0+dfsg-1ubuntu0.2) ...
  264. Setting up openssh-client (1:7.6p1-4ubuntu0.7) ...
  265. Setting up libxext6:amd64 (2:1.3.3-1) ...
  266. Setting up liberror-perl (0.17025-1) ...
  267. Setting up xauth (1:1.0.10-1) ...
  268. Setting up libldap-2.4-2:amd64 (2.4.45+dfsg-1ubuntu1.11) ...
  269. Setting up libcurl3-gnutls:amd64 (7.58.0-2ubuntu3.21) ...
  270. Setting up git (1:2.17.1-1ubuntu0.13) ...
  271. Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
  272. Removing intermediate container a193310d5cd7
  273.  ---> 2dd99d654c29
  274. Step 10/82 : FROM base AS patchmatch
  275.  ---> 2dd99d654c29
  276. Step 11/82 : ARG USE_PATCHMATCH=0
  277.  ---> Running in 9a492120c423
  278. Removing intermediate container 9a492120c423
  279.  ---> 5a9c37fbf65a
  280. Step 12/82 : WORKDIR /tmp
  281.  ---> Running in 7d636a6a1525
  282. Removing intermediate container 7d636a6a1525
  283.  ---> 29136c3c76b1
  284. Step 13/82 : COPY scripts/patchmatch-setup.sh .
  285.  ---> 9a10222f122d
  286. Step 14/82 : RUN sh patchmatch-setup.sh
  287.  ---> Running in c50e141dc49c
  288. Skipping PyPatchMatch install because USE_PATCHMATCH=0
  289. Removing intermediate container c50e141dc49c
  290.  ---> 793fe840ce38
  291. Step 15/82 : FROM base as output
  292.  ---> 2dd99d654c29
  293. Step 16/82 : RUN mkdir /api
  294.  ---> Running in f57b169cd589
  295. Removing intermediate container f57b169cd589
  296.  ---> f6c6749cfcd3
  297. Step 17/82 : WORKDIR /api
  298.  ---> Running in 56947aea7a87
  299. Removing intermediate container 56947aea7a87
  300.  ---> 2f0b5816f755
  301. Step 18/82 : RUN conda update -n base -c defaults conda
  302.  ---> Running in fb24d600625f
  303. Collecting package metadata (current_repodata.json): ...working... done
  304. Solving environment: ...working... done
  305.  
  306. ## Package Plan ##
  307.  
  308.   environment location: /opt/conda
  309.  
  310.   added / updated specs:
  311.     - conda
  312.  
  313.  
  314. The following packages will be downloaded:
  315.  
  316.     package                    |            build
  317.     ---------------------------|-----------------
  318.     _openmp_mutex-5.1          |            1_gnu          21 KB
  319.     ca-certificates-2022.10.11 |       h06a4308_0         124 KB
  320.     certifi-2022.9.24          |   py37h06a4308_0         154 KB
  321.     cffi-1.15.1                |   py37h74dc2b5_0         227 KB
  322.     conda-22.11.1              |   py37h06a4308_3         932 KB
  323.     conda-package-handling-1.9.0|   py37h5eee18b_1         945 KB
  324.     cryptography-38.0.1        |   py37h9ce1e76_0         1.3 MB
  325.     ffmpeg-4.2.2               |       h20bf706_0        59.6 MB
  326.     flit-core-3.6.0            |     pyhd3eb1b0_0          42 KB
  327.     freetype-2.12.1            |       h4a9f257_0         626 KB
  328.     idna-3.4                   |   py37h06a4308_0          91 KB
  329.     importlib-metadata-4.11.3  |   py37h06a4308_0          40 KB
  330.     importlib_metadata-4.11.3  |       hd3eb1b0_0          12 KB
  331.     ld_impl_linux-64-2.38      |       h1181459_1         654 KB
  332.     lerc-3.0                   |       h295c915_0         196 KB
  333.     libarchive-3.6.1           |       hab531cd_0         815 KB
  334.     libdeflate-1.8             |       h7f8727e_5          51 KB
  335.     libgcc-ng-11.2.0           |       h1234567_1         5.3 MB
  336.     libgomp-11.2.0             |       h1234567_1         474 KB
  337.     libopus-1.3.1              |       h7b6447c_0         491 KB
  338.     libstdcxx-ng-11.2.0        |       h1234567_1         4.7 MB
  339.     libtiff-4.4.0              |       hecacb30_2         526 KB
  340.     libvpx-1.7.0               |       h439df22_0         1.2 MB
  341.     libwebp-1.2.4              |       h11a3e52_0          79 KB
  342.     libwebp-base-1.2.4         |       h5eee18b_0         347 KB
  343.     matplotlib-inline-0.1.6    |   py37h06a4308_0          16 KB
  344.     ncurses-6.3                |       h5eee18b_3         781 KB
  345.     openssl-1.1.1s             |       h7f8727e_0         3.6 MB
  346.     patchelf-0.15.0            |       h6a678d5_0          97 KB
  347.     pillow-9.2.0               |   py37hace64e9_1         664 KB
  348.     pip-22.2.2                 |   py37h06a4308_0         2.3 MB
  349.     pkginfo-1.8.3              |   py37h06a4308_0          45 KB
  350.     pluggy-1.0.0               |   py37h06a4308_1          29 KB
  351.     psutil-5.9.0               |   py37h5eee18b_0         328 KB
  352.     pycosat-0.6.4              |   py37h5eee18b_0          84 KB
  353.     readline-8.2               |       h5eee18b_0         357 KB
  354.     requests-2.28.1            |   py37h06a4308_0          92 KB
  355.     ripgrep-13.0.0             |       hbdeaff8_0         1.1 MB
  356.     ruamel.yaml-0.17.21        |   py37h5eee18b_0         177 KB
  357.     ruamel.yaml.clib-0.2.6     |   py37h5eee18b_1         140 KB
  358.     setuptools-65.5.0          |   py37h06a4308_0         1.1 MB
  359.     soupsieve-2.3.2.post1      |   py37h06a4308_0          65 KB
  360.     sqlite-3.40.0              |       h5082296_0         1.2 MB
  361.     tk-8.6.12                  |       h1ccaba5_0         3.0 MB
  362.     toolz-0.12.0               |   py37h06a4308_0         104 KB
  363.     tqdm-4.64.1                |   py37h06a4308_0         126 KB
  364.     typing_extensions-4.4.0    |   py37h06a4308_0          45 KB
  365.     urllib3-1.26.13            |   py37h06a4308_0         191 KB
  366.     x264-1!157.20191217        |       h7b6447c_0         922 KB
  367.     xz-5.2.8                   |       h5eee18b_0         429 KB
  368.     zipp-3.8.0                 |   py37h06a4308_0          15 KB
  369.     zlib-1.2.13                |       h5eee18b_0         103 KB
  370.     ------------------------------------------------------------
  371.                                            Total:        95.9 MB
  372.  
  373. The following NEW packages will be INSTALLED:
  374.  
  375.   flit-core          pkgs/main/noarch::flit-core-3.6.0-pyhd3eb1b0_0
  376.   importlib-metadata pkgs/main/linux-64::importlib-metadata-4.11.3-py37h06a4308_0
  377.   importlib_metadata pkgs/main/noarch::importlib_metadata-4.11.3-hd3eb1b0_0
  378.   lerc               pkgs/main/linux-64::lerc-3.0-h295c915_0
  379.   libdeflate         pkgs/main/linux-64::libdeflate-1.8-h7f8727e_5
  380.   libopus            pkgs/main/linux-64::libopus-1.3.1-h7b6447c_0
  381.   libvpx             pkgs/main/linux-64::libvpx-1.7.0-h439df22_0
  382.   pluggy             pkgs/main/linux-64::pluggy-1.0.0-py37h06a4308_1
  383.   ruamel.yaml        pkgs/main/linux-64::ruamel.yaml-0.17.21-py37h5eee18b_0
  384.   ruamel.yaml.clib   pkgs/main/linux-64::ruamel.yaml.clib-0.2.6-py37h5eee18b_1
  385.   toolz              pkgs/main/linux-64::toolz-0.12.0-py37h06a4308_0
  386.   x264               pkgs/main/linux-64::x264-1!157.20191217-h7b6447c_0
  387.   zipp               pkgs/main/linux-64::zipp-3.8.0-py37h06a4308_0
  388.  
  389. The following packages will be REMOVED:
  390.  
  391.   colorama-0.4.4-pyhd3eb1b0_0
  392.   conda-content-trust-0.1.1-pyhd3eb1b0_0
  393.   libiconv-1.16-h7f8727e_2
  394.   ruamel_yaml-0.15.100-py37h27cfd23_0
  395.   tzdata-2022a-hda174b7_0
  396.  
  397. The following packages will be UPDATED:
  398.  
  399.   _openmp_mutex                                   4.5-1_gnu --> 5.1-1_gnu
  400.   ca-certificates                     2022.07.19-h06a4308_0 --> 2022.10.11-h06a4308_0
  401.   certifi                          2022.6.15-py37h06a4308_0 --> 2022.9.24-py37h06a4308_0
  402.   cffi                                1.15.0-py37hd667e15_1 --> 1.15.1-py37h74dc2b5_0
  403.   conda                               4.13.0-py37h06a4308_0 --> 22.11.1-py37h06a4308_3
  404.   conda-package-han~                   1.8.1-py37h7f8727e_0 --> 1.9.0-py37h5eee18b_1
  405.   cryptography                        37.0.1-py37h9ce1e76_0 --> 38.0.1-py37h9ce1e76_0
  406.   freetype                                2.11.0-h70c0345_0 --> 2.12.1-h4a9f257_0
  407.   idna               pkgs/main/noarch::idna-3.3-pyhd3eb1b0~ --> pkgs/main/linux-64::idna-3.4-py37h06a4308_0
  408.   ld_impl_linux-64                        2.35.1-h7274673_9 --> 2.38-h1181459_1
  409.   libarchive                               3.5.2-h5de8990_0 --> 3.6.1-hab531cd_0
  410.   libgcc-ng                               9.3.0-h5101ec6_17 --> 11.2.0-h1234567_1
  411.   libgomp                                 9.3.0-h5101ec6_17 --> 11.2.0-h1234567_1
  412.   libstdcxx-ng                            9.3.0-hd4cf53a_17 --> 11.2.0-h1234567_1
  413.   libtiff                                  4.2.0-h2818925_1 --> 4.4.0-hecacb30_2
  414.   libwebp                                  1.2.2-h55f646e_0 --> 1.2.4-h11a3e52_0
  415.   libwebp-base                             1.2.2-h7f8727e_0 --> 1.2.4-h5eee18b_0
  416.   matplotlib-inline  pkgs/main/noarch::matplotlib-inline-0~ --> pkgs/main/linux-64::matplotlib-inline-0.1.6-py37h06a4308_0
  417.   ncurses                                    6.3-h7f8727e_2 --> 6.3-h5eee18b_3
  418.   openssl                                 1.1.1q-h7f8727e_0 --> 1.1.1s-h7f8727e_0
  419.   patchelf                                  0.13-h295c915_0 --> 0.15.0-h6a678d5_0
  420.   pillow                               9.0.1-py37h22f2fdc_0 --> 9.2.0-py37hace64e9_1
  421.   pip                                 22.1.2-py37h06a4308_0 --> 22.2.2-py37h06a4308_0
  422.   pkginfo            pkgs/main/noarch::pkginfo-1.8.2-pyhd3~ --> pkgs/main/linux-64::pkginfo-1.8.3-py37h06a4308_0
  423.   psutil                               5.8.0-py37h27cfd23_1 --> 5.9.0-py37h5eee18b_0
  424.   pycosat                              0.6.3-py37h27cfd23_0 --> 0.6.4-py37h5eee18b_0
  425.   readline                                 8.1.2-h7f8727e_1 --> 8.2-h5eee18b_0
  426.   requests           pkgs/main/noarch::requests-2.27.1-pyh~ --> pkgs/main/linux-64::requests-2.28.1-py37h06a4308_0
  427.   ripgrep                                          12.1.1-0 --> 13.0.0-hbdeaff8_0
  428.   setuptools                          61.2.0-py37h06a4308_0 --> 65.5.0-py37h06a4308_0
  429.   soupsieve          pkgs/main/noarch::soupsieve-2.3.1-pyh~ --> pkgs/main/linux-64::soupsieve-2.3.2.post1-py37h06a4308_0
  430.   sqlite                                  3.38.2-hc218d9a_0 --> 3.40.0-h5082296_0
  431.   tk                                      8.6.11-h1ccaba5_0 --> 8.6.12-h1ccaba5_0
  432.   tqdm               pkgs/main/noarch::tqdm-4.63.0-pyhd3eb~ --> pkgs/main/linux-64::tqdm-4.64.1-py37h06a4308_0
  433.   typing_extensions                    4.3.0-py37h06a4308_0 --> 4.4.0-py37h06a4308_0
  434.   urllib3            pkgs/main/noarch::urllib3-1.26.8-pyhd~ --> pkgs/main/linux-64::urllib3-1.26.13-py37h06a4308_0
  435.   xz                                       5.2.5-h7b6447c_0 --> 5.2.8-h5eee18b_0
  436.   zlib                                    1.2.12-h7f8727e_1 --> 1.2.13-h5eee18b_0
  437.  
  438. The following packages will be SUPERSEDED by a higher-priority channel:
  439.  
  440.   ffmpeg                     pytorch::ffmpeg-4.3-hf484d3e_0 --> pkgs/main::ffmpeg-4.2.2-h20bf706_0
  441.  
  442.  
  443. Proceed ([y]/n)?
  444.  
  445. Downloading and Extracting Packages
  446. matplotlib-inline-0. | 16 KB     | ########## | 100%
  447. cryptography-38.0.1  | 1.3 MB    | ########## | 100%
  448. pillow-9.2.0         | 664 KB    | ########## | 100%
  449. pycosat-0.6.4        | 84 KB     | ########## | 100%
  450. certifi-2022.9.24    | 154 KB    | ########## | 100%
  451. lerc-3.0             | 196 KB    | ########## | 100%
  452. libdeflate-1.8       | 51 KB     | ########## | 100%
  453. libopus-1.3.1        | 491 KB    | ########## | 100%
  454. ruamel.yaml-0.17.21  | 177 KB    | ########## | 100%
  455. importlib-metadata-4 | 40 KB     | ########## | 100%
  456. openssl-1.1.1s       | 3.6 MB    | ########## | 100%
  457. pkginfo-1.8.3        | 45 KB     | ########## | 100%
  458. zipp-3.8.0           | 15 KB     | ########## | 100%
  459. conda-22.11.1        | 932 KB    | ########## | 100%
  460. conda-package-handli | 945 KB    | ########## | 100%
  461. soupsieve-2.3.2.post | 65 KB     | ########## | 100%
  462. flit-core-3.6.0      | 42 KB     | ########## | 100%
  463. ripgrep-13.0.0       | 1.1 MB    | ########## | 100%
  464. toolz-0.12.0         | 104 KB    | ########## | 100%
  465. tk-8.6.12            | 3.0 MB    | ########## | 100%
  466. ca-certificates-2022 | 124 KB    | ########## | 100%
  467. ffmpeg-4.2.2         | 59.6 MB   | ########## | 100%
  468. _openmp_mutex-5.1    | 21 KB     | ########## | 100%
  469. freetype-2.12.1      | 626 KB    | ########## | 100%
  470. patchelf-0.15.0      | 97 KB     | ########## | 100%
  471. tqdm-4.64.1          | 126 KB    | ########## | 100%
  472. xz-5.2.8             | 429 KB    | ########## | 100%
  473. cffi-1.15.1          | 227 KB    | ########## | 100%
  474. libwebp-base-1.2.4   | 347 KB    | ########## | 100%
  475. libgomp-11.2.0       | 474 KB    | ########## | 100%
  476. psutil-5.9.0         | 328 KB    | ########## | 100%
  477. pip-22.2.2           | 2.3 MB    | ########## | 100%
  478. ncurses-6.3          | 781 KB    | ########## | 100%
  479. ruamel.yaml.clib-0.2 | 140 KB    | ########## | 100%
  480. importlib_metadata-4 | 12 KB     | ########## | 100%
  481. requests-2.28.1      | 92 KB     | ########## | 100%
  482. typing_extensions-4. | 45 KB     | ########## | 100%
  483. zlib-1.2.13          | 103 KB    | ########## | 100%
  484. pluggy-1.0.0         | 29 KB     | ########## | 100%
  485. ld_impl_linux-64-2.3 | 654 KB    | ########## | 100%
  486. setuptools-65.5.0    | 1.1 MB    | ########## | 100%
  487. sqlite-3.40.0        | 1.2 MB    | ########## | 100%
  488. libarchive-3.6.1     | 815 KB    | ########## | 100%
  489. libgcc-ng-11.2.0     | 5.3 MB    | ########## | 100%
  490. libstdcxx-ng-11.2.0  | 4.7 MB    | ########## | 100%
  491. libtiff-4.4.0        | 526 KB    | ########## | 100%
  492. x264-1!157.20191217  | 922 KB    | ########## | 100%
  493. readline-8.2         | 357 KB    | ########## | 100%
  494. libvpx-1.7.0         | 1.2 MB    | ########## | 100%
  495. libwebp-1.2.4        | 79 KB     | ########## | 100%
  496. idna-3.4             | 91 KB     | ########## | 100%
  497. urllib3-1.26.13      | 191 KB    | ########## | 100%
  498. Preparing transaction: ...working... done
  499. Verifying transaction: ...working... done
  500. Executing transaction: ...working... done
  501. Removing intermediate container fb24d600625f
  502.  ---> 19109db14414
  503. Step 19/82 : RUN conda create -n xformers python=3.10
  504.  ---> Running in d16a14e9d224
  505. Collecting package metadata (current_repodata.json): ...working... done
  506. Solving environment: ...working... done
  507.  
  508. ## Package Plan ##
  509.  
  510.   environment location: /opt/conda/envs/xformers
  511.  
  512.   added / updated specs:
  513.     - python=3.10
  514.  
  515.  
  516. The following packages will be downloaded:
  517.  
  518.     package                    |            build
  519.     ---------------------------|-----------------
  520.     _libgcc_mutex-0.1          |             main           3 KB
  521.     certifi-2022.9.24          |  py310h06a4308_0         154 KB
  522.     libffi-3.4.2               |       h6a678d5_6         136 KB
  523.     libuuid-1.41.5             |       h5eee18b_0          27 KB
  524.     pip-22.2.2                 |  py310h06a4308_0         2.4 MB
  525.     python-3.10.8              |       h7a1cb2a_1        26.8 MB
  526.     setuptools-65.5.0          |  py310h06a4308_0         1.2 MB
  527.     tzdata-2022g               |       h04d1e81_0         114 KB
  528.     ------------------------------------------------------------
  529.                                            Total:        30.8 MB
  530.  
  531. The following NEW packages will be INSTALLED:
  532.  
  533.   _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  534.   _openmp_mutex      pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
  535.   bzip2              pkgs/main/linux-64::bzip2-1.0.8-h7b6447c_0
  536.   ca-certificates    pkgs/main/linux-64::ca-certificates-2022.10.11-h06a4308_0
  537.   certifi            pkgs/main/linux-64::certifi-2022.9.24-py310h06a4308_0
  538.   ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  539.   libffi             pkgs/main/linux-64::libffi-3.4.2-h6a678d5_6
  540.   libgcc-ng          pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
  541.   libgomp            pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
  542.   libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
  543.   libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  544.   ncurses            pkgs/main/linux-64::ncurses-6.3-h5eee18b_3
  545.   openssl            pkgs/main/linux-64::openssl-1.1.1s-h7f8727e_0
  546.   pip                pkgs/main/linux-64::pip-22.2.2-py310h06a4308_0
  547.   python             pkgs/main/linux-64::python-3.10.8-h7a1cb2a_1
  548.   readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  549.   setuptools         pkgs/main/linux-64::setuptools-65.5.0-py310h06a4308_0
  550.   sqlite             pkgs/main/linux-64::sqlite-3.40.0-h5082296_0
  551.   tk                 pkgs/main/linux-64::tk-8.6.12-h1ccaba5_0
  552.   tzdata             pkgs/main/noarch::tzdata-2022g-h04d1e81_0
  553.   wheel              pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
  554.   xz                 pkgs/main/linux-64::xz-5.2.8-h5eee18b_0
  555.   zlib               pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0
  556.  
  557.  
  558. Proceed ([y]/n)?
  559.  
  560. Downloading and Extracting Packages
  561.                                                      
  562. Preparing transaction: ...working... done            
  563. Verifying transaction: ...working... done            
  564. Executing transaction: ...working... done            
  565. #                                                    
  566. # To activate this environment, use                  
  567. #                                                    
  568. #     $ conda activate xformers                      
  569. #
  570. # To deactivate an active environment, use
  571. #
  572. #     $ conda deactivate
  573.  
  574. Removing intermediate container d16a14e9d224
  575.  ---> aed691327962
  576. Step 20/82 : SHELL ["/opt/conda/bin/conda", "run", "--no-capture-output", "-n", "xformers", "/bin/bash", "-c"]
  577.  ---> Running in 4914317d604b
  578. Removing intermediate container 4914317d604b
  579.  ---> fc2506f50229
  580. Step 21/82 : RUN python --version
  581.  ---> Running in 05d11684cf75
  582. Python 3.10.8
  583. Removing intermediate container 05d11684cf75
  584.  ---> be5402ebd397
  585. Step 22/82 : RUN conda install -c pytorch -c conda-forge cudatoolkit=11.6 pytorch=1.12.1
  586.  ---> Running in 804012d7a98c
  587. Collecting package metadata (current_repodata.json): ...working... done
  588. Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
  589. Collecting package metadata (repodata.json): ...working... done
  590. Solving environment: ...working... done
  591.  
  592. ## Package Plan ##
  593.  
  594.   environment location: /opt/conda/envs/xformers
  595.  
  596.   added / updated specs:
  597.     - cudatoolkit=11.6
  598.     - pytorch=1.12.1
  599.  
  600.  
  601. The following packages will be downloaded:
  602.  
  603.     package                    |            build
  604.     ---------------------------|-----------------
  605.     blas-1.0                   |              mkl           6 KB
  606.     ca-certificates-2022.12.7  |       ha878542_0         143 KB  conda-forge
  607.     certifi-2022.12.7          |     pyhd8ed1ab_0         147 KB  conda-forge
  608.     cudatoolkit-11.6.0         |      hecad31d_10       821.2 MB  conda-forge
  609.     intel-openmp-2022.1.0      |    h9e868ea_3769         4.5 MB
  610.     mkl-2022.1.0               |     hc2b9512_224       129.7 MB
  611.     pytorch-1.12.1             |py3.10_cuda11.6_cudnn8.3.2_0        1.20 GB  pytorch
  612.     pytorch-mutex-1.0          |             cuda           3 KB  pytorch
  613.     typing_extensions-4.4.0    |     pyha770c72_0          29 KB  conda-forge
  614.     ------------------------------------------------------------
  615.                                            Total:        2.13 GB
  616.  
  617. The following NEW packages will be INSTALLED:
  618.  
  619.   blas               pkgs/main/linux-64::blas-1.0-mkl
  620.   cudatoolkit        conda-forge/linux-64::cudatoolkit-11.6.0-hecad31d_10
  621.   intel-openmp       pkgs/main/linux-64::intel-openmp-2022.1.0-h9e868ea_3769
  622.   mkl                pkgs/main/linux-64::mkl-2022.1.0-hc2b9512_224
  623.   pytorch            pytorch/linux-64::pytorch-1.12.1-py3.10_cuda11.6_cudnn8.3.2_0
  624.   pytorch-mutex      pytorch/noarch::pytorch-mutex-1.0-cuda
  625.   typing_extensions  conda-forge/noarch::typing_extensions-4.4.0-pyha770c72_0
  626.  
  627. The following packages will be UPDATED:
  628.  
  629.   ca-certificates    pkgs/main::ca-certificates-2022.10.11~ --> conda-forge::ca-certificates-2022.12.7-ha878542_0
  630.   certifi            pkgs/main/linux-64::certifi-2022.9.24~ --> conda-forge/noarch::certifi-2022.12.7-pyhd8ed1ab_0
  631.  
  632.  
  633. Proceed ([y]/n)?
  634.  
  635. Downloading and Extracting Packages
  636.                                                      
  637. Preparing transaction: ...working... done            
  638. Verifying transaction: ...working... done            
  639. Executing transaction: ...working... By downloading and using the CUDA Toolkit conda packages, you accept the terms and conditions of the CUDA End User License Agreement (EULA): https://docs.nvidia.com/cuda/eula/index.html
  640.                                                      
  641. done                                                
  642. Removing intermediate container 804012d7a98c        
  643.  ---> 08b7550da2ba                                  
  644. Step 23/82 : RUN conda install xformers -c xformers/label/dev
  645.  ---> Running in d8d9cf7e3ffe
  646. Collecting package metadata (current_repodata.json): ...working... done
  647. Solving environment: ...working... done
  648.  
  649. ## Package Plan ##
  650.  
  651.   environment location: /opt/conda/envs/xformers
  652.  
  653.   added / updated specs:
  654.     - xformers
  655.  
  656.  
  657. The following packages will be downloaded:
  658.  
  659.     package                    |            build
  660.     ---------------------------|-----------------
  661.     xformers-0.0.15.dev343+git.1b1fd8a|py310_cu11.6_pyt1.12.1       104.2 MB  xformers/label/dev
  662.     ------------------------------------------------------------
  663.                                            Total:       104.2 MB
  664.  
  665. The following NEW packages will be INSTALLED:
  666.  
  667.   xformers           xformers/label/dev/linux-64::xformers-0.0.15.dev343+git.1b1fd8a-py310_cu11.6_pyt1.12.1
  668.  
  669.  
  670. Proceed ([y]/n)?
  671.  
  672. Downloading and Extracting Packages
  673.                                                      
  674. Preparing transaction: ...working... done
  675. Verifying transaction: ...working... done
  676. Executing transaction: ...working... done
  677. Removing intermediate container d8d9cf7e3ffe
  678.  ---> 1bfd4b285637
  679. Step 24/82 : RUN https_proxy="" REQUESTS_CA_BUNDLE="" conda install pip
  680.  ---> Running in b6e8d82b728e
  681. Collecting package metadata (current_repodata.json): ...working... done
  682. Solving environment: ...working... done
  683.  
  684. ## Package Plan ##
  685.  
  686.   environment location: /opt/conda/envs/xformers
  687.  
  688.   added / updated specs:
  689.     - pip
  690.  
  691.  
  692. The following packages will be SUPERSEDED by a higher-priority channel:
  693.  
  694.   ca-certificates    conda-forge::ca-certificates-2022.12.~ --> pkgs/main::ca-certificates-2022.10.11-h06a4308_0
  695.   certifi            conda-forge/noarch::certifi-2022.12.7~ --> pkgs/main/linux-64::certifi-2022.9.24-py310h06a4308_0
  696.  
  697.  
  698. Proceed ([y]/n)?
  699.  
  700. Downloading and Extracting Packages
  701.  
  702. Preparing transaction: ...working... done
  703. Verifying transaction: ...working... done
  704. Executing transaction: ...working... done
  705. Removing intermediate container b6e8d82b728e
  706.  ---> 539d9816d62c
  707. Step 25/82 : ADD requirements.txt requirements.txt
  708.  ---> e090043b89b4
  709. Step 26/82 : RUN pip install -r requirements.txt
  710.  ---> Running in 0bf217b79013
  711. Collecting sanic==22.6.2
  712.   Downloading sanic-22.6.2-py3-none-any.whl (271 kB)
  713.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 271.9/271.9 kB 10.4 MB/s eta 0:00:00
  714. Collecting transformers==4.22.2
  715.   Downloading transformers-4.22.2-py3-none-any.whl (4.9 MB)
  716.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 86.0 MB/s eta 0:00:00
  717. Collecting scipy==1.9.3
  718.   Downloading scipy-1.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (33.7 MB)
  719.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 33.7/33.7 MB 46.3 MB/s eta 0:00:00
  720. Collecting requests_futures==1.0.0
  721.   Downloading requests_futures-1.0.0-py2.py3-none-any.whl (7.4 kB)
  722. Collecting numpy==1.23.4
  723.   Downloading numpy-1.23.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.1 MB)
  724.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 17.1/17.1 MB 89.1 MB/s eta 0:00:00
  725. Collecting scikit-image==0.19.3
  726.   Downloading scikit_image-0.19.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)
  727.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.9/13.9 MB 90.4 MB/s eta 0:00:00
  728. Collecting accelerate==0.13.2
  729.   Downloading accelerate-0.13.2-py3-none-any.whl (148 kB)
  730.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.8/148.8 kB 32.0 MB/s eta 0:00:00
  731. Collecting triton==2.0.0.dev20221105
  732.   Downloading triton-2.0.0.dev20221105-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.7 MB)
  733.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.7/18.7 MB 99.7 MB/s eta 0:00:00
  734. Collecting ftfy==6.1.1
  735.   Downloading ftfy-6.1.1-py3-none-any.whl (53 kB)
  736.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 kB 13.9 MB/s eta 0:00:00
  737. Collecting spacy==3.4.3
  738.   Downloading spacy-3.4.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.5 MB)
  739.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.5/6.5 MB 128.1 MB/s eta 0:00:00
  740. Collecting boto3==1.26.12
  741.   Downloading boto3-1.26.12-py3-none-any.whl (132 kB)
  742.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.5/132.5 kB 28.3 MB/s eta 0:00:00
  743. Collecting multidict<7.0,>=5.0
  744.   Downloading multidict-6.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
  745.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.5/114.5 kB 25.4 MB/s eta 0:00:00
  746. Collecting aiofiles>=0.6.0
  747.   Downloading aiofiles-22.1.0-py3-none-any.whl (14 kB)
  748. Collecting sanic-routing<22.6.0,>=22.3.0
  749.   Downloading sanic_routing-22.3.0-py3-none-any.whl (25 kB)
  750. Collecting ujson>=1.35
  751.   Downloading ujson-5.6.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (52 kB)
  752.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.6/52.6 kB 12.1 MB/s eta 0:00:00
  753. Collecting httptools>=0.0.10
  754.   Downloading httptools-0.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414 kB)
  755.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 414.1/414.1 kB 59.8 MB/s eta 0:00:00
  756. Collecting websockets>=10.0
  757.   Downloading websockets-10.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)
  758.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.8/106.8 kB 24.9 MB/s eta 0:00:00
  759. Collecting uvloop>=0.5.3
  760.   Downloading uvloop-0.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.1 MB)
  761.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.1/4.1 MB 123.2 MB/s eta 0:00:00
  762. Collecting tokenizers!=0.11.3,<0.13,>=0.11.1
  763.   Downloading tokenizers-0.12.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (6.6 MB)
  764.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.6/6.6 MB 133.2 MB/s eta 0:00:00
  765. Collecting packaging>=20.0
  766.   Downloading packaging-22.0-py3-none-any.whl (42 kB)
  767.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.6/42.6 kB 10.0 MB/s eta 0:00:00
  768. Collecting huggingface-hub<1.0,>=0.9.0
  769.   Downloading huggingface_hub-0.11.1-py3-none-any.whl (182 kB)
  770.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.4/182.4 kB 40.2 MB/s eta 0:00:00
  771. Collecting regex!=2019.12.17
  772.   Downloading regex-2022.10.31-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (770 kB)
  773.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.5/770.5 kB 71.3 MB/s eta 0:00:00
  774. Collecting tqdm>=4.27
  775.   Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB)
  776.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 18.5 MB/s eta 0:00:00
  777. Collecting pyyaml>=5.1
  778.   Downloading PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
  779.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 682.2/682.2 kB 73.5 MB/s eta 0:00:00
  780. Collecting filelock
  781.   Downloading filelock-3.8.2-py3-none-any.whl (10 kB)
  782. Collecting requests
  783.   Downloading requests-2.28.1-py3-none-any.whl (62 kB)
  784.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 16.7 MB/s eta 0:00:00
  785. Collecting networkx>=2.2
  786.   Downloading networkx-2.8.8-py3-none-any.whl (2.0 MB)
  787.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 107.8 MB/s eta 0:00:00
  788. Collecting PyWavelets>=1.1.1
  789.   Downloading PyWavelets-1.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB)
  790.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.8/6.8 MB 135.5 MB/s eta 0:00:00
  791. Collecting tifffile>=2019.7.26
  792.   Downloading tifffile-2022.10.10-py3-none-any.whl (210 kB)
  793.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 210.3/210.3 kB 43.3 MB/s eta 0:00:00
  794. Collecting pillow!=7.1.0,!=7.1.1,!=8.3.0,>=6.1.0
  795.   Downloading Pillow-9.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
  796.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 123.2 MB/s eta 0:00:00
  797. Collecting imageio>=2.4.1
  798.   Downloading imageio-2.22.4-py3-none-any.whl (3.4 MB)
  799.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 126.7 MB/s eta 0:00:00
  800. Requirement already satisfied: torch>=1.4.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from accelerate==0.13.2->-r requirements.txt (line 10)) (1.12.1)
  801. Collecting psutil
  802.   Downloading psutil-5.9.4-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (280 kB)
  803.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 280.2/280.2 kB 47.4 MB/s eta 0:00:00
  804. Collecting cmake
  805.   Downloading cmake-3.25.0-py2.py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.7 MB)
  806.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 23.7/23.7 MB 83.3 MB/s eta 0:00:00
  807. Collecting wcwidth>=0.2.5
  808.   Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
  809. Collecting pydantic!=1.8,!=1.8.1,<1.11.0,>=1.7.4
  810.   Downloading pydantic-1.10.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.8 MB)
  811.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.8/12.8 MB 92.6 MB/s eta 0:00:00
  812. Requirement already satisfied: setuptools in /opt/conda/envs/xformers/lib/python3.10/site-packages (from spacy==3.4.3->-r requirements.txt (line 13)) (65.5.0)
  813. Collecting catalogue<2.1.0,>=2.0.6
  814.   Downloading catalogue-2.0.8-py3-none-any.whl (17 kB)
  815. Collecting typer<0.8.0,>=0.3.0
  816.   Downloading typer-0.7.0-py3-none-any.whl (38 kB)
  817. Collecting murmurhash<1.1.0,>=0.28.0
  818.   Downloading murmurhash-1.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21 kB)
  819. Collecting langcodes<4.0.0,>=3.2.0
  820.   Downloading langcodes-3.3.0-py3-none-any.whl (181 kB)
  821.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 181.6/181.6 kB 39.6 MB/s eta 0:00:00
  822. Collecting wasabi<1.1.0,>=0.9.1
  823.   Downloading wasabi-0.10.1-py3-none-any.whl (26 kB)
  824. Collecting spacy-loggers<2.0.0,>=1.0.0
  825.   Downloading spacy_loggers-1.0.4-py3-none-any.whl (11 kB)
  826. Collecting srsly<3.0.0,>=2.4.3
  827.   Downloading srsly-2.4.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (491 kB)
  828.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 491.3/491.3 kB 61.3 MB/s eta 0:00:00
  829. Collecting jinja2
  830.   Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
  831.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 kB 32.0 MB/s eta 0:00:00
  832. Collecting spacy-legacy<3.1.0,>=3.0.10
  833.   Downloading spacy_legacy-3.0.10-py2.py3-none-any.whl (21 kB)
  834. Collecting preshed<3.1.0,>=3.0.2
  835.   Downloading preshed-3.0.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (124 kB)
  836.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.7/124.7 kB 28.3 MB/s eta 0:00:00
  837. Collecting thinc<8.2.0,>=8.1.0
  838.   Downloading thinc-8.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (806 kB)
  839.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 806.5/806.5 kB 78.7 MB/s eta 0:00:00
  840. Collecting cymem<2.1.0,>=2.0.2
  841.   Downloading cymem-2.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34 kB)
  842. Collecting pathy>=0.3.5
  843.   Downloading pathy-0.10.1-py3-none-any.whl (48 kB)
  844.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB 12.4 MB/s eta 0:00:00
  845. Collecting s3transfer<0.7.0,>=0.6.0
  846.   Downloading s3transfer-0.6.0-py3-none-any.whl (79 kB)
  847.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.6/79.6 kB 21.2 MB/s eta 0:00:00
  848. Collecting jmespath<2.0.0,>=0.7.1
  849.   Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
  850. Collecting botocore<1.30.0,>=1.29.12
  851.   Downloading botocore-1.29.26-py3-none-any.whl (10.2 MB)
  852.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 133.2 MB/s eta 0:00:00
  853. Collecting urllib3<1.27,>=1.25.4
  854.   Downloading urllib3-1.26.13-py2.py3-none-any.whl (140 kB)
  855.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.6/140.6 kB 29.5 MB/s eta 0:00:00
  856. Collecting python-dateutil<3.0.0,>=2.1
  857.   Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  858.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 41.8 MB/s eta 0:00:00
  859. Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from huggingface-hub<1.0,>=0.9.0->transformers==4.22.2->-r requirements.txt (line 5)) (4.4.0)
  860. Collecting smart-open<7.0.0,>=5.2.1
  861.   Downloading smart_open-6.2.0-py3-none-any.whl (58 kB)
  862.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 kB 13.9 MB/s eta 0:00:00
  863. Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->transformers==4.22.2->-r requirements.txt (line 5)) (2022.9.24)
  864. Collecting idna<4,>=2.5
  865.   Downloading idna-3.4-py3-none-any.whl (61 kB)
  866.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 12.9 MB/s eta 0:00:00
  867. Collecting charset-normalizer<3,>=2
  868.   Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
  869. Collecting blis<0.8.0,>=0.7.8
  870.   Downloading blis-0.7.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB)
  871.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 133.2 MB/s eta 0:00:00
  872. Collecting confection<1.0.0,>=0.0.1
  873.   Downloading confection-0.0.3-py3-none-any.whl (32 kB)
  874. Collecting click<9.0.0,>=7.1.1
  875.   Downloading click-8.1.3-py3-none-any.whl (96 kB)
  876.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 kB 24.1 MB/s eta 0:00:00
  877. Collecting MarkupSafe>=2.0
  878.   Downloading MarkupSafe-2.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
  879. Collecting six>=1.5
  880.   Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
  881. Installing collected packages: wcwidth, wasabi, tokenizers, sanic-routing, cymem, cmake, websockets, uvloop, urllib3, ujson, tqdm, spacy-loggers, spacy-legacy, smart-open, six, regex, pyyaml, pydantic, psutil, pillow, packaging, numpy, networkx, murmurhash, multidict, MarkupSafe, langcodes, jmespath, idna, httptools, ftfy, filelock, click, charset-normalizer, catalogue, aiofiles, typer, triton, tifffile, srsly, scipy, sanic, requests, PyWavelets, python-dateutil, preshed, jinja2, imageio, blis, accelerate, scikit-image, requests_futures, pathy, huggingface-hub, confection, botocore, transformers, thinc, s3transfer, spacy, boto3
  882. ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  883. xformers 0.0.15.dev343+git.1b1fd8a requires pyre-extensions==0.0.23, which is not installed.
  884. Successfully installed MarkupSafe-2.1.1 PyWavelets-1.4.1 accelerate-0.13.2 aiofiles-22.1.0 blis-0.7.9 boto3-1.26.12 botocore-1.29.26 catalogue-2.0.8 charset-normalizer-2.1.1 click-8.1.3 cmake-3.25.0 confection-0.0.3 cymem-2.0.7 filelock-3.8.2 ftfy-6.1.1 httptools-0.5.0 huggingface-hub-0.11.1 idna-3.4 imageio-2.22.4 jinja2-3.1.2 jmespath-1.0.1 langcodes-3.3.0 multidict-6.0.3 murmurhash-1.0.9 networkx-2.8.8 numpy-1.23.4 packaging-22.0 pathy-0.10.1 pillow-9.3.0 preshed-3.0.8 psutil-5.9.4 pydantic-1.10.2 python-dateutil-2.8.2 pyyaml-6.0 regex-2022.10.31 requests-2.28.1 requests_futures-1.0.0 s3transfer-0.6.0 sanic-22.6.2 sanic-routing-22.3.0 scikit-image-0.19.3 scipy-1.9.3 six-1.16.0 smart-open-6.2.0 spacy-3.4.3 spacy-legacy-3.0.10 spacy-loggers-1.0.4 srsly-2.4.5 thinc-8.1.5 tifffile-2022.10.10 tokenizers-0.12.1 tqdm-4.64.1 transformers-4.22.2 triton-2.0.0.dev20221105 typer-0.7.0 ujson-5.6.0 urllib3-1.26.13 uvloop-0.17.0 wasabi-0.10.1 wcwidth-0.2.5 websockets-10.4
  885. 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
  886. Removing intermediate container 0bf217b79013
  887. ---> 094a8fb901cc
  888. Step 27/82 : RUN git clone https://github.com/huggingface/diffusers
  889. ---> Running in e817bf289724
  890. Cloning into 'diffusers'...
  891. Removing intermediate container e817bf289724
  892. ---> 83506b115603
  893. Step 28/82 : WORKDIR /api/diffusers
  894. ---> Running in 65b4bf109585
  895. Removing intermediate container 65b4bf109585
  896. ---> 7605f14ad716
  897. Step 29/82 : RUN git checkout v0.9.0
  898. ---> Running in 83ebde5640e6
  899. Note: checking out 'v0.9.0'.
  900.  
  901. You are in 'detached HEAD' state. You can look around, make experimental
  902. changes and commit them, and you can discard any commits you make in this
  903. state without impacting any branches by performing another checkout.
  904.  
  905. If you want to create a new branch to retain commits you create, you may
  906. do so (now or later) by using -b with the checkout command again. Example:
  907.  
  908.  git checkout -b <new-branch-name>
  909.  
  910. HEAD is now at 6b02323 Release: v0.9.0
  911. Removing intermediate container 83ebde5640e6
  912. ---> 737737548179
  913. Step 30/82 : WORKDIR /api
  914. ---> Running in 3bbd234b9623
  915. Removing intermediate container 3bbd234b9623
  916. ---> 839cd776a52f
  917. Step 31/82 : RUN pip install -e diffusers
  918. ---> Running in e8b67341c23c
  919. Obtaining file:///api/diffusers
  920.  Installing build dependencies: started
  921.  Installing build dependencies: finished with status 'done'
  922.  Checking if build backend supports build_editable: started
  923.  Checking if build backend supports build_editable: finished with status 'done'
  924.  Getting requirements to build editable: started
  925.  Getting requirements to build editable: finished with status 'done'
  926.  Preparing editable metadata (pyproject.toml): started
  927.  Preparing editable metadata (pyproject.toml): finished with status 'done'
  928. Requirement already satisfied: huggingface-hub>=0.10.0 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (0.11.1)
  929. Requirement already satisfied: Pillow in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (9.3.0)
  930. Requirement already satisfied: requests in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (2.28.1)
  931. Requirement already satisfied: filelock in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (3.8.2)
  932. Collecting importlib-metadata
  933.  Downloading importlib_metadata-5.1.0-py3-none-any.whl (21 kB)
  934. Requirement already satisfied: regex!=2019.12.17 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (2022.10.31)
  935. Requirement already satisfied: numpy in /opt/conda/envs/xformers/lib/python3.10/site-packages (from diffusers==0.9.0) (1.23.4)
  936. Requirement already satisfied: packaging>=20.9 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from huggingface-hub>=0.10.0->diffusers==0.9.0) (22.0)
  937. Requirement already satisfied: tqdm in /opt/conda/envs/xformers/lib/python3.10/site-packages (from huggingface-hub>=0.10.0->diffusers==0.9.0) (4.64.1)
  938. Requirement already satisfied: pyyaml>=5.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from huggingface-hub>=0.10.0->diffusers==0.9.0) (6.0)
  939. Requirement already satisfied: typing-extensions>=3.7.4.3 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from huggingface-hub>=0.10.0->diffusers==0.9.0) (4.4.0)
  940. Collecting zipp>=0.5
  941.  Downloading zipp-3.11.0-py3-none-any.whl (6.6 kB)
  942. Requirement already satisfied: idna<4,>=2.5 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers==0.9.0) (3.4)
  943. Requirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers==0.9.0) (1.26.13)
  944. Requirement already satisfied: charset-normalizer<3,>=2 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers==0.9.0) (2.1.1)
  945. Requirement already satisfied: certifi>=2017.4.17 in /opt/conda/envs/xformers/lib/python3.10/site-packages (from requests->diffusers==0.9.0) (2022.9.24)
  946. Building wheels for collected packages: diffusers
  947.  Building editable for diffusers (pyproject.toml): started
  948.  Building editable for diffusers (pyproject.toml): finished with status 'done'
  949.  Created wheel for diffusers: filename=diffusers-0.9.0-0.editable-py3-none-any.whl size=14717 sha256=145a7e6e7e856fe2606c7bfeca8cf2da75606f7d63945c262cf9fe94f9147f2c
  950.  Stored in directory: /tmp/pip-ephem-wheel-cache-dae2r6h2/wheels/65/8b/17/27911ba05b8b9fc8910a9b5370985818a1ec4cb821d5984232
  951. Successfully built diffusers
  952. Installing collected packages: zipp, importlib-metadata, diffusers
  953. Successfully installed diffusers-0.9.0 importlib-metadata-5.1.0 zipp-3.11.0
  954. 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
  955. Removing intermediate container e8b67341c23c
  956. ---> 545f90ff2c95
  957. Step 32/82 : ADD server.py .
  958. ---> 3cfa3c3762b8
  959. Step 33/82 : EXPOSE 8000
  960. ---> Running in 81d84d754dfc
  961. Removing intermediate container 81d84d754dfc
  962. ---> f65535bdc534
  963. Step 34/82 : ARG HF_AUTH_TOKEN
  964. ---> Running in fdf01474c444
  965. Removing intermediate container fdf01474c444
  966. ---> 03431b4ec1cb
  967. Step 35/82 : ENV HF_AUTH_TOKEN=${HF_AUTH_TOKEN}
  968. ---> Running in 69056e681093
  969. Removing intermediate container 69056e681093
  970. ---> 6f5fd0e2f891
  971. Step 36/82 : ARG MODEL_ID="stabilityai/stable-diffusion-2"
  972. ---> Running in af692b145eae
  973. Removing intermediate container af692b145eae
  974. ---> aa1a8f290205
  975. Step 37/82 : ENV MODEL_ID=${MODEL_ID}
  976. ---> Running in b4a1c583dec8
  977. Removing intermediate container b4a1c583dec8
  978. ---> 90ef004c2884
  979. Step 38/82 : ARG PRECISION="fp16"
  980. ---> Running in 0649338915e3
  981. Removing intermediate container 0649338915e3
  982. ---> 64c34adc88ef
  983. Step 39/82 : ENV PRECISION=${PRECISION}
  984. ---> Running in 8604098fe3a1
  985. Removing intermediate container 8604098fe3a1
  986. ---> 85c6432da7d4
  987. Step 40/82 : ADD precision.py .
  988. ---> f710b5e1641a
  989. Step 41/82 : ARG PIPELINE="ALL"
  990. ---> Running in 2fb2ba6d07d2
  991. Removing intermediate container 2fb2ba6d07d2
  992. ---> c7813905f8f0
  993. Step 42/82 : ENV PIPELINE=${PIPELINE}
  994. ---> Running in 9c342e6d5c75
  995. Removing intermediate container 9c342e6d5c75
  996. ---> a4b31d1a5c49
  997. Step 43/82 : ARG USE_DREAMBOOTH=0
  998. ---> Running in 9cbc3aaf1bfe
  999. Removing intermediate container 9cbc3aaf1bfe
  1000. ---> ae7710e6e81c
  1001. Step 44/82 : ENV USE_DREAMBOOTH=${USE_DREAMBOOTH}
  1002. ---> Running in ad9cf4a774d5
  1003. Removing intermediate container ad9cf4a774d5
  1004. ---> ccc17f7f2cc4
  1005. Step 45/82 : ARG AWS_ACCESS_KEY_ID
  1006. ---> Running in 636f696272a9
  1007. Removing intermediate container 636f696272a9
  1008. ---> 567a1bfa2755
  1009. Step 46/82 : ARG AWS_SECRET_ACCESS_KEY
  1010. ---> Running in 39f08739e85a
  1011. Removing intermediate container 39f08739e85a
  1012. ---> ab041607777f
  1013. Step 47/82 : ARG AWS_DEFAULT_REGION
  1014. ---> Running in 0ad0b3bfb614
  1015. Removing intermediate container 0ad0b3bfb614
  1016. ---> 531a417bd3c2
  1017. Step 48/82 : ARG AWS_S3_ENDPOINT_URL
  1018. ---> Running in 98a6ee66f379
  1019. Removing intermediate container 98a6ee66f379
  1020. ---> 88a5e433d60f
  1021. Step 49/82 : ENV AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
  1022. ---> Running in 98c96e196526
  1023. Removing intermediate container 98c96e196526
  1024. ---> b194b53a0432
  1025. Step 50/82 : ENV AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
  1026. ---> Running in 9558e6b59d92
  1027. Removing intermediate container 9558e6b59d92
  1028. ---> 51e7d61369f1
  1029. Step 51/82 : ENV AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
  1030. ---> Running in a7901077e129
  1031. Removing intermediate container a7901077e129
  1032. ---> dc57a08beed9
  1033. Step 52/82 : ENV AWS_S3_ENDPOINT_URL=${AWS_S3_ENDPOINT_URL}
  1034. ---> Running in 27812be51fc0
  1035. Removing intermediate container 27812be51fc0
  1036. ---> 48e813afa910
  1037. Step 53/82 : COPY utils utils
  1038. ---> caeac1cd7f5e
  1039. Step 54/82 : ARG MODEL_URL=""
  1040. ---> Running in ca808acf0c0a
  1041. Removing intermediate container ca808acf0c0a
  1042. ---> 34bed2ac69a5
  1043. Step 55/82 : ENV MODEL_URL=${MODEL_URL}
  1044. ---> Running in d591fd16f5a1
  1045. Removing intermediate container d591fd16f5a1
  1046. ---> b02e7d85970d
  1047. Step 56/82 : ARG CHECKPOINT_URL=""
  1048. ---> Running in 0bbaac1410a9
  1049. Removing intermediate container 0bbaac1410a9
  1050. ---> 429a8fe9c5ba
  1051. Step 57/82 : ENV CHECKPOINT_URL=${CHECKPOINT_URL}
  1052. ---> Running in 279f41ec694a
  1053. Removing intermediate container 279f41ec694a
  1054. ---> d885d3e0389a
  1055. Step 58/82 : ARG CHECKPOINT_CONFIG_URL=""
  1056. ---> Running in aea6fa082b8c
  1057. Removing intermediate container aea6fa082b8c
  1058. ---> ca4ac8f1f108
  1059. Step 59/82 : ENV CHECKPOINT_CONFIG_URL=${CHECKPOINT_CONFIG_URL}
  1060. ---> Running in 26659664ee7f
  1061. Removing intermediate container 26659664ee7f
  1062. ---> 52e6ee145dcf
  1063. Step 60/82 : ADD download-checkpoint.py .
  1064. ---> 0be364e488cb
  1065. Step 61/82 : RUN python3 download-checkpoint.py
  1066. ---> Running in 666eff66cc27
  1067. Removing intermediate container 666eff66cc27
  1068. ---> f1f63d43ffd4
  1069. Step 62/82 : ARG _CONVERT_SPECIAL
  1070. ---> Running in e7f8a125f3c8
  1071. Removing intermediate container e7f8a125f3c8
  1072. ---> 8f96aeee764f
  1073. Step 63/82 : ENV _CONVERT_SPECIAL=${_CONVERT_SPECIAL}
  1074. ---> Running in 194c08e0e14b
  1075. Removing intermediate container 194c08e0e14b
  1076. ---> 0bd864c9c2e2
  1077. Step 64/82 : ADD convert-to-diffusers.py .
  1078. ---> ab7dc0ad8ea7
  1079. Step 65/82 : RUN python3 convert-to-diffusers.py
  1080. ---> Running in 0cd1b0101608
  1081. Removing intermediate container 0cd1b0101608
  1082. ---> 8be996e5a2a7
  1083. Step 66/82 : ADD getScheduler.py .
  1084. ---> d5313ed6dda1
  1085. Step 67/82 : ADD loadModel.py .
  1086. ---> 9cfdb9d5325b
  1087. Step 68/82 : ADD download.py .
  1088. ---> 5ec1acb713db
  1089. Step 69/82 : RUN python3 download.py
  1090. ---> Running in 315a0bc6227c
  1091. Downloading model: runwayml/stable-diffusion-v1-5
  1092. Initializing DPMSolverMultistepScheduler for runwayml/stable-diffusion-v1-5...
  1093. Downloading: 100%|██████████| 308/308 [00:00<00:00, 381kB/s]
  1094. Initialized DPMSolverMultistepScheduler for runwayml/stable-diffusion-v1-5 in 581ms
  1095. Downloading: 100%|██████████| 543/543 [00:00<00:00, 635kB/s]
  1096. Downloading: 100%|██████████| 342/342 [00:00<00:00, 395kB/s]
  1097. Downloading: 100%|██████████| 4.70k/4.70k [00:00<00:00, 5.12MB/s]
  1098. Downloading: 100%|██████████| 608M/608M [00:06<00:00, 87.2MB/s]s]
  1099. Downloading: 100%|██████████| 284/284 [00:00<00:00, 298kB/s]s/it]
  1100. Downloading: 100%|██████████| 636/636 [00:00<00:00, 658kB/s]s/it]
  1101. Downloading: 100%|██████████| 246M/246M [00:03<00:00, 80.3MB/s]t]
  1102. Downloading: 100%|██████████| 525k/525k [00:00<00:00, 1.73MB/s]t]
  1103. Downloading: 100%|██████████| 472/472 [00:00<00:00, 541kB/s]s/it]
  1104. Downloading: 100%|██████████| 822/822 [00:00<00:00, 1.07MB/s]/it]
  1105. Downloading: 100%|██████████| 1.06M/1.06M [00:00<00:00, 2.91MB/s]]
  1106. Downloading: 100%|██████████| 806/806 [00:00<00:00, 954kB/s]6s/it]
  1107. Downloading: 100%|██████████| 1.72G/1.72G [00:19<00:00, 89.0MB/s]]
  1108. Downloading: 100%|██████████| 609/609 [00:00<00:00, 748kB/s]4s/it]
  1109. Downloading: 100%|██████████| 167M/167M [00:01<00:00, 88.5MB/s]it]
  1110. Fetching 15 files: 100%|██████████| 15/15 [00:38<00:00,  2.58s/it]
  1111. /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
  1112.   warnings.warn(
  1113. Removing intermediate container 315a0bc6227c
  1114.  ---> 92639e7913a7
  1115. Step 70/82 : ARG USE_PATCHMATCH=0
  1116.  ---> Running in 7dba4f357d0a
  1117. Removing intermediate container 7dba4f357d0a
  1118.  ---> 3aace87e5c54
  1119. Step 71/82 : RUN if [ "$USE_PATCHMATCH" = "1" ] ; then apt-get install -yqq python3-opencv ; fi
  1120.  ---> Running in 85836bc5741c
  1121. Removing intermediate container 85836bc5741c
  1122.  ---> 3f3b49f24d17
  1123. Step 72/82 : COPY --from=patchmatch /tmp/PyPatchMatch PyPatchMatch
  1124.  ---> 0993dc1ae998
  1125. Step 73/82 : RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then     pip install -r diffusers/examples/dreambooth/requirements.txt bitsandbytes torch==1.12.1 ;   fi
  1126.  ---> Running in 669ad48f875a
  1127. Collecting bitsandbytes
  1128.   Downloading bitsandbytes-0.35.4-py3-none-any.whl (62.5 MB)
  1129.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.5/62.5 MB 22.1 MB/s eta 0:00:00
  1130. Requirement already satisfied: torch==1.12.1 in /opt/conda/envs/xformers/lib/python3.10/site-packages (1.12.1)
  1131. 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)
  1132. 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)
  1133. Collecting torchvision
  1134.   Downloading torchvision-0.14.0-cp310-cp310-manylinux1_x86_64.whl (24.3 MB)
  1135.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.3/24.3 MB 77.3 MB/s eta 0:00:00
  1136. 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)
  1137. 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)
  1138. Collecting tensorboard
  1139.   Downloading tensorboard-2.11.0-py3-none-any.whl (6.0 MB)
  1140.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.0/6.0 MB 107.6 MB/s eta 0:00:00
  1141. Collecting modelcards
  1142.   Downloading modelcards-0.1.6-py3-none-any.whl (12 kB)
  1143. Requirement already satisfied: typing_extensions in /opt/conda/envs/xformers/lib/python3.10/site-packages (from torch==1.12.1) (4.4.0)
  1144. 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)
  1145. 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)
  1146. 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)
  1147. 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)
  1148. 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)
  1149. 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)
  1150. 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)
  1151. 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)
  1152. 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)
  1153. 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)
  1154. Collecting torchvision
  1155.   Downloading torchvision-0.13.1-cp310-cp310-manylinux1_x86_64.whl (19.1 MB)
  1156.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.1/19.1 MB 96.0 MB/s eta 0:00:00
  1157. 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)
  1158. 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)
  1159. 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)
  1160. Collecting tensorboard-plugin-wit>=1.6.0
  1161.   Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB)
  1162.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.3/781.3 kB 76.3 MB/s eta 0:00:00
  1163. Collecting grpcio>=1.24.3
  1164.   Downloading grpcio-1.51.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB)
  1165.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 118.7 MB/s eta 0:00:00
  1166. 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)
  1167. Collecting protobuf<4,>=3.9.2
  1168.   Downloading protobuf-3.20.3-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
  1169.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 83.3 MB/s eta 0:00:00
  1170. 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)
  1171. Collecting markdown>=2.6.8
  1172.   Downloading Markdown-3.4.1-py3-none-any.whl (93 kB)
  1173.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.3/93.3 kB 22.8 MB/s eta 0:00:00
  1174. Collecting werkzeug>=1.0.1
  1175.   Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB)
  1176.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 232.7/232.7 kB 41.8 MB/s eta 0:00:00
  1177. Collecting google-auth-oauthlib<0.5,>=0.4.1
  1178.   Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB)
  1179. Collecting tensorboard-data-server<0.7.0,>=0.6.0
  1180.   Downloading tensorboard_data_server-0.6.1-py3-none-manylinux2010_x86_64.whl (4.9 MB)
  1181.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 115.0 MB/s eta 0:00:00
  1182. Collecting absl-py>=0.4
  1183.   Downloading absl_py-1.3.0-py3-none-any.whl (124 kB)
  1184.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.6/124.6 kB 29.2 MB/s eta 0:00:00
  1185. Collecting google-auth<3,>=1.6.3
  1186.   Downloading google_auth-2.15.0-py2.py3-none-any.whl (177 kB)
  1187.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 177.0/177.0 kB 35.7 MB/s eta 0:00:00
  1188. 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)
  1189. Collecting pyasn1-modules>=0.2.1
  1190.   Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
  1191.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.3/155.3 kB 34.2 MB/s eta 0:00:00
  1192. Collecting rsa<5,>=3.1.4
  1193.   Downloading rsa-4.9-py3-none-any.whl (34 kB)
  1194. Collecting cachetools<6.0,>=2.0.0
  1195.   Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
  1196. 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)
  1197. Collecting requests-oauthlib>=0.7.0
  1198.   Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
  1199. 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)
  1200. 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)
  1201. 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)
  1202. 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)
  1203. 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)
  1204. 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)
  1205. Collecting pyasn1<0.5.0,>=0.4.6
  1206.   Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
  1207.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 17.7 MB/s eta 0:00:00
  1208. Collecting oauthlib>=3.0.0
  1209.   Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
  1210.      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 34.0 MB/s eta 0:00:00
  1211. 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
  1212. 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
  1213. 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
  1214. Removing intermediate container 669ad48f875a
  1215.  ---> 7191498c841e
  1216. Step 74/82 : RUN if [ "$USE_DREAMBOOTH" = "1" ] ; then apt-get install git-lfs ; fi
  1217.  ---> Running in 60afd6c0ea77
  1218. Reading package lists...
  1219. Building dependency tree...
  1220. Reading state information...
  1221. The following NEW packages will be installed:
  1222.   git-lfs
  1223. 0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded.
  1224. Need to get 2129 kB of archives.
  1225. After this operation, 7662 kB of additional disk space will be used.
  1226. Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 git-lfs amd64 2.3.4-1 [2129 kB]
  1227. debconf: delaying package configuration, since apt-utils is not installed
  1228. Fetched 2129 kB in 1s (3138 kB/s)
  1229. Selecting previously unselected package git-lfs.
  1230. (Reading database ... 9375 files and directories currently installed.)
  1231. Preparing to unpack .../git-lfs_2.3.4-1_amd64.deb ...
  1232. Unpacking git-lfs (2.3.4-1) ...
  1233. Setting up git-lfs (2.3.4-1) ...
  1234. Removing intermediate container 60afd6c0ea77
  1235.  ---> f284ff6b0589
  1236. Step 75/82 : ADD train_dreambooth.py .
  1237.  ---> 9d44b79f46cc
  1238. Step 76/82 : ADD send.py .
  1239.  ---> 1a89ad353c88
  1240. Step 77/82 : ADD app.py .
  1241.  ---> a59c26aa6ee3
  1242. Step 78/82 : ARG SEND_URL
  1243.  ---> Running in bf1abd61cd6b
  1244. Removing intermediate container bf1abd61cd6b
  1245.  ---> 9a05c3a0ca97
  1246. Step 79/82 : ENV SEND_URL=${SEND_URL}
  1247.  ---> Running in d2fdaaa37665
  1248. Removing intermediate container d2fdaaa37665
  1249.  ---> 8b83f979fe0e
  1250. Step 80/82 : ARG SIGN_KEY
  1251.  ---> Running in b50c67c431a8
  1252. Removing intermediate container b50c67c431a8
  1253.  ---> 9662331fabaf
  1254. Step 81/82 : ENV SIGN_KEY=${SIGN_KEY}
  1255.  ---> Running in f8057123edb3
  1256. Removing intermediate container f8057123edb3
  1257.  ---> 3a34dcf3aa55
  1258. Step 82/82 : CMD python3 -u server.py
  1259.  ---> Running in b2e7f4ff714b
  1260. Removing intermediate container b2e7f4ff714b
  1261.  ---> 06bd0e42b2a3
  1262. [Warning] One or more build-args [AWS_S3_DEFAULT_BUCKET] were not consumed
  1263. Successfully built 06bd0e42b2a3
  1264. Successfully tagged banana-sd:latest
  1265.  
  1266.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement