Memory

CLI Arguments

Video Memory Strategy

Balance fast frame processing and low VRAM usage.

Argument: --video-memory-strategy

Default: strict

Choices:

  • strict

  • moderate

  • tolerant

Example: --video-memory-strategy tolerant

System Memory Limit

Limit the available RAM that can be used while processing.

Argument: --system-memory-limit

Default: 0

Range: 0 to 128 at 4

Example: --system-memory-limit 16

Default Overrides

Modify the facefusion.ini file to override the defaults.

[memory]
video_memory_strategy = tolerant
system_memory_limit = 16

Last updated