From 3652aa3c08a713337907bcb516c596becc4ef2d6 Mon Sep 17 00:00:00 2001 From: Cat Yung <49334769+catyung@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:14:08 +0800 Subject: [PATCH 1/2] Created using Colaboratory --- magic_animate.ipynb | 939 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 939 insertions(+) create mode 100644 magic_animate.ipynb diff --git a/magic_animate.ipynb b/magic_animate.ipynb new file mode 100644 index 00000000..bf0b744e --- /dev/null +++ b/magic_animate.ipynb @@ -0,0 +1,939 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "machine_shape": "hm", + "gpuType": "A100", + "authorship_tag": "ABX9TyNpAY8W4349SJlfWe/X/2SR", + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + }, + "accelerator": "GPU" + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "markdown", + "source": [ + "# MagicAnimate: Temporally Consistent Human Image Animation using Diffusion Model\n", + "\n", + "Github :\n", + "https://github.com/magic-research/magic-animate\n", + "\n", + "Paper :\n", + "https://arxiv.org/abs/2311.16498\n", + "\n", + "Project :\n", + "https://showlab.github.io/magicanimate/\n", + "\n", + "If there is any problem on the colab code, please contact me at : cat@super-cat.tech" + ], + "metadata": { + "id": "_pXzVliyCDr9" + } + }, + { + "cell_type": "markdown", + "source": [ + "# Install\n", + "The following demo needs to use A100 GPU, high ram and please make sure your disk is having 100+GBs for models" + ], + "metadata": { + "id": "ZLQouWt67yJX" + } + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "AU17OQRp7kyt", + "outputId": "36445305-89e8-4758-da0f-9263ac5c49f0" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Cloning into 'magic-animate'...\n", + "remote: Enumerating objects: 124, done.\u001b[K\n", + "remote: Counting objects: 100% (51/51), done.\u001b[K\n", + "remote: Compressing objects: 100% (29/29), done.\u001b[K\n", + "remote: Total 124 (delta 37), reused 22 (delta 22), pack-reused 73\u001b[K\n", + "Receiving objects: 100% (124/124), 24.87 MiB | 4.83 MiB/s, done.\n", + "Resolving deltas: 100% (45/45), done.\n" + ] + } + ], + "source": [ + "!git clone https://github.com/magic-research/magic-animate" + ] + }, + { + "cell_type": "code", + "source": [ + "!pip install -r /content/magic-animate/requirements.txt" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/", + "height": 1000 + }, + "id": "ACk5uFdN7xky", + "outputId": "23c69a0f-3400-465b-c635-b69fe6dda74d" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Requirement already satisfied: absl-py==1.4.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 1)) (1.4.0)\n", + "Collecting accelerate==0.22.0 (from -r /content/magic-animate/requirements.txt (line 2))\n", + " Downloading accelerate-0.22.0-py3-none-any.whl (251 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m251.2/251.2 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting aiofiles==23.2.1 (from -r /content/magic-animate/requirements.txt (line 3))\n", + " Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n", + "Collecting aiohttp==3.8.5 (from -r /content/magic-animate/requirements.txt (line 4))\n", + " Downloading aiohttp-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.0/1.0 MB\u001b[0m \u001b[31m57.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: aiosignal==1.3.1 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 5)) (1.3.1)\n", + "Collecting altair==5.0.1 (from -r /content/magic-animate/requirements.txt (line 6))\n", + " Downloading altair-5.0.1-py3-none-any.whl (471 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m471.5/471.5 kB\u001b[0m \u001b[31m49.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting annotated-types==0.5.0 (from -r /content/magic-animate/requirements.txt (line 7))\n", + " Downloading annotated_types-0.5.0-py3-none-any.whl (11 kB)\n", + "Collecting antlr4-python3-runtime==4.9.3 (from -r /content/magic-animate/requirements.txt (line 8))\n", + " Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m117.0/117.0 kB\u001b[0m \u001b[31m18.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + "Requirement already satisfied: anyio==3.7.1 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 9)) (3.7.1)\n", + "Requirement already satisfied: async-timeout==4.0.3 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 10)) (4.0.3)\n", + "Requirement already satisfied: attrs==23.1.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 11)) (23.1.0)\n", + "Collecting cachetools==5.3.1 (from -r /content/magic-animate/requirements.txt (line 12))\n", + " Downloading cachetools-5.3.1-py3-none-any.whl (9.3 kB)\n", + "Collecting certifi==2023.7.22 (from -r /content/magic-animate/requirements.txt (line 13))\n", + " Downloading certifi-2023.7.22-py3-none-any.whl (158 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m158.3/158.3 kB\u001b[0m \u001b[31m23.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting charset-normalizer==3.2.0 (from -r /content/magic-animate/requirements.txt (line 14))\n", + " Downloading charset_normalizer-3.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (201 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m201.8/201.8 kB\u001b[0m \u001b[31m27.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: click==8.1.7 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 15)) (8.1.7)\n", + "Collecting cmake==3.27.2 (from -r /content/magic-animate/requirements.txt (line 16))\n", + " Downloading cmake-3.27.2-py2.py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (26.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m26.1/26.1 MB\u001b[0m \u001b[31m75.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting contourpy==1.1.0 (from -r /content/magic-animate/requirements.txt (line 17))\n", + " Downloading contourpy-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (300 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m300.7/300.7 kB\u001b[0m \u001b[31m35.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting cycler==0.11.0 (from -r /content/magic-animate/requirements.txt (line 18))\n", + " Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)\n", + "Collecting datasets==2.14.4 (from -r /content/magic-animate/requirements.txt (line 19))\n", + " Downloading datasets-2.14.4-py3-none-any.whl (519 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m519.3/519.3 kB\u001b[0m \u001b[31m54.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting dill==0.3.7 (from -r /content/magic-animate/requirements.txt (line 20))\n", + " Downloading dill-0.3.7-py3-none-any.whl (115 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m115.3/115.3 kB\u001b[0m \u001b[31m17.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting einops==0.6.1 (from -r /content/magic-animate/requirements.txt (line 21))\n", + " Downloading einops-0.6.1-py3-none-any.whl (42 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m42.2/42.2 kB\u001b[0m \u001b[31m6.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting exceptiongroup==1.1.3 (from -r /content/magic-animate/requirements.txt (line 22))\n", + " Downloading exceptiongroup-1.1.3-py3-none-any.whl (14 kB)\n", + "Collecting fastapi==0.103.0 (from -r /content/magic-animate/requirements.txt (line 23))\n", + " Downloading fastapi-0.103.0-py3-none-any.whl (66 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m66.2/66.2 kB\u001b[0m \u001b[31m9.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting ffmpy==0.3.1 (from -r /content/magic-animate/requirements.txt (line 24))\n", + " Downloading ffmpy-0.3.1.tar.gz (5.5 kB)\n", + " Preparing metadata (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + "Collecting filelock==3.12.2 (from -r /content/magic-animate/requirements.txt (line 25))\n", + " Downloading filelock-3.12.2-py3-none-any.whl (10 kB)\n", + "Collecting fonttools==4.42.1 (from -r /content/magic-animate/requirements.txt (line 26))\n", + " Downloading fonttools-4.42.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m4.5/4.5 MB\u001b[0m \u001b[31m107.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: frozenlist==1.4.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 27)) (1.4.0)\n", + "Requirement already satisfied: fsspec==2023.6.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 28)) (2023.6.0)\n", + "Collecting google-auth==2.22.0 (from -r /content/magic-animate/requirements.txt (line 29))\n", + " Downloading google_auth-2.22.0-py2.py3-none-any.whl (181 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m181.8/181.8 kB\u001b[0m \u001b[31m25.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: google-auth-oauthlib==1.0.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 30)) (1.0.0)\n", + "Collecting gradio==3.41.2 (from -r /content/magic-animate/requirements.txt (line 31))\n", + " Downloading gradio-3.41.2-py3-none-any.whl (20.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m20.1/20.1 MB\u001b[0m \u001b[31m81.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting gradio-client==0.5.0 (from -r /content/magic-animate/requirements.txt (line 32))\n", + " Downloading gradio_client-0.5.0-py3-none-any.whl (298 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m298.2/298.2 kB\u001b[0m \u001b[31m33.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting grpcio==1.57.0 (from -r /content/magic-animate/requirements.txt (line 33))\n", + " Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.3/5.3 MB\u001b[0m \u001b[31m86.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting h11==0.14.0 (from -r /content/magic-animate/requirements.txt (line 34))\n", + " Downloading h11-0.14.0-py3-none-any.whl (58 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m58.3/58.3 kB\u001b[0m \u001b[31m9.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting httpcore==0.17.3 (from -r /content/magic-animate/requirements.txt (line 35))\n", + " Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m74.5/74.5 kB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting httpx==0.24.1 (from -r /content/magic-animate/requirements.txt (line 36))\n", + " Downloading httpx-0.24.1-py3-none-any.whl (75 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m75.4/75.4 kB\u001b[0m \u001b[31m10.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting huggingface-hub==0.16.4 (from -r /content/magic-animate/requirements.txt (line 37))\n", + " Downloading huggingface_hub-0.16.4-py3-none-any.whl (268 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m268.8/268.8 kB\u001b[0m \u001b[31m33.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting idna==3.4 (from -r /content/magic-animate/requirements.txt (line 38))\n", + " Downloading idna-3.4-py3-none-any.whl (61 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.5/61.5 kB\u001b[0m \u001b[31m9.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: importlib-metadata==6.8.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 39)) (6.8.0)\n", + "Collecting importlib-resources==6.0.1 (from -r /content/magic-animate/requirements.txt (line 40))\n", + " Downloading importlib_resources-6.0.1-py3-none-any.whl (34 kB)\n", + "Requirement already satisfied: jinja2==3.1.2 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 41)) (3.1.2)\n", + "Requirement already satisfied: joblib==1.3.2 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 42)) (1.3.2)\n", + "Collecting jsonschema==4.19.0 (from -r /content/magic-animate/requirements.txt (line 43))\n", + " Downloading jsonschema-4.19.0-py3-none-any.whl (83 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m83.4/83.4 kB\u001b[0m \u001b[31m11.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting jsonschema-specifications==2023.7.1 (from -r /content/magic-animate/requirements.txt (line 44))\n", + " Downloading jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)\n", + "Requirement already satisfied: kiwisolver==1.4.5 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 45)) (1.4.5)\n", + "Collecting lightning-utilities==0.9.0 (from -r /content/magic-animate/requirements.txt (line 46))\n", + " Downloading lightning_utilities-0.9.0-py3-none-any.whl (23 kB)\n", + "Collecting lit==16.0.6 (from -r /content/magic-animate/requirements.txt (line 47))\n", + " Downloading lit-16.0.6.tar.gz (153 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m153.7/153.7 kB\u001b[0m \u001b[31m18.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25h Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n", + " Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n", + " Installing backend dependencies ... \u001b[?25l\u001b[?25hdone\n", + " Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", + "Collecting markdown==3.4.4 (from -r /content/magic-animate/requirements.txt (line 48))\n", + " Downloading Markdown-3.4.4-py3-none-any.whl (94 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m94.2/94.2 kB\u001b[0m \u001b[31m12.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: markupsafe==2.1.3 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 49)) (2.1.3)\n", + "Collecting matplotlib==3.7.2 (from -r /content/magic-animate/requirements.txt (line 50))\n", + " Downloading matplotlib-3.7.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m11.6/11.6 MB\u001b[0m \u001b[31m62.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: mpmath==1.3.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 51)) (1.3.0)\n", + "Requirement already satisfied: multidict==6.0.4 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 52)) (6.0.4)\n", + "Collecting multiprocess==0.70.15 (from -r /content/magic-animate/requirements.txt (line 53))\n", + " Downloading multiprocess-0.70.15-py310-none-any.whl (134 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m134.8/134.8 kB\u001b[0m \u001b[31m19.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting networkx==3.1 (from -r /content/magic-animate/requirements.txt (line 54))\n", + " Downloading networkx-3.1-py3-none-any.whl (2.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m99.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting numpy==1.24.4 (from -r /content/magic-animate/requirements.txt (line 55))\n", + " Downloading numpy-1.24.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m106.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cublas-cu11==11.10.3.66 (from -r /content/magic-animate/requirements.txt (line 56))\n", + " Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m317.1/317.1 MB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cuda-cupti-cu11==11.7.101 (from -r /content/magic-animate/requirements.txt (line 57))\n", + " Downloading nvidia_cuda_cupti_cu11-11.7.101-py3-none-manylinux1_x86_64.whl (11.8 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m11.8/11.8 MB\u001b[0m \u001b[31m91.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cuda-nvrtc-cu11==11.7.99 (from -r /content/magic-animate/requirements.txt (line 58))\n", + " Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.0/21.0 MB\u001b[0m \u001b[31m98.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cuda-runtime-cu11==11.7.99 (from -r /content/magic-animate/requirements.txt (line 59))\n", + " Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m849.3/849.3 kB\u001b[0m \u001b[31m36.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cudnn-cu11==8.5.0.96 (from -r /content/magic-animate/requirements.txt (line 60))\n", + " Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m557.1/557.1 MB\u001b[0m \u001b[31m1.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cufft-cu11==10.9.0.58 (from -r /content/magic-animate/requirements.txt (line 61))\n", + " Downloading nvidia_cufft_cu11-10.9.0.58-py3-none-manylinux1_x86_64.whl (168.4 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m168.4/168.4 MB\u001b[0m \u001b[31m10.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-curand-cu11==10.2.10.91 (from -r /content/magic-animate/requirements.txt (line 62))\n", + " Downloading nvidia_curand_cu11-10.2.10.91-py3-none-manylinux1_x86_64.whl (54.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.6/54.6 MB\u001b[0m \u001b[31m32.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cusolver-cu11==11.4.0.1 (from -r /content/magic-animate/requirements.txt (line 63))\n", + " Downloading nvidia_cusolver_cu11-11.4.0.1-2-py3-none-manylinux1_x86_64.whl (102.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m102.6/102.6 MB\u001b[0m \u001b[31m17.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-cusparse-cu11==11.7.4.91 (from -r /content/magic-animate/requirements.txt (line 64))\n", + " Downloading nvidia_cusparse_cu11-11.7.4.91-py3-none-manylinux1_x86_64.whl (173.2 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m173.2/173.2 MB\u001b[0m \u001b[31m10.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-nccl-cu11==2.14.3 (from -r /content/magic-animate/requirements.txt (line 65))\n", + " Downloading nvidia_nccl_cu11-2.14.3-py3-none-manylinux1_x86_64.whl (177.1 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m177.1/177.1 MB\u001b[0m \u001b[31m10.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting nvidia-nvtx-cu11==11.7.91 (from -r /content/magic-animate/requirements.txt (line 66))\n", + " Downloading nvidia_nvtx_cu11-11.7.91-py3-none-manylinux1_x86_64.whl (98 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m98.6/98.6 kB\u001b[0m \u001b[31m13.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: oauthlib==3.2.2 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 67)) (3.2.2)\n", + "Collecting omegaconf==2.3.0 (from -r /content/magic-animate/requirements.txt (line 68))\n", + " Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m79.5/79.5 kB\u001b[0m \u001b[31m11.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: opencv-python==4.8.0.76 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 69)) (4.8.0.76)\n", + "Collecting orjson==3.9.5 (from -r /content/magic-animate/requirements.txt (line 70))\n", + " Downloading orjson-3.9.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (139 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m139.9/139.9 kB\u001b[0m \u001b[31m20.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pandas==2.0.3 (from -r /content/magic-animate/requirements.txt (line 71))\n", + " Downloading pandas-2.0.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.3/12.3 MB\u001b[0m \u001b[31m105.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pillow==9.5.0 (from -r /content/magic-animate/requirements.txt (line 72))\n", + " Downloading Pillow-9.5.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.4/3.4 MB\u001b[0m \u001b[31m110.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pkgutil-resolve-name==1.3.10 (from -r /content/magic-animate/requirements.txt (line 73))\n", + " Downloading pkgutil_resolve_name-1.3.10-py3-none-any.whl (4.7 kB)\n", + "Collecting protobuf==4.24.2 (from -r /content/magic-animate/requirements.txt (line 74))\n", + " Downloading protobuf-4.24.2-cp37-abi3-manylinux2014_x86_64.whl (311 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m311.4/311.4 kB\u001b[0m \u001b[31m38.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: psutil==5.9.5 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 75)) (5.9.5)\n", + "Collecting pyarrow==13.0.0 (from -r /content/magic-animate/requirements.txt (line 76))\n", + " Downloading pyarrow-13.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (40.0 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m40.0/40.0 MB\u001b[0m \u001b[31m22.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pyasn1==0.5.0 (from -r /content/magic-animate/requirements.txt (line 77))\n", + " Downloading pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m83.9/83.9 kB\u001b[0m \u001b[31m12.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: pyasn1-modules==0.3.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 78)) (0.3.0)\n", + "Collecting pydantic==2.3.0 (from -r /content/magic-animate/requirements.txt (line 79))\n", + " Downloading pydantic-2.3.0-py3-none-any.whl (374 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m374.5/374.5 kB\u001b[0m \u001b[31m43.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pydantic-core==2.6.3 (from -r /content/magic-animate/requirements.txt (line 80))\n", + " Downloading pydantic_core-2.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.9 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.9/1.9 MB\u001b[0m \u001b[31m99.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pydub==0.25.1 (from -r /content/magic-animate/requirements.txt (line 81))\n", + " Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n", + "Collecting pyparsing==3.0.9 (from -r /content/magic-animate/requirements.txt (line 82))\n", + " Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m98.3/98.3 kB\u001b[0m \u001b[31m15.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting python-multipart==0.0.6 (from -r /content/magic-animate/requirements.txt (line 83))\n", + " Downloading python_multipart-0.0.6-py3-none-any.whl (45 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m45.7/45.7 kB\u001b[0m \u001b[31m6.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pytorch-lightning==2.0.7 (from -r /content/magic-animate/requirements.txt (line 84))\n", + " Downloading pytorch_lightning-2.0.7-py3-none-any.whl (724 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m725.0/725.0 kB\u001b[0m \u001b[31m67.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting pytz==2023.3 (from -r /content/magic-animate/requirements.txt (line 85))\n", + " Downloading pytz-2023.3-py2.py3-none-any.whl (502 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m502.3/502.3 kB\u001b[0m \u001b[31m51.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: pyyaml==6.0.1 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 86)) (6.0.1)\n", + "Collecting referencing==0.30.2 (from -r /content/magic-animate/requirements.txt (line 87))\n", + " Downloading referencing-0.30.2-py3-none-any.whl (25 kB)\n", + "Collecting regex==2023.8.8 (from -r /content/magic-animate/requirements.txt (line 88))\n", + " Downloading regex-2023.8.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m771.9/771.9 kB\u001b[0m \u001b[31m70.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: requests==2.31.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 89)) (2.31.0)\n", + "Requirement already satisfied: requests-oauthlib==1.3.1 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 90)) (1.3.1)\n", + "Collecting rpds-py==0.9.2 (from -r /content/magic-animate/requirements.txt (line 91))\n", + " Downloading rpds_py-0.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.2/1.2 MB\u001b[0m \u001b[31m80.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: rsa==4.9 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 92)) (4.9)\n", + "Collecting safetensors==0.3.3 (from -r /content/magic-animate/requirements.txt (line 93))\n", + " Downloading safetensors-0.3.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m85.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting semantic-version==2.10.0 (from -r /content/magic-animate/requirements.txt (line 94))\n", + " Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n", + "Requirement already satisfied: sniffio==1.3.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 95)) (1.3.0)\n", + "Collecting starlette==0.27.0 (from -r /content/magic-animate/requirements.txt (line 96))\n", + " Downloading starlette-0.27.0-py3-none-any.whl (66 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m67.0/67.0 kB\u001b[0m \u001b[31m8.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: sympy==1.12 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 97)) (1.12)\n", + "Collecting tensorboard==2.14.0 (from -r /content/magic-animate/requirements.txt (line 98))\n", + " Downloading tensorboard-2.14.0-py3-none-any.whl (5.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m5.5/5.5 MB\u001b[0m \u001b[31m127.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting tensorboard-data-server==0.7.1 (from -r /content/magic-animate/requirements.txt (line 99))\n", + " Downloading tensorboard_data_server-0.7.1-py3-none-manylinux2014_x86_64.whl (6.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.6/6.6 MB\u001b[0m \u001b[31m135.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting tokenizers==0.13.3 (from -r /content/magic-animate/requirements.txt (line 100))\n", + " Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.8/7.8 MB\u001b[0m \u001b[31m111.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: toolz==0.12.0 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 101)) (0.12.0)\n", + "Collecting torchmetrics==1.1.0 (from -r /content/magic-animate/requirements.txt (line 102))\n", + " Downloading torchmetrics-1.1.0-py3-none-any.whl (761 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m761.3/761.3 kB\u001b[0m \u001b[31m68.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: tqdm==4.66.1 in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 103)) (4.66.1)\n", + "Collecting transformers==4.32.0 (from -r /content/magic-animate/requirements.txt (line 104))\n", + " Downloading transformers-4.32.0-py3-none-any.whl (7.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m7.5/7.5 MB\u001b[0m \u001b[31m97.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting triton==2.0.0 (from -r /content/magic-animate/requirements.txt (line 105))\n", + " Downloading triton-2.0.0-1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (63.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m63.3/63.3 MB\u001b[0m \u001b[31m28.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting tzdata==2023.3 (from -r /content/magic-animate/requirements.txt (line 106))\n", + " Downloading tzdata-2023.3-py2.py3-none-any.whl (341 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m341.8/341.8 kB\u001b[0m \u001b[31m39.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting urllib3==1.26.16 (from -r /content/magic-animate/requirements.txt (line 107))\n", + " Downloading urllib3-1.26.16-py2.py3-none-any.whl (143 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m143.1/143.1 kB\u001b[0m \u001b[31m18.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting uvicorn==0.23.2 (from -r /content/magic-animate/requirements.txt (line 108))\n", + " Downloading uvicorn-0.23.2-py3-none-any.whl (59 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m59.5/59.5 kB\u001b[0m \u001b[31m9.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting websockets==11.0.3 (from -r /content/magic-animate/requirements.txt (line 109))\n", + " Downloading websockets-11.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (129 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m129.9/129.9 kB\u001b[0m \u001b[31m17.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting werkzeug==2.3.7 (from -r /content/magic-animate/requirements.txt (line 110))\n", + " Downloading werkzeug-2.3.7-py3-none-any.whl (242 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m242.2/242.2 kB\u001b[0m \u001b[31m30.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting xxhash==3.3.0 (from -r /content/magic-animate/requirements.txt (line 111))\n", + " Downloading xxhash-3.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (194 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m194.1/194.1 kB\u001b[0m \u001b[31m25.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting yarl==1.9.2 (from -r /content/magic-animate/requirements.txt (line 112))\n", + " Downloading yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (268 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m268.8/268.8 kB\u001b[0m \u001b[31m33.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting zipp==3.16.2 (from -r /content/magic-animate/requirements.txt (line 113))\n", + " Downloading zipp-3.16.2-py3-none-any.whl (7.2 kB)\n", + "Collecting decord (from -r /content/magic-animate/requirements.txt (line 114))\n", + " Downloading decord-0.6.0-py3-none-manylinux2010_x86_64.whl (13.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.6/13.6 MB\u001b[0m \u001b[31m122.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting imageio==2.9.0 (from -r /content/magic-animate/requirements.txt (line 115))\n", + " Downloading imageio-2.9.0-py3-none-any.whl (3.3 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.3/3.3 MB\u001b[0m \u001b[31m115.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting imageio-ffmpeg==0.4.3 (from -r /content/magic-animate/requirements.txt (line 116))\n", + " Downloading imageio_ffmpeg-0.4.3-py3-none-manylinux2010_x86_64.whl (26.9 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m26.9/26.9 MB\u001b[0m \u001b[31m47.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting timm (from -r /content/magic-animate/requirements.txt (line 117))\n", + " Downloading timm-0.9.12-py3-none-any.whl (2.2 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.2/2.2 MB\u001b[0m \u001b[31m109.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 118)) (1.11.4)\n", + "Requirement already satisfied: scikit-image in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 119)) (0.19.3)\n", + "Collecting av (from -r /content/magic-animate/requirements.txt (line 120))\n", + " Downloading av-11.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (32.9 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m32.9/32.9 MB\u001b[0m \u001b[31m61.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: imgaug in /usr/local/lib/python3.10/dist-packages (from -r /content/magic-animate/requirements.txt (line 121)) (0.4.0)\n", + "Collecting lpips (from -r /content/magic-animate/requirements.txt (line 122))\n", + " Downloading lpips-0.1.4-py3-none-any.whl (53 kB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m53.8/53.8 kB\u001b[0m \u001b[31m8.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting ffmpeg-python (from -r /content/magic-animate/requirements.txt (line 123))\n", + " Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)\n", + "Collecting torch==2.0.1 (from -r /content/magic-animate/requirements.txt (line 124))\n", + " Downloading torch-2.0.1-cp310-cp310-manylinux1_x86_64.whl (619.9 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m619.9/619.9 MB\u001b[0m \u001b[31m1.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting torchvision==0.15.2 (from -r /content/magic-animate/requirements.txt (line 125))\n", + " Downloading torchvision-0.15.2-cp310-cp310-manylinux1_x86_64.whl (6.0 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.0/6.0 MB\u001b[0m \u001b[31m122.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting xformers==0.0.22 (from -r /content/magic-animate/requirements.txt (line 126))\n", + " Downloading xformers-0.0.22-cp310-cp310-manylinux2014_x86_64.whl (211.6 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m211.6/211.6 MB\u001b[0m \u001b[31m8.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hCollecting diffusers==0.21.4 (from -r /content/magic-animate/requirements.txt (line 127))\n", + " Downloading diffusers-0.21.4-py3-none-any.whl (1.5 MB)\n", + "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.5/1.5 MB\u001b[0m \u001b[31m94.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", + "\u001b[?25hRequirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from accelerate==0.22.0->-r /content/magic-animate/requirements.txt (line 2)) (23.2)\n", + "Requirement already satisfied: typing-extensions>=4.0.1 in /usr/local/lib/python3.10/dist-packages (from altair==5.0.1->-r /content/magic-animate/requirements.txt (line 6)) (4.5.0)\n", + "Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.10/dist-packages (from google-auth==2.22.0->-r /content/magic-animate/requirements.txt (line 29)) (1.16.0)\n", + "Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib==3.7.2->-r /content/magic-animate/requirements.txt (line 50)) (2.8.2)\n", + "Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->-r /content/magic-animate/requirements.txt (line 56)) (67.7.2)\n", + "Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->-r /content/magic-animate/requirements.txt (line 56)) (0.42.0)\n", + "Collecting typing-extensions>=4.0.1 (from altair==5.0.1->-r /content/magic-animate/requirements.txt (line 6))\n", + " Downloading typing_extensions-4.9.0-py3-none-any.whl (32 kB)\n", + "Requirement already satisfied: tifffile>=2019.7.26 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r /content/magic-animate/requirements.txt (line 119)) (2023.9.26)\n", + "Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from scikit-image->-r /content/magic-animate/requirements.txt (line 119)) (1.5.0)\n", + "Requirement already satisfied: Shapely in /usr/local/lib/python3.10/dist-packages (from imgaug->-r /content/magic-animate/requirements.txt (line 121)) (2.0.2)\n", + "Requirement already satisfied: future in /usr/local/lib/python3.10/dist-packages (from ffmpeg-python->-r /content/magic-animate/requirements.txt (line 123)) (0.18.3)\n", + "Building wheels for collected packages: antlr4-python3-runtime, ffmpy, lit\n", + " Building wheel for antlr4-python3-runtime (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + " Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144554 sha256=fd1bef34048853e3cecfb996912f99ed387a7b8d554dfc14a1fbc4384cfa2a9c\n", + " Stored in directory: /root/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88\n", + " Building wheel for ffmpy (setup.py) ... \u001b[?25l\u001b[?25hdone\n", + " Created wheel for ffmpy: filename=ffmpy-0.3.1-py3-none-any.whl size=5579 sha256=20cab62ea52e251d5c56f86b31a47f8eb6e5a7257b933d4c45250af7e6f7e15d\n", + " Stored in directory: /root/.cache/pip/wheels/01/a6/d1/1c0828c304a4283b2c1639a09ad86f83d7c487ef34c6b4a1bf\n", + " Building wheel for lit (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n", + " Created wheel for lit: filename=lit-16.0.6-py3-none-any.whl size=93584 sha256=2c18f41a799923183be334734c8771d1989d6e18176a05de93345a8ebbbe59dc\n", + " Stored in directory: /root/.cache/pip/wheels/14/f9/07/bb2308587bc2f57158f905a2325f6a89a2befa7437b2d7e137\n", + "Successfully built antlr4-python3-runtime ffmpy lit\n", + "Installing collected packages: tokenizers, safetensors, pytz, pydub, lit, ffmpy, cmake, antlr4-python3-runtime, zipp, xxhash, werkzeug, websockets, urllib3, tzdata, typing-extensions, tensorboard-data-server, semantic-version, rpds-py, regex, python-multipart, pyparsing, pyasn1, protobuf, pkgutil-resolve-name, pillow, orjson, omegaconf, nvidia-nvtx-cu11, nvidia-nccl-cu11, nvidia-cusparse-cu11, nvidia-curand-cu11, nvidia-cufft-cu11, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cuda-cupti-cu11, nvidia-cublas-cu11, numpy, networkx, markdown, importlib-resources, imageio-ffmpeg, idna, h11, grpcio, fonttools, filelock, ffmpeg-python, exceptiongroup, einops, dill, cycler, charset-normalizer, certifi, cachetools, av, annotated-types, aiofiles, yarl, uvicorn, referencing, pydantic-core, pyarrow, pandas, nvidia-cusolver-cu11, nvidia-cudnn-cu11, multiprocess, lightning-utilities, imageio, decord, contourpy, starlette, pydantic, matplotlib, jsonschema-specifications, huggingface-hub, httpcore, google-auth, aiohttp, transformers, jsonschema, httpx, fastapi, diffusers, tensorboard, gradio-client, datasets, altair, gradio, triton, torch, torchvision, torchmetrics, xformers, timm, pytorch-lightning, lpips, accelerate\n", + " Attempting uninstall: tokenizers\n", + " Found existing installation: tokenizers 0.15.0\n", + " Uninstalling tokenizers-0.15.0:\n", + " Successfully uninstalled tokenizers-0.15.0\n", + " Attempting uninstall: safetensors\n", + " Found existing installation: safetensors 0.4.1\n", + " Uninstalling safetensors-0.4.1:\n", + " Successfully uninstalled safetensors-0.4.1\n", + " Attempting uninstall: pytz\n", + " Found existing installation: pytz 2023.3.post1\n", + " Uninstalling pytz-2023.3.post1:\n", + " Successfully uninstalled pytz-2023.3.post1\n", + " Attempting uninstall: cmake\n", + " Found existing installation: cmake 3.27.7\n", + " Uninstalling cmake-3.27.7:\n", + " Successfully uninstalled cmake-3.27.7\n", + " Attempting uninstall: zipp\n", + " Found existing installation: zipp 3.17.0\n", + " Uninstalling zipp-3.17.0:\n", + " Successfully uninstalled zipp-3.17.0\n", + " Attempting uninstall: xxhash\n", + " Found existing installation: xxhash 3.4.1\n", + " Uninstalling xxhash-3.4.1:\n", + " Successfully uninstalled xxhash-3.4.1\n", + " Attempting uninstall: werkzeug\n", + " Found existing installation: Werkzeug 3.0.1\n", + " Uninstalling Werkzeug-3.0.1:\n", + " Successfully uninstalled Werkzeug-3.0.1\n", + " Attempting uninstall: urllib3\n", + " Found existing installation: urllib3 2.0.7\n", + " Uninstalling urllib3-2.0.7:\n", + " Successfully uninstalled urllib3-2.0.7\n", + " Attempting uninstall: typing-extensions\n", + " Found existing installation: typing_extensions 4.5.0\n", + " Uninstalling typing_extensions-4.5.0:\n", + " Successfully uninstalled typing_extensions-4.5.0\n", + " Attempting uninstall: tensorboard-data-server\n", + " Found existing installation: tensorboard-data-server 0.7.2\n", + " Uninstalling tensorboard-data-server-0.7.2:\n", + " Successfully uninstalled tensorboard-data-server-0.7.2\n", + " Attempting uninstall: rpds-py\n", + " Found existing installation: rpds-py 0.13.2\n", + " Uninstalling rpds-py-0.13.2:\n", + " Successfully uninstalled rpds-py-0.13.2\n", + " Attempting uninstall: regex\n", + " Found existing installation: regex 2023.6.3\n", + " Uninstalling regex-2023.6.3:\n", + " Successfully uninstalled regex-2023.6.3\n", + " Attempting uninstall: pyparsing\n", + " Found existing installation: pyparsing 3.1.1\n", + " Uninstalling pyparsing-3.1.1:\n", + " Successfully uninstalled pyparsing-3.1.1\n", + " Attempting uninstall: pyasn1\n", + " Found existing installation: pyasn1 0.5.1\n", + " Uninstalling pyasn1-0.5.1:\n", + " Successfully uninstalled pyasn1-0.5.1\n", + " Attempting uninstall: protobuf\n", + " Found existing installation: protobuf 3.20.3\n", + " Uninstalling protobuf-3.20.3:\n", + " Successfully uninstalled protobuf-3.20.3\n", + " Attempting uninstall: pillow\n", + " Found existing installation: Pillow 9.4.0\n", + " Uninstalling Pillow-9.4.0:\n", + " Successfully uninstalled Pillow-9.4.0\n", + " Attempting uninstall: numpy\n", + " Found existing installation: numpy 1.23.5\n", + " Uninstalling numpy-1.23.5:\n", + " Successfully uninstalled numpy-1.23.5\n", + " Attempting uninstall: networkx\n", + " Found existing installation: networkx 3.2.1\n", + " Uninstalling networkx-3.2.1:\n", + " Successfully uninstalled networkx-3.2.1\n", + " Attempting uninstall: markdown\n", + " Found existing installation: Markdown 3.5.1\n", + " Uninstalling Markdown-3.5.1:\n", + " Successfully uninstalled Markdown-3.5.1\n", + " Attempting uninstall: importlib-resources\n", + " Found existing installation: importlib-resources 6.1.1\n", + " Uninstalling importlib-resources-6.1.1:\n", + " Successfully uninstalled importlib-resources-6.1.1\n", + " Attempting uninstall: imageio-ffmpeg\n", + " Found existing installation: imageio-ffmpeg 0.4.9\n", + " Uninstalling imageio-ffmpeg-0.4.9:\n", + " Successfully uninstalled imageio-ffmpeg-0.4.9\n", + " Attempting uninstall: idna\n", + " Found existing installation: idna 3.6\n", + " Uninstalling idna-3.6:\n", + " Successfully uninstalled idna-3.6\n", + " Attempting uninstall: grpcio\n", + " Found existing installation: grpcio 1.59.3\n", + " Uninstalling grpcio-1.59.3:\n", + " Successfully uninstalled grpcio-1.59.3\n", + " Attempting uninstall: fonttools\n", + " Found existing installation: fonttools 4.45.1\n", + " Uninstalling fonttools-4.45.1:\n", + " Successfully uninstalled fonttools-4.45.1\n", + " Attempting uninstall: filelock\n", + " Found existing installation: filelock 3.13.1\n", + " Uninstalling filelock-3.13.1:\n", + " Successfully uninstalled filelock-3.13.1\n", + " Attempting uninstall: exceptiongroup\n", + " Found existing installation: exceptiongroup 1.2.0\n", + " Uninstalling exceptiongroup-1.2.0:\n", + " Successfully uninstalled exceptiongroup-1.2.0\n", + " Attempting uninstall: cycler\n", + " Found existing installation: cycler 0.12.1\n", + " Uninstalling cycler-0.12.1:\n", + " Successfully uninstalled cycler-0.12.1\n", + " Attempting uninstall: charset-normalizer\n", + " Found existing installation: charset-normalizer 3.3.2\n", + " Uninstalling charset-normalizer-3.3.2:\n", + " Successfully uninstalled charset-normalizer-3.3.2\n", + " Attempting uninstall: certifi\n", + " Found existing installation: certifi 2023.11.17\n", + " Uninstalling certifi-2023.11.17:\n", + " Successfully uninstalled certifi-2023.11.17\n", + " Attempting uninstall: cachetools\n", + " Found existing installation: cachetools 5.3.2\n", + " Uninstalling cachetools-5.3.2:\n", + " Successfully uninstalled cachetools-5.3.2\n", + " Attempting uninstall: yarl\n", + " Found existing installation: yarl 1.9.3\n", + " Uninstalling yarl-1.9.3:\n", + " Successfully uninstalled yarl-1.9.3\n", + " Attempting uninstall: referencing\n", + " Found existing installation: referencing 0.31.1\n", + " Uninstalling referencing-0.31.1:\n", + " Successfully uninstalled referencing-0.31.1\n", + " Attempting uninstall: pyarrow\n", + " Found existing installation: pyarrow 9.0.0\n", + " Uninstalling pyarrow-9.0.0:\n", + " Successfully uninstalled pyarrow-9.0.0\n", + " Attempting uninstall: pandas\n", + " Found existing installation: pandas 1.5.3\n", + " Uninstalling pandas-1.5.3:\n", + " Successfully uninstalled pandas-1.5.3\n", + " Attempting uninstall: imageio\n", + " Found existing installation: imageio 2.31.6\n", + " Uninstalling imageio-2.31.6:\n", + " Successfully uninstalled imageio-2.31.6\n", + " Attempting uninstall: contourpy\n", + " Found existing installation: contourpy 1.2.0\n", + " Uninstalling contourpy-1.2.0:\n", + " Successfully uninstalled contourpy-1.2.0\n", + " Attempting uninstall: pydantic\n", + " Found existing installation: pydantic 1.10.13\n", + " Uninstalling pydantic-1.10.13:\n", + " Successfully uninstalled pydantic-1.10.13\n", + " Attempting uninstall: matplotlib\n", + " Found existing installation: matplotlib 3.7.1\n", + " Uninstalling matplotlib-3.7.1:\n", + " Successfully uninstalled matplotlib-3.7.1\n", + " Attempting uninstall: jsonschema-specifications\n", + " Found existing installation: jsonschema-specifications 2023.11.2\n", + " Uninstalling jsonschema-specifications-2023.11.2:\n", + " Successfully uninstalled jsonschema-specifications-2023.11.2\n", + " Attempting uninstall: huggingface-hub\n", + " Found existing installation: huggingface-hub 0.19.4\n", + " Uninstalling huggingface-hub-0.19.4:\n", + " Successfully uninstalled huggingface-hub-0.19.4\n", + " Attempting uninstall: google-auth\n", + " Found existing installation: google-auth 2.17.3\n", + " Uninstalling google-auth-2.17.3:\n", + " Successfully uninstalled google-auth-2.17.3\n", + " Attempting uninstall: aiohttp\n", + " Found existing installation: aiohttp 3.9.1\n", + " Uninstalling aiohttp-3.9.1:\n", + " Successfully uninstalled aiohttp-3.9.1\n", + " Attempting uninstall: transformers\n", + " Found existing installation: transformers 4.35.2\n", + " Uninstalling transformers-4.35.2:\n", + " Successfully uninstalled transformers-4.35.2\n", + " Attempting uninstall: jsonschema\n", + " Found existing installation: jsonschema 4.19.2\n", + " Uninstalling jsonschema-4.19.2:\n", + " Successfully uninstalled jsonschema-4.19.2\n", + " Attempting uninstall: tensorboard\n", + " Found existing installation: tensorboard 2.14.1\n", + " Uninstalling tensorboard-2.14.1:\n", + " Successfully uninstalled tensorboard-2.14.1\n", + " Attempting uninstall: altair\n", + " Found existing installation: altair 4.2.2\n", + " Uninstalling altair-4.2.2:\n", + " Successfully uninstalled altair-4.2.2\n", + " Attempting uninstall: triton\n", + " Found existing installation: triton 2.1.0\n", + " Uninstalling triton-2.1.0:\n", + " Successfully uninstalled triton-2.1.0\n", + " Attempting uninstall: torch\n", + " Found existing installation: torch 2.1.0+cu118\n", + " Uninstalling torch-2.1.0+cu118:\n", + " Successfully uninstalled torch-2.1.0+cu118\n", + " Attempting uninstall: torchvision\n", + " Found existing installation: torchvision 0.16.0+cu118\n", + " Uninstalling torchvision-0.16.0+cu118:\n", + " Successfully uninstalled torchvision-0.16.0+cu118\n", + "\u001b[31mERROR: 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.\n", + "lida 0.0.10 requires kaleido, which is not installed.\n", + "llmx 0.0.15a0 requires cohere, which is not installed.\n", + "llmx 0.0.15a0 requires openai, which is not installed.\n", + "llmx 0.0.15a0 requires tiktoken, which is not installed.\n", + "google-colab 1.0.0 requires google-auth==2.17.3, but you have google-auth 2.22.0 which is incompatible.\n", + "google-colab 1.0.0 requires pandas==1.5.3, but you have pandas 2.0.3 which is incompatible.\n", + "ibis-framework 6.2.0 requires pyarrow<13,>=2, but you have pyarrow 13.0.0 which is incompatible.\n", + "pandas-gbq 0.17.9 requires pyarrow<10.0dev,>=3.0.0, but you have pyarrow 13.0.0 which is incompatible.\n", + "tensorflow-metadata 1.14.0 requires protobuf<4.21,>=3.20.3, but you have protobuf 4.24.2 which is incompatible.\n", + "tensorflow-probability 0.22.0 requires typing-extensions<4.6.0, but you have typing-extensions 4.9.0 which is incompatible.\n", + "torchaudio 2.1.0+cu118 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.\n", + "torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.\n", + "torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible.\u001b[0m\u001b[31m\n", + "\u001b[0mSuccessfully installed accelerate-0.22.0 aiofiles-23.2.1 aiohttp-3.8.5 altair-5.0.1 annotated-types-0.5.0 antlr4-python3-runtime-4.9.3 av-11.0.0 cachetools-5.3.1 certifi-2023.7.22 charset-normalizer-3.2.0 cmake-3.27.2 contourpy-1.1.0 cycler-0.11.0 datasets-2.14.4 decord-0.6.0 diffusers-0.21.4 dill-0.3.7 einops-0.6.1 exceptiongroup-1.1.3 fastapi-0.103.0 ffmpeg-python-0.2.0 ffmpy-0.3.1 filelock-3.12.2 fonttools-4.42.1 google-auth-2.22.0 gradio-3.41.2 gradio-client-0.5.0 grpcio-1.57.0 h11-0.14.0 httpcore-0.17.3 httpx-0.24.1 huggingface-hub-0.16.4 idna-3.4 imageio-2.9.0 imageio-ffmpeg-0.4.3 importlib-resources-6.0.1 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 lightning-utilities-0.9.0 lit-16.0.6 lpips-0.1.4 markdown-3.4.4 matplotlib-3.7.2 multiprocess-0.70.15 networkx-3.1 numpy-1.24.4 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-cupti-cu11-11.7.101 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 nvidia-cufft-cu11-10.9.0.58 nvidia-curand-cu11-10.2.10.91 nvidia-cusolver-cu11-11.4.0.1 nvidia-cusparse-cu11-11.7.4.91 nvidia-nccl-cu11-2.14.3 nvidia-nvtx-cu11-11.7.91 omegaconf-2.3.0 orjson-3.9.5 pandas-2.0.3 pillow-9.5.0 pkgutil-resolve-name-1.3.10 protobuf-4.24.2 pyarrow-13.0.0 pyasn1-0.5.0 pydantic-2.3.0 pydantic-core-2.6.3 pydub-0.25.1 pyparsing-3.0.9 python-multipart-0.0.6 pytorch-lightning-2.0.7 pytz-2023.3 referencing-0.30.2 regex-2023.8.8 rpds-py-0.9.2 safetensors-0.3.3 semantic-version-2.10.0 starlette-0.27.0 tensorboard-2.14.0 tensorboard-data-server-0.7.1 timm-0.9.12 tokenizers-0.13.3 torch-2.0.1 torchmetrics-1.1.0 torchvision-0.15.2 transformers-4.32.0 triton-2.0.0 typing-extensions-4.9.0 tzdata-2023.3 urllib3-1.26.16 uvicorn-0.23.2 websockets-11.0.3 werkzeug-2.3.7 xformers-0.0.22 xxhash-3.3.0 yarl-1.9.2 zipp-3.16.2\n" + ] + }, + { + "output_type": "display_data", + "data": { + "application/vnd.colab-display-data+json": { + "pip_warning": { + "packages": [ + "PIL", + "certifi", + "cycler", + "google", + "matplotlib", + "mpl_toolkits", + "numpy", + "pydevd_plugins" + ] + } + } + }, + "metadata": {} + } + ] + }, + { + "cell_type": "markdown", + "source": [ + "## Downloading checkpoints & relocate the models\n", + "\n", + "Here is the expected folder structure :\n", + "```\n", + "magic-animate\n", + "|----pretrained_models\n", + " |----MagicAnimate\n", + " |----appearance_encoder\n", + " |----diffusion_pytorch_model.safetensors\n", + " |----config.json\n", + " |----densepose_controlnet\n", + " |----diffusion_pytorch_model.safetensors\n", + " |----config.json\n", + " |----temporal_attention\n", + " |----temporal_attention.ckpt\n", + " |----sd-vae-ft-mse\n", + " |----...\n", + " |----stable-diffusion-v1-5\n", + " |----...\n", + "|----...\n", + "```" + ], + "metadata": { + "id": "o7wdp23b88PE" + } + }, + { + "cell_type": "code", + "source": [ + "!git lfs clone https://huggingface.co/zcxu-eric/MagicAnimate" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "4_8ycRYo75VK", + "outputId": "c1a62698-5fbf-414a-986b-90cf1cd88eab" + }, + "execution_count": 3, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "WARNING: 'git lfs clone' is deprecated and will not be updated\n", + " with new flags from 'git clone'\n", + "\n", + "'git clone' has been updated in upstream Git to have comparable\n", + "speeds to 'git lfs clone'.\n", + "Cloning into 'MagicAnimate'...\n", + "remote: Enumerating objects: 17, done.\u001b[K\n", + "remote: Counting objects: 100% (13/13), done.\u001b[K\n", + "remote: Compressing objects: 100% (13/13), done.\u001b[K\n", + "remote: Total 17 (delta 2), reused 0 (delta 0), pack-reused 4\u001b[K\n", + "Unpacking objects: 100% (17/17), 2.84 KiB | 970.00 KiB/s, done.\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "!git lfs clone https://huggingface.co/runwayml/stable-diffusion-v1-5" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "iUxzt3Gc80p6", + "outputId": "bd788c9a-8d20-48de-bc0a-947f7f4820ad" + }, + "execution_count": 4, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "WARNING: 'git lfs clone' is deprecated and will not be updated\n", + " with new flags from 'git clone'\n", + "\n", + "'git clone' has been updated in upstream Git to have comparable\n", + "speeds to 'git lfs clone'.\n", + "Cloning into 'stable-diffusion-v1-5'...\n", + "remote: Enumerating objects: 194, done.\u001b[K\n", + "remote: Counting objects: 100% (52/52), done.\u001b[K\n", + "remote: Compressing objects: 100% (45/45), done.\u001b[K\n", + "remote: Total 194 (delta 34), reused 7 (delta 7), pack-reused 142\u001b[K\n", + "Receiving objects: 100% (194/194), 541.34 KiB | 828.00 KiB/s, done.\n", + "Resolving deltas: 100% (61/61), done.\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "!git lfs clone https://huggingface.co/stabilityai/sd-vae-ft-mse" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "uXnjjbwC867R", + "outputId": "bf22bb0a-39b2-4f46-9540-32b4b3822e2c" + }, + "execution_count": 5, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "WARNING: 'git lfs clone' is deprecated and will not be updated\n", + " with new flags from 'git clone'\n", + "\n", + "'git clone' has been updated in upstream Git to have comparable\n", + "speeds to 'git lfs clone'.\n", + "Cloning into 'sd-vae-ft-mse'...\n", + "remote: Enumerating objects: 28, done.\u001b[K\n", + "remote: Counting objects: 100% (3/3), done.\u001b[K\n", + "remote: Compressing objects: 100% (3/3), done.\u001b[K\n", + "remote: Total 28 (delta 0), reused 0 (delta 0), pack-reused 25\u001b[K\n", + "Unpacking objects: 100% (28/28), 6.72 KiB | 982.00 KiB/s, done.\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "# create new folder\n", + "!mkdir /content/magic-animate/pretrained_models\n", + "\n", + "# move the checkpoints to the folder\n", + "!mv /content/MagicAnimate /content/magic-animate/pretrained_models/MagicAnimate\n", + "!mv /content/stable-diffusion-v1-5 /content/magic-animate/pretrained_models/stable-diffusion-v1-5\n", + "!mv /content/sd-vae-ft-mse /content/magic-animate/pretrained_models/sd-vae-ft-mse" + ], + "metadata": { + "id": "CCigtcpT9pxu" + }, + "execution_count": 6, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": [ + "# Init Gradio Demo App\n", + "After running the following lines, you will get :\n", + "\n", + "**Running on public URL**" + ], + "metadata": { + "id": "vMOOmQFjAEXt" + } + }, + { + "cell_type": "code", + "source": [ + "%cd /content/magic-animate\n", + "# init gradio demo\n", + "\n", + "# make sure use demo.queue().launch(share=True) in gradio_animate.py\n", + "!python3 -m demo.gradio_animate" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "8W1CMyE1_t9m", + "outputId": "b38d2537-d30b-4d91-a60b-dab800ed8017" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "2023-12-11 09:05:17.289804: E tensorflow/compiler/xla/stream_executor/cuda/cuda_dnn.cc:9342] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered\n", + "2023-12-11 09:05:17.289871: E tensorflow/compiler/xla/stream_executor/cuda/cuda_fft.cc:609] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered\n", + "2023-12-11 09:05:17.289921: E tensorflow/compiler/xla/stream_executor/cuda/cuda_blas.cc:1518] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered\n", + "2023-12-11 09:05:18.493504: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT\n", + "/content/magic-animate/magicanimate/pipelines/pipeline_animation.py:43: FutureWarning: Importing `DiffusionPipeline` or `ImagePipelineOutput` from diffusers.pipeline_utils is deprecated. Please import from diffusers.pipelines.pipeline_utils instead.\n", + " from diffusers.pipeline_utils import DiffusionPipeline\n", + "Initializing MagicAnimate Pipeline...\n", + "loaded temporal unet's pretrained weights from pretrained_models/stable-diffusion-v1-5/unet ...\n", + "### missing keys: 560; \n", + "### unexpected keys: 0;\n", + "### Temporal Module Parameters: 417.1376 M\n", + "The config attributes {'addition_embed_type': None, 'addition_embed_type_num_heads': 64, 'addition_time_embed_dim': None, 'conditioning_channels': 3, 'encoder_hid_dim': None, 'encoder_hid_dim_type': None, 'global_pool_conditions': False, 'num_attention_heads': None, 'transformer_layers_per_block': 1} were passed to ControlNetModel, but are not expected and will be ignored. Please verify your config.json configuration file.\n", + "It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.\n", + "It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.\n", + "It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.\n", + "It is recommended to provide `attention_head_dim` when calling `get_down_block`. Defaulting `attention_head_dim` to 8.\n", + "/content/magic-animate/magicanimate/pipelines/pipeline_animation.py:103: FutureWarning: The configuration file of this scheduler: DDIMScheduler {\n", + " \"_class_name\": \"DDIMScheduler\",\n", + " \"_diffusers_version\": \"0.21.4\",\n", + " \"beta_end\": 0.012,\n", + " \"beta_schedule\": \"linear\",\n", + " \"beta_start\": 0.00085,\n", + " \"clip_sample\": true,\n", + " \"clip_sample_range\": 1.0,\n", + " \"dynamic_thresholding_ratio\": 0.995,\n", + " \"num_train_timesteps\": 1000,\n", + " \"prediction_type\": \"epsilon\",\n", + " \"rescale_betas_zero_snr\": false,\n", + " \"sample_max_value\": 1.0,\n", + " \"set_alpha_to_one\": true,\n", + " \"steps_offset\": 0,\n", + " \"thresholding\": false,\n", + " \"timestep_spacing\": \"leading\",\n", + " \"trained_betas\": null\n", + "}\n", + " is outdated. `steps_offset` should be set to 1 instead of 0. Please make sure to update the config accordingly as leaving `steps_offset` might led to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file\n", + " deprecate(\"steps_offset!=1\", \"1.0.0\", deprecation_message, standard_warn=False)\n", + "/content/magic-animate/magicanimate/pipelines/pipeline_animation.py:116: FutureWarning: The configuration file of this scheduler: DDIMScheduler {\n", + " \"_class_name\": \"DDIMScheduler\",\n", + " \"_diffusers_version\": \"0.21.4\",\n", + " \"beta_end\": 0.012,\n", + " \"beta_schedule\": \"linear\",\n", + " \"beta_start\": 0.00085,\n", + " \"clip_sample\": true,\n", + " \"clip_sample_range\": 1.0,\n", + " \"dynamic_thresholding_ratio\": 0.995,\n", + " \"num_train_timesteps\": 1000,\n", + " \"prediction_type\": \"epsilon\",\n", + " \"rescale_betas_zero_snr\": false,\n", + " \"sample_max_value\": 1.0,\n", + " \"set_alpha_to_one\": true,\n", + " \"steps_offset\": 1,\n", + " \"thresholding\": false,\n", + " \"timestep_spacing\": \"leading\",\n", + " \"trained_betas\": null\n", + "}\n", + " has not set the configuration `clip_sample`. `clip_sample` should be set to False in the configuration file. Please make sure to update the config accordingly as not setting `clip_sample` in the config might lead to incorrect results in future versions. If you have downloaded this checkpoint from the Hugging Face Hub, it would be very nice if you could open a Pull request for the `scheduler/scheduler_config.json` file\n", + " deprecate(\"clip_sample not set\", \"1.0.0\", deprecation_message, standard_warn=False)\n", + "Initialization Done!\n", + "Running on local URL: http://127.0.0.1:7860\n", + "Running on public URL: https://64c60c2889b8fa7703.gradio.live\n", + "\n", + "This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://huggingface.co/spaces)\n", + "/content/magic-animate/magicanimate/pipelines/pipeline_animation.py:624: FutureWarning: Accessing config attribute `in_channels` directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'.\n", + " num_channels_latents = self.unet.in_channels\n", + "100% 25/25 [02:01<00:00, 4.87s/it]\n", + "100% 112/112 [00:04<00:00, 27.14it/s]\n", + "IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (1544, 516) to (1552, 528) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).\n", + "\u001b[1;34m[swscaler @ 0x6ad8cc0] \u001b[0m\u001b[0;33mWarning: data is not aligned! This can lead to a speed loss\n", + "\u001b[0m/content/magic-animate/magicanimate/pipelines/pipeline_animation.py:624: FutureWarning: Accessing config attribute `in_channels` directly via 'UNet3DConditionModel' object attribute is deprecated. Please access 'in_channels' over 'UNet3DConditionModel's config object instead, e.g. 'unet.config.in_channels'.\n", + " num_channels_latents = self.unet.in_channels\n", + "100% 25/25 [02:01<00:00, 4.87s/it]\n", + "100% 112/112 [00:04<00:00, 27.19it/s]\n", + "IMAGEIO FFMPEG_WRITER WARNING: input image is not divisible by macro_block_size=16, resizing from (1544, 516) to (1552, 528) to ensure video compatibility with most codecs and players. To prevent resizing, make your input image divisible by the macro_block_size or set the macro_block_size to 1 (risking incompatibility).\n", + "\u001b[1;34m[swscaler @ 0x6edacc0] \u001b[0m\u001b[0;33mWarning: data is not aligned! This can lead to a speed loss\n", + "\u001b[0m" + ] + } + ] + } + ] +} \ No newline at end of file From 3c53a883483126c53e9f67be9e4029f1adfdbe97 Mon Sep 17 00:00:00 2001 From: Cat Yung <49334769+catyung@users.noreply.github.com> Date: Mon, 11 Dec 2023 17:16:54 +0800 Subject: [PATCH 2/2] add queue in gradio --- demo/gradio_animate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/gradio_animate.py b/demo/gradio_animate.py index 9a932a28..2a8f8693 100644 --- a/demo/gradio_animate.py +++ b/demo/gradio_animate.py @@ -92,5 +92,5 @@ def read_image(image, size=512): outputs=animation, ) - -demo.launch(share=True) \ No newline at end of file +# Avoid timeout in gradio app +demo.queue().launch(share=True)