Framework
aigc-apps/VideoX-Fun avatar
aigc-apps/VideoX-Fun

The 12GB card in the supported list is the real claim

📹 A more flexible framework that can generate videos at any resolution and creates videos from images.

2,341 stars203 forksPythonApache-2.0

At a glance

What is it?
VideoX-Fun is a video generation and training pipeline from Alibaba's PAI group that puts CogVideoX-Fun and Wan on hardware a hobbyist owns, and the mechanism is a three-rung offload ladder, from moving the whole model to CPU after use, through a float8 quantised transformer, to moving each layer in turn. The verified environment list includes a 3060 with 12GB, and the cost is stated plainly: sixty gigabytes of weights on disk and a Docker run that disables seccomp.
Who is it for?
Adopt VideoX-Fun if you want to train a LoRA or a full baseline for a video model on hardware you already have, because the offload ladder is the difference between a 12GB card working and not working, and the three inference entries mean you can start from a Python file before you ever open a web interface.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 4 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • aigc-apps/VideoX-Fun2,341 ★ · +66
Star history
Repository2026-09-302026-11-23
aigc-apps/VideoX-Fun2.3k2.3k

66 Stars in the last 54 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The scope is generation plus training, not one of them

The introduction is one paragraph and it is denser than it looks. VideoX-Fun is described as a video generation pipeline that can generate images and videos, and as a tool to train baseline and LoRA models for diffusion transformer architectures. Two capabilities, and the second is the one that changes who the project is for. Generating from a pre-trained checkpoint is a few lines of configuration; training a baseline or a LoRA for a style transformation is a research workflow with a data pipeline, a training loop and something to load afterwards. The repository reflects both. There is a datasets directory, a config directory, an install script, and a weights directory with a subdirectory for personalised models whose comment says it holds your trained transformer model or your trained LoRA model for the interface to load. The pipeline also claims direct prediction from pre-trained baselines at different resolutions, durations and frame rates, which is a modest-sounding claim that actually matters, because it means you are not locked to the resolution the checkpoint was trained at.

Three entries, one model directory, and the path changes with the entry

The inference section opens with the sentence that explains the project's shape: video and image models share the exact same inference entry, provided by scripts or a user interface under a per-model directory in the examples folder. Then there is a table choosing between three entries, and the third column is the one that matters. A Python file is for batch generation and parameter debugging, with full parameters. A web interface is for interactive experience, with the common parameters only. A ComfyUI entry is for people who already have a workflow, and its parameters are the node parameters. Then the consequence nobody expects, which is that the weights go somewhere different depending on which entry you chose. For the ComfyUI path they go into that application's model folder under a subdirectory named for this project. For the Python and web paths they go into a models directory with a subdirectory for diffusion transformer weights and another for personalised models. So the first decision is not which model but which front end, because that fixes your directory layout before you download anything.

The offload ladder is the consumer-GPU story

The memory section explains the design constraint in one sentence: the Wan model family has a very large number of parameters, so memory optimisation strategies are needed to adapt to consumer-grade graphics cards. The answer is a setting called the GPU memory mode, offered in each prediction file, with three rungs and an honest cost attached to each. The first moves the entire model to the CPU after use, which saves some memory. The second does the same and additionally quantises the transformer model to float8, which saves more, with the caveat that float8 may slightly reduce model performance. The third moves each layer of the model to the CPU after it is used, which is slower but saves a significant amount. And then the recommendation, which is the sentence that tells you how the author expects people to run this: if you have sufficient GPU memory, use the plain offload mode. That is a well-judged default, because the first rung costs you little and the third costs you throughput, and a project that led with the most aggressive option would be optimising for the wrong user.

A 3060 with 12GB is on the verified list

The environment section lists what the maintainers actually ran, and it is the most persuasive paragraph in the README. On Windows 10 with Python 3.10 and 3.11, torch 2.2.0, CUDA 11.8 and 12.1, cuDNN 8 or newer, the graphics cards are a 3060 with 12GB and a 3090 with 24GB. On Linux with Ubuntu 20.04 or CentOS and the same library versions, the cards are a V100 with 16GB, an A10 with 24GB, and A100s with 40GB and 80GB. A video diffusion model running on a 12GB consumer card is the claim that distinguishes this project from a research release, and it is only possible because of the offload ladder. The disk requirement is stated just as bluntly, about 60GB available for saving weights, with a request to check before starting. Both numbers together describe the real shape of the project: this is not a small download, and the flexibility comes from moving model weights between devices rather than from them being small.

The Docker command disables seccomp and asks for 200GB of shared memory

The container instructions are short and the run flags are the interesting part, because they tell you what the workload does that a default container profile does not allow. The image is pulled from an Aliyun registry, and the run asks for host networking, all GPUs, an unconfined seccomp profile and 200 gigabytes of shared memory, with port 7860 published:

bash
docker run -it -p 7860:7860 --network host --gpus all --security-opt seccomp:unconfined --shm-size 200g mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easycv/torch_cuda:cogvideox_fun

Two of those are engineering requirements and one is a security decision. A large shared memory allocation is the dataloader, and the training and preprocessing steps in this pipeline shard and decode video, which is exactly the kind of work that uses POSIX shared memory between worker processes and fails with a default 64MB. The unconfined seccomp profile is broader: it tells the container's kernel that its system calls are not going to be filtered. That is often necessary for GPU and video workloads that touch device mappings, and it is also a real reduction in isolation, so if you run this on a shared machine it is worth knowing you are running an unconfined container.

More than twenty model directories, and features that vary

