log_level.py 339 B

1234567891011121314
  1. #!/usr/bin/env python3
  2. # Copyright (c) Facebook, Inc. and its affiliates.
  3. # All rights reserved.
  4. #
  5. # This source code is licensed under the BSD-style license found in the
  6. # LICENSE file in the root directory of this source tree.
  7. def get_log_level() -> str:
  8. """
  9. Return default log level for pytorch.
  10. """
  11. return "WARNING"