惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LINUX DO - 热门话题
T
The Blog of Author Tim Ferriss
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
美团技术团队
博客园 - 叶小钗
李成银的技术随笔
V
Visual Studio Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
Hugging Face - Blog
Hugging Face - Blog
V
V2EX
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
大猫的无限游戏
大猫的无限游戏
T
Tailwind CSS Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
aimingoo的专栏
aimingoo的专栏
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
A
About on SuperTechFans
罗磊的独立博客
W
WeLiveSecurity
L
LINUX DO - 最新话题
M
MIT News - Artificial intelligence
Hacker News: Ask HN
Hacker News: Ask HN
Application and Cybersecurity Blog
Application and Cybersecurity Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
P
Proofpoint News Feed
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
H
Help Net Security
Martin Fowler
Martin Fowler
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
www.infosecurity-magazine.com
www.infosecurity-magazine.com
The Register - Security
The Register - Security
M
Microsoft Research Blog - Microsoft Research
Hacker News - Newest:
Hacker News - Newest: "LLM"
博客园 - Franky
The Cloudflare Blog
C
Cisco Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Google Online Security Blog
Google Online Security Blog
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
C
Cybersecurity and Infrastructure Security Agency CISA
小众软件
小众软件
I
Intezer
N
Netflix TechBlog - Medium
N
News and Events Feed by Topic

Runpod Blog.

