Skip to content

by default less warnings for the tf32 flags #6907

@wyli

Description

@wyli

I'm running the AutoRunner() from monai on 8 gpus, these WARNINGS are overwhelming. It printed them 16 times (probably from DataAnalyzer() which creates several parallel processes), then another 8 WARNINGS when training starts.

Can we please disable these warnings? Or at least show it just one time, and not so many. thank you.

Originally posted by @myron in #6754 (comment)

MONAI/monai/__init__.py

Lines 83 to 85 in 2daabf9

from .utils.tf32 import detect_default_tf32
detect_default_tf32()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions