FaceFusion
NEXT
NEXT
  • Introduction
    • Changelog
    • Disclaimer
    • Licenses
  • Installation
    • Platform
      • Linux
      • macOS
      • Windows
    • Accelerator
      • Linux
      • Windows
  • Usage
    • CLI Commands
      • General
      • Job Manager
      • Job Runner
    • CLI Arguments
      • Paths
      • Patterns
      • Face Detector
      • Face Landmarker
      • Face Selector
      • Face Masker
      • Frame Extraction
      • Output Creation
      • Processors
        • Age Modifier
        • Deep Swapper
        • Expression Restorer
        • Face Debugger
        • Face Editor
        • Face Enhancer
        • Face Swapper
        • Frame Colorizer
        • Frame Enhancer
        • Lip Syncer
      • UIs
      • Execution
      • Download
      • Memory
      • Misc
    • Deepfake Webcam
    • Platform Benchmark
    • Run With Docker
  • Troubleshooting
    • macOS
    • Windows
  • Workshop
    • Processor
    • UI Layout
    • UI Component
  • Knowledgebase
    • Face Vocabulary
    • Error Codes
    • GPU Capabilities
  • Donation
  • FAQ
  • Project
    • GitHub
    • Shop
  • COMMUNITY
    • Discord
    • Reddit
  • Partner
    • RunDiffusion
    • Pinokio
Powered by GitBook
On this page
  • CLI Arguments
  • Execution Device Id
  • Execution Providers
  • Execution Thread Count
  • Execution Queue Count
  • Default Overrides
  1. Usage
  2. CLI Arguments

Execution

CLI Arguments

Execution Device Id

Specify the device used for processing.

Argument: --execution-device-id

Default: 0

Example: --execution-device-id 1

Execution Providers

Inference using different providers.

Argument: --execution-providers

Default: Auto

Choices:

  • cpu

  • coreml

  • cuda

  • directml

  • rocm

  • tensorrt

Example: --execution-providers cuda

Execution Thread Count

Specify the amount of parallel threads while processing.

Argument --execution-thread-count

Default: 4

Range: 1 to 32 at 1

Example: --execution-thread-count 32

Execution Queue Count

Specify the amount of frames each thread is processing.

Argument --execution-queue-count

Default: 1

Range: 1 to 4 at 1

Example: --execution-queue-count 2

Default Overrides

Modify the facefusion.ini file to override the defaults.

[execution]
execution_device_id = 1
execution_providers = cuda
execution_thread_count = 32
execution_queue_count = 2