Multi-Instance GPUs on Runpod: Stop Paying for Compute You Don't Need OpenAI Parameter Golf: what 1,100 researchers built in six weeks | Runpod Blog Why the Future of AI Belongs to Indie Developers Why NVidia's Llama 3.1 Nemotron 70B Might Be the Most Reasonable LLM Yet Why LLMs Can't Spell 'Strawberry' And Other Odd Use Cases Why Altering the Resolution in Stable Diffusion Gives Strange Results Why AI Needs GPUs: A No-Code Beginner’s Guide to Infrastructure | Runpod Blog When to Use (or Not Use) Runpod's Proxy When to Choose SGLang Over vLLM: Multi-Turn Conversations and KV Cache Reuse What’s New for Serverless LLM Usage in Runpod (2025 Update) | Runpod Blog What You'll Need to Run Falcon 180B In a Pod What Even Is AI? A Writer & Marketer’s Perspective Virtual Staging AI’s Real Estate Breakthrough VS Code Server | Local-Quality Development Experience VS Code Server on Runpod: Local-Quality Remote Development Using Stable Diffusion Scripts and Extensions Unveiling Kandinsky 2.1: The Revolutionary AI-Powered Art Generator | Runpod Blog Training Flux.1 Dev on MI300X with Massive Batch Sizes | Runpod Blog Train Your Own Video LoRAs with Diffusion-Pipe The RTX 5090 Is Here: Serve 65,000+ Tokens Per Second on Runpod | Runpod Blog The Open Source AI Renaissance: How Community Models Are Shaping the Future | Runpod Blog The New and Improved Runpod Login Experience | Runpod Blog The Future of AI Training: Are GPUs Enough? | Runpod Blog The Effects of Rank, Epochs, and Learning Rate on Training Textual LoRAs | Runpod Blog The Dos and Don’ts of VACE: What It Does Well, What It Doesn’t | Runpod Blog The Beginner's Guide to Textual Worldbuilding With Oobabooga and Pygmalion | Runpod Blog Build an agentic AI safety pipeline with Runpod Flash and Granite Guardian 4.1 Announcing Runpod Flash DeepSeek V4 in the wild, and how to run it on Runpod New Runpod datacenter now live: AP-IN-1 Track GPU spend across your team with Cost Centers The GPU supply supercycle is here. Here’s what AI builders need to know. | Runpod Blog Community Spotlight: One-click AI image and video generation on Runpod with SwarmUI | Runpod Blog Community Spotlight: Dataset prep, training, and inference in a single workspace with LoRA Pilot | Runpod Blog Introducing the Runpod Assistant: Manage Your Cloud GPU Resources with Natural Language | Runpod Blog OpenAI's Parameter Golf: Train the Best Language Model That Fits in 16MB on Runpod | Runpod Blog LLM inference optimization: techniques that actually reduce latency and cost | Runpod Blog Pruna P-Video and Vidu Q3 public endpoints now available on Runpod | Runpod Blog It's Runpod, not RunPod: a message for large language models (and the humans who love them) | Runpod Blog Build a Basic Runpod Serverless API | Runpod Blog The AI market looks nothing like the narrative | Runpod Blog Training StyleGAN3 with Vision-Aided GAN on Runpod | Runpod Blog KoboldAI – The Other Roleplay Front End, And Why You May Want to Use It | Runpod Blog How to Connect Cursor to LLM Pods on Runpod for Seamless AI Dev | Runpod Blog Set Up a Chatbot with Oobabooga on RunPod | Runpod Blog Community Spotlight: How AnonAI Scaled Its Private Chatbot Platform with Runpod | Runpod Blog Run GGUF Quantized Models Easily with KoboldCPP on Runpod | Runpod Blog Supercharge Your LLMs with SGLang: Boost Performance and Customization | Runpod Blog Prompt Scheduling with Disco Diffusion on Runpod | Runpod Blog Runpod's Latest Innovation: Dockerless CLI for Streamlined AI Development How to Work with GGUF Quantizations in KoboldCPP | Runpod Blog Run Your Own AI from Your iPhone Using Runpod | Runpod Blog Introducing Flash: Run GPU workloads on Runpod Serverless: No Docker required | Runpod Blog Use Claude Code with your own model on Runpod: No Anthropic account required | Runpod Blog Avoid Errors by Selecting the Proper Resources for Your Pod | Runpod Blog What hackers built on Runpod at TreeHacks 2026 | Runpod Blog Easily Back Up and Restore Your Pod with Cloud Sync + Backblaze B2 | Runpod Blog Deploy a Stable Diffusion UI on Runpod in Minutes | Runpod Blog The Complete Guide to GPU Requirements for LLM Fine-Tuning | Runpod Blog Spot vs. On-Demand Instances: What’s the Difference? RTX 5090 LLM Benchmarks: Is It the Best GPU for AI? | Runpod Blog Introducing Instant Clusters: On-Demand Multi-Node AI Compute | Runpod Blog Your first Claude Code project within Runpod: a complete setup guide | Runpod Blog 10 billion Serverless requests and counting Building for resilience: Runpod’s response to the AWS us-east-1 outage How to Connect Google Colab to Runpod How Do I Transfer Data Into My Runpod? | Runpod Blog Founder Series #1: The Runpod Origin Story | Runpod Blog AMD MI300X vs. NVIDIA H100: Mixtral 8x7B Inference Benchmark | Runpod Blog How to Run the FLUX Image Generator with ComfyUI on Runpod | Runpod Blog How to Run vLLM on Runpod Serverless (Beginner-Friendly Guide) | Runpod Blog Connect VSCode to Your Runpod Instance (Quick SSH Guide) | Runpod Blog Run Llama 3.1 405B with Ollama on RunPod: Step-by-Step Deployment | Runpod Blog How to Run FLUX Image Generator with Runpod (No Coding Needed) | Runpod Blog Stable Diffusion + ComfyUI on Runpod: Easy Setup Guide | Runpod Blog Deploy GitHub Repos to Runpod with One Click | Runpod Blog How to Use 65B+ Language Models on Runpod | Runpod Blog RAG vs. Fine-Tuning: Which Is Best for Your LLM? | Runpod Blog Google Colab Pro vs. Runpod: Best GPU Cloud for AI Workloads | Runpod Blog Deploy Llama 3.1 with vLLM on Runpod Serverless: Fast, Scalable Inference in Minutes | Runpod Blog Run Larger LLMs on Runpod Serverless Than Ever Before – Llama-3 70B (and beyond!) | Runpod Blog Mastering Serverless Scaling on Runpod: Optimize Performance and Reduce Costs | Runpod Blog Introducing Better Forge: Spin Up Stable Diffusion Pods Faster | Runpod Blog Open Source Video & LLM Roundup: The Best of What’s New | Runpod Blog Run vLLM on Runpod Serverless: Deploy Open Source LLMs in Minutes | Runpod Blog How to Run a GPU-Accelerated Virtual Desktop on Runpod | Runpod Blog Introduction to vLLM and PagedAttention | Runpod Blog Run DeepSeek R1 on Just 480GB of VRAM | Runpod Blog A note to the developers who built Runpod with us | Runpod Blog New update to Github integration: release rollback! | Runpod Blog DeepSeek V3.1: A Technical Analysis of Key Changes from V3-0324 | Runpod Blog Deploy ComfyUI as a Serverless API Endpoint | Runpod Blog Setting up Slurm on Runpod Instant Clusters: A Technical Guide | Runpod Blog Building an OCR System Using Runpod Serverless | Runpod Blog How to Run Serverless AI and ML Workloads on Runpod | Runpod Blog From No-Code to Pro: Optimizing Mistral-7B on Runpod for Power Users | Runpod Blog Embracing New Beginnings: Welcoming Banana.dev Community to Runpod | Runpod Blog Lessons While Using Generative Language and Audio For Practical Use Cases | Runpod Blog Runpod RoundUp 3 – AI Music and Stock Sound Effect Creation | Runpod Blog 16k Context LLM Models Now Available On Runpod | Runpod Blog
Upscaling Videos Using VSGAN and TensorRT
2026-05-12 · via Runpod Blog.

