Skip to content

Enhancement- Add Mixed-Precision (FP16/BF16) Support for Inference #156

@mnk-nasir

Description

@mnk-nasir

Problem: Current inference runs at full FP32 precision, which leads to high VRAM usage (typically >12GB for standard checkpoints) and slower generation times.

Proposed Solution:

Implement torch.cuda.amp.autocast in the inference script.

Provide a flag (--half) to switch between precision modes.

Benchmarking: Test for potential degradation in audio fidelity (WER/SIM scores) when using reduced precision.

Impact: This would allow users with 8GB VRAM GPUs to run the model locally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions