Three ways to solve the problem of insufficient video memory
When using SkyReels-V2, if you encounter the problem of insufficient video memory, you can solve it by the following methods:
- Enable FP8 quantization mode: Adding the -quant parameter to the generate command (e.g., python generate_video.py -quant) reduces the model's precision from FP16 to FP8, and reduces the video memory requirement by 40%.
- Using Memory Offload Technology: Add the -offload parameter to temporarily transfer part of the computation to CPU memory (e.g. python generate_video.py -offload), suitable for consumer graphics cards with small video memory.
- Segmented video generation: Control the length of a single generation by setting the -segment_length parameter (default 97 frames), and then use video editing software to splice together the segments at a later stage.
For those on a budget, it is recommended to upgrade to an RTX 4090 (24GB) or A100 (40/80GB) graphics card. Multi-GPU configurations can be specified by the -gpu_ids parameter for the device (e.g. -gpu_ids 0,1,2)
This answer comes from the articleSkyReels V2: Open Source AI Tool for Generating Unlimited Length VideosThe