The examples tree is the honest measure of the project's scope, and it is large. Alongside the two headline model families there are directories for Hunyuan Video, LTX in two versions, several Qwen image variants including instant and personalised builds, Flux and Flux2 with a Fun variant, and a cluster of specialised models that read like a research agenda: talking-head generation, infinite talk, a head-focused model, video and world models from a separate project, a phantom, a mover, a long-video model, a lens model, a couple of H3 variants, and an image model. Each directory is a separate entry point, and the README's own instruction is candid about the consequence, saying that the supported features vary and telling you to use them accordingly. That is the maintenance shape of a project that absorbs a new checkpoint family every few weeks, and it is why the three-entry table exists. A new model is a new directory with its own parameters rather than a configuration change, which keeps old models working and makes the repository's size grow with every addition.

Weights from two mirrors, and a Comfy Registry publisher entry

Two distribution details are worth noting. The first is that every checkpoint is offered on two hosts, the Hugging Face repository and the ModelScope repository, with the README listing the pair for the CogVideoX and the Wan checkpoints. For a project from a Chinese cloud group, hosting on both a Western and a domestic model hub is a reach decision as much as a redundancy one, and it means a download failure is usually a mirror problem rather than a missing file. The second is in the packaging metadata, which carries a block of Comfy configuration with a publisher identifier and a display name, and the comment above it says it is used by the Comfy Registry. Alongside a directory for ComfyUI integration in the repository, that says the project intends to be discovered and installed through that ecosystem rather than only cloned from source. It is a distribution strategy stated in a build file, which is a more honest place to find it than a paragraph of positioning.

Apache-2.0, a version in the metadata, and no releases

The maintenance picture is straightforward and worth stating precisely. The licence is Apache-2.0 with the file referenced from the package metadata, which is one of the more permissive choices available for a project whose weights are large and whose upstream checkpoints carry their own terms. The package version is 1.0.1 and there are no GitHub releases at all, so the version you install comes from the package metadata rather than from a tag, and the README's table of contents includes a section on limitations and risks that the visible text does not reproduce. For a project moving as fast as this one, that is the section to find before you commit hardware to it. The repository is maintained actively, with the last push on 2026-09-27, and it carries a security-relevant detail in its dependency list: the package dependencies and the requirements file are not identical, with the requirements file adding audio decoding and an inference runtime that the package metadata leaves out, so which of the two you install from changes your environment.

Editorial conclusion

Adopt VideoX-Fun if you want to train a LoRA or a full baseline for a video model on hardware you already have, because the offload ladder is the difference between a 12GB card working and not working, and the three inference entries mean you can start from a Python file before you ever open a web interface. Do not adopt it if you need one model family supported deeply, since the example tree has absorbed more than twenty model directories whose feature sets the README says vary, or if you cannot accept a training pipeline that expects 60GB of weights on disk. Verify four things: that your driver, CUDA and cuDNN versions are inside the verified matrix, which is torch 2.2.0 with CUDA 11.8 or 12.1 and cuDNN 8 or newer, that you have chosen an offload mode you can live with, because sequential offloading is the only one that will fit a small card and it is the slowest, that you have 60GB free before you start downloading, and which entry you want, since the weights go to a different directory depending on whether you run the Python scripts, the web interface or a ComfyUI workflow. The licence is Apache-2.0, the package version is 1.0.1, and there are no GitHub releases.

Frequently asked questions

What can VideoX-Fun do besides generate video?

It generates images and videos, and it trains baseline and LoRA models for diffusion transformer architectures, including style transformations. Trained models go in a directory for personalised models that the interface can load, and prediction from a pre-trained baseline works at different resolutions, durations and frame rates.

What hardware does VideoX-Fun need?

The verified list covers Windows 10 and Linux with Ubuntu 20.04 or CentOS, Python 3.10 or 3.11, torch 2.2.0, CUDA 11.8 or 12.1 and cuDNN 8 or newer, on cards from a 3060 with 12GB up to an A100 with 80GB. The README also says you need about 60GB of free disk for the weights.

What do the VideoX-Fun GPU memory modes do?

There are three. model_cpu_offload moves the whole model to the CPU after use, model_cpu_offload_and_qfloat8 does that and quantises the transformer to float8, which may slightly reduce performance, and sequential_cpu_offload moves each layer in turn, which is slower but saves significantly more. The README recommends the first if you have sufficient GPU memory.

How do I run VideoX-Fun, from a script or an interface?

There are three entries and they differ in parameter coverage: a Python file for batch generation and debugging with full parameters, a web interface for interactive use with the common parameters, and a ComfyUI entry for existing workflows with node parameters. The weights directory differs per entry, with ComfyUI expecting them in its own model folder.

Where do I download the VideoX-Fun model weights from?

Each checkpoint is offered on two hosts, Hugging Face and ModelScope, and the README lists both links for the CogVideoX and the Wan checkpoints. The container run also asks for an unconfined seccomp profile, all GPUs, host networking and 200GB of shared memory.

What licence is VideoX-Fun released under?

Apache-2.0, referenced from the package metadata which reports version 1.0.1. The repository publishes no GitHub releases, and its package dependencies and requirements file differ, since the requirements file adds audio decoding and an inference runtime that the package metadata does not list.

Official sources

  1. aigc-apps/VideoX-Fun on GitHub
  2. Issues
  3. License: Apache-2.0
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/aigc-apps-videox-fun.svg)](https://hysenlabs.com/projects/aigc-apps-videox-fun)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/aigc-apps-videox-fun.svg)](https://hysenlabs.com/projects/aigc-apps-videox-fun)

Was this useful?