ClamAV - Scanning Files Larger than 2GB

Hi!

The docs on the Hub’s security scanner say Clamav is used for scanning models. Many of these models can be quite large, and certainly over 2GB. For my project, I’m currently also looking into virus scanning larger model files. However, I recently discovered that ClamAV has a hard limit and is unable to scan files larger then 2GB.

I was wondering if the HuggingFace team could share some details on how it is able to scan files larger than 2GB with ClamAV?

I appreciate any help here!