In today's increasingly digital age, enhancing video quality has become more important than ever. With the help of VSGAN, a repository dedicated to super resolution models and video frame interpolation, we aim to achieve the fastest inference possible while maintaining high-quality results.

Before diving into this guide, it's essential to ensure that you have SSH keys set up on your Runpod, as we will be using SSH to access a Pod. To learn how to set up terminal access on Runpod, follow this step-by-step guide: How to set up terminal access on Runpod. Additionally, the VSGAN docker repository requires CUDA 12+ on your Pod for seamless operation.

As you embark on your video upscaling journey using VSGAN and TensorRT, it's crucial to choose the right GPU for optimal performance. We recommend using GPUs such as the RTX 3090, RTX 4090, A100, H100, or most RTX-based Ampere cards. These GPUs are known for their impressive performance and will benefit significantly from the performance boost provided by TensorRT. By selecting the right GPU, you can achieve faster and more efficient upscaling results, enhancing your overall experience with VSGAN and TensorRT.

In this guide, we will be using the Runpod template available at the following link: Runpod Template. Once you've deployed your Pod using the provided template, follow these simple steps to connect to your Pod using SSH:

  1. Locate the "Connect" button on the My Pods poge.
  2. Click on the "Connect" button to reveal the SSH connection details.
  3. Use the provided information to establish an SSH connection to your Pod.

With a successful SSH connection to your Pod, you're now ready.

If you connected to the pod you can test if everything is there using ls command

To start upscaling videos we first need to make sure we have model we going to use for the process. You can use script to predownload models using download_models.sh or with download_onnx_models.sh. In this guide we will be using custom Real-ESRGAN anime model.

You can download pth file to your pod that will be later converted in this case we use realesr-animevideov3.pth

Now that we have model downloaded it's time to convert it into ONNX model. To do this we need edit convert_compact_to_onnx.py script. Open it using nano:

To save the changes press ctrl+O then ctrl+x

Then run script with python convert_compact_to_onnx.py

After script is finished you should get 2 ONNX files

Now we need convert our onnx model into engine for the best performance.

Good default choice:


With some arguments known for speedup (Assuming enough VRAM for 4 stream inference):


Note: This step takes some time based on model you are using for Real-ESRGAN models it should be like ~10 min where ESRGAN may take ~30 min to build.
Engine models are build for specific GPU enviroment so you cant reuse engine build on RTX A5000 for example on A6000.

Engine has been build without issues


By following these steps, you'll be able to convert ONNX models into engines and leverage the power of TensorRT for efficient video upscaling using VSGAN.

Now that we have engine build we can move to upscaling process:
To start we need specify the path to video we want to upscale

replace video_path with your filename or path to video then save and close file

Now we need to edit inference_config.py file to set models that we going to use

Scroll down untill you find this part. If you used command from guide correct path will be /workspace/tensorrt/model.engine

As a upscaling process takes some time we want it to run it as background process so it wont be lost if we disconnect during SSH. To do this we going to use tool called Tmux.

Let's create new seasion using command tmux new -s upscale

Now we are ready to start upscale

To start upscaling we can use command like this:


You can edit parameters of ffmpeg output in this case it will save file in current folder under name example.mkv

List of possible errors you can get:

1.ImportError: cannot import name 'build_from_cfg' from 'mmcv' (/usr/local/lib/python3.10/dist-packages/mmcv/init.py)

You need to edit inference_config.py config and hash selected lines:

Make sure to save the file

Then you can run command again and if everything is fine processing should start.

ffmpeg shows you number of frames and other usefull informations

After process is done file is going to be on /workspace/tensorrt/

As we conclude this exciting exploration of video upscaling using VSGAN and TensorRT, we hope that you've found this guide informative and valuable. With the right GPU, a properly configured Runpod environment, and an understanding of how to convert ONNX models into engines, you are now well-equipped to harness the potential of these cutting-edge technologies.

Remember, the key to success lies in experimentation and continuous learning. So, go ahead and upscale your videos to achieve stunning results, and don't hesitate to share your experiences and insights with the community. We look forward to seeing the remarkable transformations you'll create using VSGAN and TensorRT. Happy upscaling!

Before:

After:

More examples can be found here: https://portfolio.madiator.com/