BaguaSys / bagua

Bagua Speeds up PyTorch
https://tutorials-8ro.pages.dev/
MIT License
875 stars 83 forks source link

How to enable debug trace in rust? #607

Closed ymlei closed 2 years ago

ymlei commented 2 years ago

Hi, any hints on how to enable debug trace in the rust code? For example, https://github.com/BaguaSys/bagua/blob/master/rust/bagua-core/bagua-core-internal/src/comm_ops/centralized_full_precision_synchronous.rs#L31 Thanks!

wangraying commented 2 years ago

You may set LOG_LEVEL=DEBUG in the running env.