{ "nbformat": 4, "nbformat_minor": 0, "metadata": { "colab": { "provenance": [], "gpuType": "T4" }, "kernelspec": { "name": "python3", "display_name": "Python 3" }, "accelerator": "GPU" }, "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# P.AI AI Video Studio — RelayVSR X2 (W6A8 / W4A8 / NVFP4) & X4 (NVFP4) Colab Quantizer\n", "1. Set **Runtime → Change runtime type → T4 / L4 GPU**.\n", "2. Run the cell below and paste your HuggingFace Write token when prompted.\n", "3. It will download `lightx2v/RelayVSR_X2` and `kopper/RelayVSR`, quantize all 4 checkpoints with `comfy-kitchen`, and upload them directly to `AnosVoldigoad1/PAI-Video-Studio-Video-Diffusion/relayvsr/`." ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [ "!pip install -q --upgrade comfy-kitchen safetensors huggingface_hub\n", "!curl -sSL -o quantize_relayvsr_colab.py https://huggingface.co/AnosVoldigoad1/PAI-Video-Studio-Video-Diffusion/resolve/main/scripts/quantize_relayvsr_colab.py\n", "import getpass, os\n", "os.environ['HF_TOKEN'] = getpass.getpass('Paste your HuggingFace Write token: ')\n", "!python3 quantize_relayvsr_colab.py\n" ] } ] }