Skip to content

Commit c7c28e9

Browse files
Michael Shimeta-codesync[bot]
authored andcommitted
Enable basic logging in CIFAR-10 examples in Shampoo
Summary: See title. Reviewed By: jialun-zhang Differential Revision: D88899177 fbshipit-source-id: 9ff0c8092d9ddd4708ac332b41beab80e79f7922
1 parent 89f00f7 commit c7c28e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

distributed_shampoo/examples/loss_metrics.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import torch.distributed as dist
1717
from torch.utils.tensorboard import SummaryWriter
1818

19+
logging.basicConfig(level=logging.INFO)
1920
logger: logging.Logger = logging.getLogger(__name__)
2021

2122
# create default device

0 commit comments

Comments
 (0)