mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/63214 The default log level in fb and oss is different: in oss we use WARNING and in fb we use INFO. Test Plan: unittests, f291441502 Reviewed By: cbalioglu Differential Revision: D30296298 fbshipit-source-id: 89067352be767255fbc66e790ec333582de64c6c
15 lines
339 B
Python
15 lines
339 B
Python
#!/usr/bin/env python3
|
|
|
|
# Copyright (c) Facebook, Inc. and its affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
|
|
def get_log_level() -> str:
|
|
"""
|
|
Return default log level for pytorch.
|
|
"""
|
|
return "WARNING"
|