SIGN IN SIGN UP

Reduce log level of mlock failure in mmap_data_loader (#2498)

Summary:
Pull Request resolved: https://github.com/pytorch/executorch/pull/2498

Some large models with a large number of segments will fail this check, spamming the log with this message every time.

Drop the level to Debug so we can still see it if interested, but to keep it silenced by default (Info is the default log level).

The downside of this is that people may not know that their memory isn't being locked. But in those situations, they may not be looking at the logs anyway.

Reviewed By: mikekgfb

Differential Revision: D55045041

fbshipit-source-id: d93e4e9b38db0ef84947d66dedfb826dafd3b10f
D
Dave Bort committed
98f679fffdbf04bfda4ee82d32298d2157a9732a
Parent: 4c9e3ea
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 3/19/2024, 1:53:55 AM