Spaces:
Running on Zero
Running on Zero
Upload 22 files
Browse files- app.py +8 -15
- vidgen2.ipynb +268 -0
app.py
CHANGED
|
@@ -2,14 +2,12 @@ import gradio as gr
|
|
| 2 |
import numpy as np
|
| 3 |
import random
|
| 4 |
import torch
|
| 5 |
-
|
| 6 |
-
|
| 7 |
|
| 8 |
import gc
|
| 9 |
|
| 10 |
from safetensors.torch import load_file
|
| 11 |
-
|
| 12 |
-
|
| 13 |
|
| 14 |
from PIL import Image
|
| 15 |
from diffusers import FlowMatchEulerDiscreteScheduler, QwenImageEditPlusPipeline, EulerAncestralDiscreteScheduler, FlowMatchEulerDiscreteScheduler
|
|
@@ -111,12 +109,13 @@ def setup_intelligent_memory_pipeline(pipe, apply_quantization=True):
|
|
| 111 |
print(f"Base model size: ~55GB unquantized, ~20GB with quantization")
|
| 112 |
|
| 113 |
# Apply quantization to reduce memory footprint (only if requested)
|
|
|
|
| 114 |
if apply_quantization:
|
| 115 |
-
print("Applying quantization
|
| 116 |
if hasattr(pipe, 'text_encoder') and pipe.text_encoder is not None:
|
| 117 |
quantize_(pipe.text_encoder, Int8WeightOnlyConfig())
|
| 118 |
if hasattr(pipe, 'transformer') and pipe.transformer is not None:
|
| 119 |
-
quantize_(pipe.transformer,
|
| 120 |
|
| 121 |
# Enable VAE optimizations for all GPUs
|
| 122 |
print("Enabling VAE slicing and tiling...")
|
|
@@ -282,9 +281,9 @@ del text_encoder_weights
|
|
| 282 |
gc.collect()
|
| 283 |
torch.cuda.empty_cache()
|
| 284 |
|
| 285 |
-
# NOW apply memory management
|
| 286 |
print("Applying memory optimizations after weight injection...")
|
| 287 |
-
pipe = setup_intelligent_memory_pipeline(pipe, apply_quantization=
|
| 288 |
|
| 289 |
|
| 290 |
#################################
|
|
@@ -338,13 +337,7 @@ def add_starter_image(starter_num, current_images):
|
|
| 338 |
return list(current_images) + [img]
|
| 339 |
|
| 340 |
# --- Main Inference Function (with hardcoded negative prompt) ---
|
| 341 |
-
|
| 342 |
-
# CHANGE 4 of 4: @spaces.GPU() decorator REMOVED
|
| 343 |
-
# That decorator allocates a GPU from HuggingFace's shared ZeroGPU pool.
|
| 344 |
-
# On a local VPS the GPU is always available — the decorator is not needed
|
| 345 |
-
# and would crash without the `spaces` library installed.
|
| 346 |
-
# The entire function body below is 100% identical to the original.
|
| 347 |
-
# ---------------------------------------------------------------------------
|
| 348 |
def infer(
|
| 349 |
images,
|
| 350 |
prompt,
|
|
|
|
| 2 |
import numpy as np
|
| 3 |
import random
|
| 4 |
import torch
|
| 5 |
+
import spaces
|
|
|
|
| 6 |
|
| 7 |
import gc
|
| 8 |
|
| 9 |
from safetensors.torch import load_file
|
| 10 |
+
from huggingface_hub import hf_hub_download
|
|
|
|
| 11 |
|
| 12 |
from PIL import Image
|
| 13 |
from diffusers import FlowMatchEulerDiscreteScheduler, QwenImageEditPlusPipeline, EulerAncestralDiscreteScheduler, FlowMatchEulerDiscreteScheduler
|
|
|
|
| 109 |
print(f"Base model size: ~55GB unquantized, ~20GB with quantization")
|
| 110 |
|
| 111 |
# Apply quantization to reduce memory footprint (only if requested)
|
| 112 |
+
# ZeroGPU has limited VRAM - use Int8 only to avoid NVRTC issues
|
| 113 |
if apply_quantization:
|
| 114 |
+
print("Applying Int8 quantization for ZeroGPU...")
|
| 115 |
if hasattr(pipe, 'text_encoder') and pipe.text_encoder is not None:
|
| 116 |
quantize_(pipe.text_encoder, Int8WeightOnlyConfig())
|
| 117 |
if hasattr(pipe, 'transformer') and pipe.transformer is not None:
|
| 118 |
+
quantize_(pipe.transformer, Int8WeightOnlyConfig())
|
| 119 |
|
| 120 |
# Enable VAE optimizations for all GPUs
|
| 121 |
print("Enabling VAE slicing and tiling...")
|
|
|
|
| 281 |
gc.collect()
|
| 282 |
torch.cuda.empty_cache()
|
| 283 |
|
| 284 |
+
# NOW apply quantization and memory management after weights are loaded
|
| 285 |
print("Applying memory optimizations after weight injection...")
|
| 286 |
+
pipe = setup_intelligent_memory_pipeline(pipe, apply_quantization=True)
|
| 287 |
|
| 288 |
|
| 289 |
#################################
|
|
|
|
| 337 |
return list(current_images) + [img]
|
| 338 |
|
| 339 |
# --- Main Inference Function (with hardcoded negative prompt) ---
|
| 340 |
+
@spaces.GPU
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
def infer(
|
| 342 |
images,
|
| 343 |
prompt,
|
vidgen2.ipynb
ADDED
|
@@ -0,0 +1,268 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"nbformat": 4,
|
| 3 |
+
"nbformat_minor": 0,
|
| 4 |
+
"metadata": {
|
| 5 |
+
"colab": {
|
| 6 |
+
"provenance": [],
|
| 7 |
+
"gpuType": "V5E1",
|
| 8 |
+
"authorship_tag": "ABX9TyMe2CIwXk5Anp+PP39l51xB",
|
| 9 |
+
"include_colab_link": true
|
| 10 |
+
},
|
| 11 |
+
"kernelspec": {
|
| 12 |
+
"name": "python3",
|
| 13 |
+
"display_name": "Python 3"
|
| 14 |
+
},
|
| 15 |
+
"language_info": {
|
| 16 |
+
"name": "python"
|
| 17 |
+
},
|
| 18 |
+
"accelerator": "TPU"
|
| 19 |
+
},
|
| 20 |
+
"cells": [
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "markdown",
|
| 23 |
+
"metadata": {
|
| 24 |
+
"id": "view-in-github",
|
| 25 |
+
"colab_type": "text"
|
| 26 |
+
},
|
| 27 |
+
"source": [
|
| 28 |
+
"<a href=\"https://colab.research.google.com/github/appsyouneed/picgen/blob/main/vidgen2.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
| 29 |
+
]
|
| 30 |
+
},
|
| 31 |
+
{
|
| 32 |
+
"cell_type": "code",
|
| 33 |
+
"execution_count": null,
|
| 34 |
+
"metadata": {
|
| 35 |
+
"colab": {
|
| 36 |
+
"base_uri": "https://localhost:8080/"
|
| 37 |
+
},
|
| 38 |
+
"id": "od8_YFRjOUn7",
|
| 39 |
+
"outputId": "3b377048-5407-4fa0-900a-1c53a26622c1"
|
| 40 |
+
},
|
| 41 |
+
"outputs": [
|
| 42 |
+
{
|
| 43 |
+
"output_type": "stream",
|
| 44 |
+
"name": "stdout",
|
| 45 |
+
"text": [
|
| 46 |
+
"=== Wan 2.2 14B Colab TPU Setup ===\n",
|
| 47 |
+
"Creating temp directory...\n",
|
| 48 |
+
"Creating cache directory...\n",
|
| 49 |
+
"Installing system dependencies...\n",
|
| 50 |
+
"Hit:1 https://cli.github.com/packages stable InRelease\n",
|
| 51 |
+
"Hit:2 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease\n",
|
| 52 |
+
"Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease\n",
|
| 53 |
+
"Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease\n",
|
| 54 |
+
"Hit:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease\n",
|
| 55 |
+
"Hit:6 http://archive.ubuntu.com/ubuntu jammy-backports InRelease\n",
|
| 56 |
+
"Hit:7 https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease\n",
|
| 57 |
+
"Hit:8 https://r2u.stat.illinois.edu/ubuntu jammy InRelease\n",
|
| 58 |
+
"Hit:9 https://ppa.launchpadcontent.net/ubuntugis/ppa/ubuntu jammy InRelease\n",
|
| 59 |
+
"Reading package lists... Done\n",
|
| 60 |
+
"W: Skipping acquire of configured file 'main/source/Sources' as repository 'https://r2u.stat.illinois.edu/ubuntu jammy InRelease' does not seem to provide it (sources.list entry misspelt?)\n",
|
| 61 |
+
"Reading package lists... Done\n",
|
| 62 |
+
"Building dependency tree... Done\n",
|
| 63 |
+
"Reading state information... Done\n",
|
| 64 |
+
"git is already the newest version (1:2.34.1-1ubuntu1.17).\n",
|
| 65 |
+
"unzip is already the newest version (6.0-26ubuntu3.2).\n",
|
| 66 |
+
"wget is already the newest version (1.21.2-2ubuntu1.1).\n",
|
| 67 |
+
"ffmpeg is already the newest version (7:4.4.2-0ubuntu0.22.04.1).\n",
|
| 68 |
+
"0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.\n",
|
| 69 |
+
"Installing Python dependencies for TPU...\n",
|
| 70 |
+
"Collecting git+https://github.com/linoytsaban/diffusers.git@wan22-loras (from -r requirements.txt (line 8))\n",
|
| 71 |
+
" Cloning https://github.com/linoytsaban/diffusers.git (to revision wan22-loras) to /tmp/pip-req-build-trdq6a2m\n",
|
| 72 |
+
" Running command git clone --filter=blob:none --quiet https://github.com/linoytsaban/diffusers.git /tmp/pip-req-build-trdq6a2m\n",
|
| 73 |
+
" Running command git checkout -b wan22-loras --track origin/wan22-loras\n",
|
| 74 |
+
" Switched to a new branch 'wan22-loras'\n",
|
| 75 |
+
" Branch 'wan22-loras' set up to track remote branch 'wan22-loras' from 'origin'.\n",
|
| 76 |
+
" Resolved https://github.com/linoytsaban/diffusers.git to commit 5f42d2e4c064e087994c756239746ac32e920a28\n",
|
| 77 |
+
" Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
|
| 78 |
+
" Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n",
|
| 79 |
+
" Preparing metadata (pyproject.toml) ... \u001b[?25l\u001b[?25hdone\n",
|
| 80 |
+
"Collecting torch==2.8.0 (from -r requirements.txt (line 2))\n",
|
| 81 |
+
" Downloading torch-2.8.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (30 kB)\n",
|
| 82 |
+
"Collecting torch-xla==2.8.0 (from -r requirements.txt (line 3))\n",
|
| 83 |
+
" Downloading torch_xla-2.8.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (16 kB)\n",
|
| 84 |
+
"Requirement already satisfied: torchvision in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 4)) (0.25.0+cpu)\n",
|
| 85 |
+
"Requirement already satisfied: torchao==0.11.0 in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 5)) (0.11.0)\n",
|
| 86 |
+
"Requirement already satisfied: transformers<5 in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 11)) (4.57.6)\n",
|
| 87 |
+
"Requirement already satisfied: accelerate in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 12)) (1.13.0)\n",
|
| 88 |
+
"Requirement already satisfied: safetensors in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 13)) (0.7.0)\n",
|
| 89 |
+
"Requirement already satisfied: sentencepiece in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 14)) (0.2.1)\n",
|
| 90 |
+
"Requirement already satisfied: peft in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 15)) (0.18.1)\n",
|
| 91 |
+
"Requirement already satisfied: opencv-python in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 18)) (4.13.0.92)\n",
|
| 92 |
+
"Requirement already satisfied: imageio in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 19)) (2.37.3)\n",
|
| 93 |
+
"Requirement already satisfied: imageio-ffmpeg in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 20)) (0.6.0)\n",
|
| 94 |
+
"Requirement already satisfied: Pillow in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 21)) (11.3.0)\n",
|
| 95 |
+
"Requirement already satisfied: numpy in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 22)) (2.0.2)\n",
|
| 96 |
+
"Requirement already satisfied: gradio in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 25)) (5.50.0)\n",
|
| 97 |
+
"Requirement already satisfied: huggingface_hub in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 26)) (0.36.2)\n",
|
| 98 |
+
"Requirement already satisfied: ftfy in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 27)) (6.3.1)\n",
|
| 99 |
+
"Requirement already satisfied: tqdm in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 28)) (4.67.3)\n",
|
| 100 |
+
"Requirement already satisfied: typing-extensions in /usr/local/lib/python3.12/dist-packages (from -r requirements.txt (line 29)) (4.15.0)\n",
|
| 101 |
+
"Requirement already satisfied: filelock in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (3.25.2)\n",
|
| 102 |
+
"Requirement already satisfied: setuptools in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (75.2.0)\n",
|
| 103 |
+
"Requirement already satisfied: sympy>=1.13.3 in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (1.14.0)\n",
|
| 104 |
+
"Requirement already satisfied: networkx in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (3.6.1)\n",
|
| 105 |
+
"Requirement already satisfied: jinja2 in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (3.1.6)\n",
|
| 106 |
+
"Requirement already satisfied: fsspec in /usr/local/lib/python3.12/dist-packages (from torch==2.8.0->-r requirements.txt (line 2)) (2025.3.0)\n",
|
| 107 |
+
"Collecting nvidia-cuda-nvrtc-cu12==12.8.93 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 108 |
+
" Downloading nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.7 kB)\n",
|
| 109 |
+
"Collecting nvidia-cuda-runtime-cu12==12.8.90 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 110 |
+
" Downloading nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)\n",
|
| 111 |
+
"Collecting nvidia-cuda-cupti-cu12==12.8.90 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 112 |
+
" Downloading nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)\n",
|
| 113 |
+
"Collecting nvidia-cudnn-cu12==9.10.2.21 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 114 |
+
" Downloading nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl.metadata (1.8 kB)\n",
|
| 115 |
+
"Collecting nvidia-cublas-cu12==12.8.4.1 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 116 |
+
" Downloading nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl.metadata (1.7 kB)\n",
|
| 117 |
+
"Collecting nvidia-cufft-cu12==11.3.3.83 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 118 |
+
" Downloading nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)\n",
|
| 119 |
+
"Collecting nvidia-curand-cu12==10.3.9.90 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 120 |
+
" Downloading nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl.metadata (1.7 kB)\n",
|
| 121 |
+
"Collecting nvidia-cusolver-cu12==11.7.3.90 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 122 |
+
" Downloading nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl.metadata (1.8 kB)\n",
|
| 123 |
+
"Collecting nvidia-cusparse-cu12==12.5.8.93 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 124 |
+
" Downloading nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.8 kB)\n",
|
| 125 |
+
"Collecting nvidia-cusparselt-cu12==0.7.1 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 126 |
+
" Downloading nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl.metadata (7.0 kB)\n",
|
| 127 |
+
"Collecting nvidia-nccl-cu12==2.27.3 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 128 |
+
" Downloading nvidia_nccl_cu12-2.27.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (2.0 kB)\n",
|
| 129 |
+
"Collecting nvidia-nvtx-cu12==12.8.90 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 130 |
+
" Downloading nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.8 kB)\n",
|
| 131 |
+
"Collecting nvidia-nvjitlink-cu12==12.8.93 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 132 |
+
" Downloading nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl.metadata (1.7 kB)\n",
|
| 133 |
+
"Collecting nvidia-cufile-cu12==1.13.1.3 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 134 |
+
" Downloading nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.metadata (1.7 kB)\n",
|
| 135 |
+
"Collecting triton==3.4.0 (from torch==2.8.0->-r requirements.txt (line 2))\n",
|
| 136 |
+
" Downloading triton-3.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (1.7 kB)\n",
|
| 137 |
+
"Requirement already satisfied: absl-py>=1.0.0 in /usr/local/lib/python3.12/dist-packages (from torch-xla==2.8.0->-r requirements.txt (line 3)) (1.4.0)\n",
|
| 138 |
+
"Requirement already satisfied: pyyaml in /usr/local/lib/python3.12/dist-packages (from torch-xla==2.8.0->-r requirements.txt (line 3)) (6.0.3)\n",
|
| 139 |
+
"Requirement already satisfied: requests in /usr/local/lib/python3.12/dist-packages (from torch-xla==2.8.0->-r requirements.txt (line 3)) (2.32.4)\n",
|
| 140 |
+
"INFO: pip is looking at multiple versions of torchvision to determine which version is compatible with other requirements. This could take a while.\n",
|
| 141 |
+
"Collecting torchvision (from -r requirements.txt (line 4))\n",
|
| 142 |
+
" Downloading torchvision-0.26.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (5.5 kB)\n",
|
| 143 |
+
" Downloading torchvision-0.25.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (5.4 kB)\n",
|
| 144 |
+
" Downloading torchvision-0.24.1-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (5.9 kB)\n",
|
| 145 |
+
" Downloading torchvision-0.24.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (5.9 kB)\n",
|
| 146 |
+
" Downloading torchvision-0.23.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (6.1 kB)\n",
|
| 147 |
+
"Requirement already satisfied: importlib_metadata in /usr/local/lib/python3.12/dist-packages (from diffusers==0.35.0.dev0->-r requirements.txt (line 8)) (8.7.1)\n",
|
| 148 |
+
"Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.12/dist-packages (from diffusers==0.35.0.dev0->-r requirements.txt (line 8)) (2025.11.3)\n",
|
| 149 |
+
"Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.12/dist-packages (from transformers<5->-r requirements.txt (line 11)) (26.0)\n",
|
| 150 |
+
"Requirement already satisfied: tokenizers<=0.23.0,>=0.22.0 in /usr/local/lib/python3.12/dist-packages (from transformers<5->-r requirements.txt (line 11)) (0.22.2)\n",
|
| 151 |
+
"Requirement already satisfied: psutil in /usr/local/lib/python3.12/dist-packages (from accelerate->-r requirements.txt (line 12)) (5.9.5)\n",
|
| 152 |
+
"Requirement already satisfied: aiofiles<25.0,>=22.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (24.1.0)\n",
|
| 153 |
+
"Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (4.13.0)\n",
|
| 154 |
+
"Requirement already satisfied: brotli>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (1.2.0)\n",
|
| 155 |
+
"Requirement already satisfied: fastapi<1.0,>=0.115.2 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.135.2)\n",
|
| 156 |
+
"Requirement already satisfied: ffmpy in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (1.0.0)\n",
|
| 157 |
+
"Requirement already satisfied: gradio-client==1.14.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (1.14.0)\n",
|
| 158 |
+
"Requirement already satisfied: groovy~=0.1 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.1.2)\n",
|
| 159 |
+
"Requirement already satisfied: httpx<1.0,>=0.24.1 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.28.1)\n",
|
| 160 |
+
"Requirement already satisfied: markupsafe<4.0,>=2.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (3.0.3)\n",
|
| 161 |
+
"Requirement already satisfied: orjson~=3.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (3.11.8)\n",
|
| 162 |
+
"Requirement already satisfied: pandas<3.0,>=1.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (2.2.2)\n",
|
| 163 |
+
"Requirement already satisfied: pydantic<=2.12.3,>=2.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (2.12.3)\n",
|
| 164 |
+
"Requirement already satisfied: pydub in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.25.1)\n",
|
| 165 |
+
"Requirement already satisfied: python-multipart>=0.0.18 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.0.22)\n",
|
| 166 |
+
"Requirement already satisfied: ruff>=0.9.3 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.15.8)\n",
|
| 167 |
+
"Requirement already satisfied: safehttpx<0.2.0,>=0.1.6 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.1.7)\n",
|
| 168 |
+
"Requirement already satisfied: semantic-version~=2.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (2.10.0)\n",
|
| 169 |
+
"Requirement already satisfied: starlette<1.0,>=0.40.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.52.1)\n",
|
| 170 |
+
"Requirement already satisfied: tomlkit<0.14.0,>=0.12.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.13.3)\n",
|
| 171 |
+
"Requirement already satisfied: typer<1.0,>=0.12 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.24.1)\n",
|
| 172 |
+
"Requirement already satisfied: uvicorn>=0.14.0 in /usr/local/lib/python3.12/dist-packages (from gradio->-r requirements.txt (line 25)) (0.42.0)\n",
|
| 173 |
+
"Requirement already satisfied: websockets<16.0,>=13.0 in /usr/local/lib/python3.12/dist-packages (from gradio-client==1.14.0->gradio->-r requirements.txt (line 25)) (15.0.1)\n",
|
| 174 |
+
"Requirement already satisfied: hf-xet<2.0.0,>=1.1.3 in /usr/local/lib/python3.12/dist-packages (from huggingface_hub->-r requirements.txt (line 26)) (1.4.2)\n",
|
| 175 |
+
"Requirement already satisfied: wcwidth in /usr/local/lib/python3.12/dist-packages (from ftfy->-r requirements.txt (line 27)) (0.6.0)\n",
|
| 176 |
+
"Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.12/dist-packages (from anyio<5.0,>=3.0->gradio->-r requirements.txt (line 25)) (3.11)\n",
|
| 177 |
+
"Requirement already satisfied: typing-inspection>=0.4.2 in /usr/local/lib/python3.12/dist-packages (from fastapi<1.0,>=0.115.2->gradio->-r requirements.txt (line 25)) (0.4.2)\n",
|
| 178 |
+
"Requirement already satisfied: annotated-doc>=0.0.2 in /usr/local/lib/python3.12/dist-packages (from fastapi<1.0,>=0.115.2->gradio->-r requirements.txt (line 25)) (0.0.4)\n",
|
| 179 |
+
"Requirement already satisfied: certifi in /usr/local/lib/python3.12/dist-packages (from httpx<1.0,>=0.24.1->gradio->-r requirements.txt (line 25)) (2026.2.25)\n",
|
| 180 |
+
"Requirement already satisfied: httpcore==1.* in /usr/local/lib/python3.12/dist-packages (from httpx<1.0,>=0.24.1->gradio->-r requirements.txt (line 25)) (1.0.9)\n",
|
| 181 |
+
"Requirement already satisfied: h11>=0.16 in /usr/local/lib/python3.12/dist-packages (from httpcore==1.*->httpx<1.0,>=0.24.1->gradio->-r requirements.txt (line 25)) (0.16.0)\n",
|
| 182 |
+
"Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.12/dist-packages (from pandas<3.0,>=1.0->gradio->-r requirements.txt (line 25)) (2.9.0.post0)\n",
|
| 183 |
+
"Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.12/dist-packages (from pandas<3.0,>=1.0->gradio->-r requirements.txt (line 25)) (2025.2)\n",
|
| 184 |
+
"Requirement already satisfied: tzdata>=2022.7 in /usr/local/lib/python3.12/dist-packages (from pandas<3.0,>=1.0->gradio->-r requirements.txt (line 25)) (2025.3)\n",
|
| 185 |
+
"Requirement already satisfied: annotated-types>=0.6.0 in /usr/local/lib/python3.12/dist-packages (from pydantic<=2.12.3,>=2.0->gradio->-r requirements.txt (line 25)) (0.7.0)\n",
|
| 186 |
+
"Requirement already satisfied: pydantic-core==2.41.4 in /usr/local/lib/python3.12/dist-packages (from pydantic<=2.12.3,>=2.0->gradio->-r requirements.txt (line 25)) (2.41.4)\n",
|
| 187 |
+
"Requirement already satisfied: mpmath<1.4,>=1.1.0 in /usr/local/lib/python3.12/dist-packages (from sympy>=1.13.3->torch==2.8.0->-r requirements.txt (line 2)) (1.3.0)\n",
|
| 188 |
+
"Requirement already satisfied: click>=8.2.1 in /usr/local/lib/python3.12/dist-packages (from typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (8.3.1)\n",
|
| 189 |
+
"Requirement already satisfied: shellingham>=1.3.0 in /usr/local/lib/python3.12/dist-packages (from typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (1.5.4)\n",
|
| 190 |
+
"Requirement already satisfied: rich>=12.3.0 in /usr/local/lib/python3.12/dist-packages (from typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (13.9.4)\n",
|
| 191 |
+
"Requirement already satisfied: zipp>=3.20 in /usr/local/lib/python3.12/dist-packages (from importlib_metadata->diffusers==0.35.0.dev0->-r requirements.txt (line 8)) (3.23.0)\n",
|
| 192 |
+
"Requirement already satisfied: charset_normalizer<4,>=2 in /usr/local/lib/python3.12/dist-packages (from requests->torch-xla==2.8.0->-r requirements.txt (line 3)) (3.4.6)\n",
|
| 193 |
+
"Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.12/dist-packages (from requests->torch-xla==2.8.0->-r requirements.txt (line 3)) (2.5.0)\n",
|
| 194 |
+
"Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.12/dist-packages (from python-dateutil>=2.8.2->pandas<3.0,>=1.0->gradio->-r requirements.txt (line 25)) (1.17.0)\n",
|
| 195 |
+
"Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.12/dist-packages (from rich>=12.3.0->typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (4.0.0)\n",
|
| 196 |
+
"Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.12/dist-packages (from rich>=12.3.0->typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (2.20.0)\n",
|
| 197 |
+
"Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.12/dist-packages (from markdown-it-py>=2.2.0->rich>=12.3.0->typer<1.0,>=0.12->gradio->-r requirements.txt (line 25)) (0.1.2)\n",
|
| 198 |
+
"Downloading torch-2.8.0-cp312-cp312-manylinux_2_28_x86_64.whl (887.9 MB)\n",
|
| 199 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m887.9/887.9 MB\u001b[0m \u001b[31m1.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 200 |
+
"\u001b[?25hDownloading torch_xla-2.8.0-cp312-cp312-manylinux_2_28_x86_64.whl (88.9 MB)\n",
|
| 201 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m88.9/88.9 MB\u001b[0m \u001b[31m8.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 202 |
+
"\u001b[?25hDownloading nvidia_cublas_cu12-12.8.4.1-py3-none-manylinux_2_27_x86_64.whl (594.3 MB)\n",
|
| 203 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m594.3/594.3 MB\u001b[0m \u001b[31m1.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 204 |
+
"\u001b[?25hDownloading nvidia_cuda_cupti_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (10.2 MB)\n",
|
| 205 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.2/10.2 MB\u001b[0m \u001b[31m87.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 206 |
+
"\u001b[?25hDownloading nvidia_cuda_nvrtc_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (88.0 MB)\n",
|
| 207 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m88.0/88.0 MB\u001b[0m \u001b[31m8.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 208 |
+
"\u001b[?25hDownloading nvidia_cuda_runtime_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (954 kB)\n",
|
| 209 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m954.8/954.8 kB\u001b[0m \u001b[31m47.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 210 |
+
"\u001b[?25hDownloading nvidia_cudnn_cu12-9.10.2.21-py3-none-manylinux_2_27_x86_64.whl (706.8 MB)\n",
|
| 211 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m706.8/706.8 MB\u001b[0m \u001b[31m803.7 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 212 |
+
"\u001b[?25hDownloading nvidia_cufft_cu12-11.3.3.83-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (193.1 MB)\n",
|
| 213 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m193.1/193.1 MB\u001b[0m \u001b[31m6.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 214 |
+
"\u001b[?25hDownloading nvidia_cufile_cu12-1.13.1.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (1.2 MB)\n",
|
| 215 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.2/1.2 MB\u001b[0m \u001b[31m60.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 216 |
+
"\u001b[?25hDownloading nvidia_curand_cu12-10.3.9.90-py3-none-manylinux_2_27_x86_64.whl (63.6 MB)\n",
|
| 217 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m63.6/63.6 MB\u001b[0m \u001b[31m12.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 218 |
+
"\u001b[?25hDownloading nvidia_cusolver_cu12-11.7.3.90-py3-none-manylinux_2_27_x86_64.whl (267.5 MB)\n",
|
| 219 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m267.5/267.5 MB\u001b[0m \u001b[31m6.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 220 |
+
"\u001b[?25hDownloading nvidia_cusparse_cu12-12.5.8.93-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (288.2 MB)\n",
|
| 221 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m288.2/288.2 MB\u001b[0m \u001b[31m5.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 222 |
+
"\u001b[?25hDownloading nvidia_cusparselt_cu12-0.7.1-py3-none-manylinux2014_x86_64.whl (287.2 MB)\n",
|
| 223 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m287.2/287.2 MB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 224 |
+
"\u001b[?25hDownloading nvidia_nccl_cu12-2.27.3-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (322.4 MB)\n",
|
| 225 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m322.4/322.4 MB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 226 |
+
"\u001b[?25hDownloading nvidia_nvjitlink_cu12-12.8.93-py3-none-manylinux2010_x86_64.manylinux_2_12_x86_64.whl (39.3 MB)\n",
|
| 227 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m39.3/39.3 MB\u001b[0m \u001b[31m19.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 228 |
+
"\u001b[?25hDownloading nvidia_nvtx_cu12-12.8.90-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89 kB)\n",
|
| 229 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m90.0/90.0 kB\u001b[0m \u001b[31m7.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 230 |
+
"\u001b[?25hDownloading triton-3.4.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (155.6 MB)\n",
|
| 231 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m155.6/155.6 MB\u001b[0m \u001b[31m9.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 232 |
+
"\u001b[?25hDownloading torchvision-0.23.0-cp312-cp312-manylinux_2_28_x86_64.whl (8.6 MB)\n",
|
| 233 |
+
"\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m8.6/8.6 MB\u001b[0m \u001b[31m93.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
|
| 234 |
+
"\u001b[?25hInstalling collected packages: nvidia-cusparselt-cu12, triton, nvidia-nvtx-cu12, nvidia-nvjitlink-cu12, nvidia-nccl-cu12, nvidia-curand-cu12, nvidia-cufile-cu12, nvidia-cuda-runtime-cu12, nvidia-cuda-nvrtc-cu12, nvidia-cuda-cupti-cu12, nvidia-cublas-cu12, torch-xla, nvidia-cusparse-cu12, nvidia-cufft-cu12, nvidia-cudnn-cu12, nvidia-cusolver-cu12, torch, torchvision\n",
|
| 235 |
+
" Attempting uninstall: nvidia-nccl-cu12\n",
|
| 236 |
+
" Found existing installation: nvidia-nccl-cu12 2.29.7\n",
|
| 237 |
+
" Uninstalling nvidia-nccl-cu12-2.29.7:\n",
|
| 238 |
+
" Successfully uninstalled nvidia-nccl-cu12-2.29.7\n",
|
| 239 |
+
" Attempting uninstall: torch-xla\n",
|
| 240 |
+
" Found existing installation: torch-xla 2.9.0\n",
|
| 241 |
+
" Uninstalling torch-xla-2.9.0:\n",
|
| 242 |
+
" Successfully uninstalled torch-xla-2.9.0\n",
|
| 243 |
+
" Attempting uninstall: torch\n",
|
| 244 |
+
" Found existing installation: torch 2.10.0+cpu\n",
|
| 245 |
+
" Uninstalling torch-2.10.0+cpu:\n",
|
| 246 |
+
" Successfully uninstalled torch-2.10.0+cpu\n",
|
| 247 |
+
" Attempting uninstall: torchvision\n",
|
| 248 |
+
" Found existing installation: torchvision 0.25.0+cpu\n",
|
| 249 |
+
" Uninstalling torchvision-0.25.0+cpu:\n",
|
| 250 |
+
" Successfully uninstalled torchvision-0.25.0+cpu\n",
|
| 251 |
+
"\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",
|
| 252 |
+
"torchaudio 2.10.0+cpu requires torch==2.10.0, but you have torch 2.8.0 which is incompatible.\u001b[0m\u001b[31m\n",
|
| 253 |
+
"\u001b[0mSuccessfully installed nvidia-cublas-cu12-12.8.4.1 nvidia-cuda-cupti-cu12-12.8.90 nvidia-cuda-nvrtc-cu12-12.8.93 nvidia-cuda-runtime-cu12-12.8.90 nvidia-cudnn-cu12-9.10.2.21 nvidia-cufft-cu12-11.3.3.83 nvidia-cufile-cu12-1.13.1.3 nvidia-curand-cu12-10.3.9.90 nvidia-cusolver-cu12-11.7.3.90 nvidia-cusparse-cu12-12.5.8.93 nvidia-cusparselt-cu12-0.7.1 nvidia-nccl-cu12-2.27.3 nvidia-nvjitlink-cu12-12.8.93 nvidia-nvtx-cu12-12.8.90 torch-2.8.0 torch-xla-2.8.0 torchvision-0.23.0 triton-3.4.0\n",
|
| 254 |
+
"Setting up RIFE interpolation model...\n",
|
| 255 |
+
"RIFE model already installed, skipping...\n",
|
| 256 |
+
"=== Setup Complete ===\n",
|
| 257 |
+
"\n",
|
| 258 |
+
"To run: python app.py\n",
|
| 259 |
+
"The app will be accessible via Colab's public URL\n"
|
| 260 |
+
]
|
| 261 |
+
}
|
| 262 |
+
],
|
| 263 |
+
"source": [
|
| 264 |
+
"!bash setup.sh"
|
| 265 |
+
]
|
| 266 |
+
}
|
| 267 |
+
]
|
| 268 |
+
}
|