| feat: Supports enabling environment variable log
Co-authored-by: chenkun<chenkun82@huawei.com>
# message auto-generated for no-merge-commit merge:
!28110 merge master_feat_environ_log_v2 into master
feat: Supports enabling environment variable log
Created-by: kuhn7
Commit-by: chenkun
Merged-by: ascend-robot
Description: <!-- Thanks for sending a pull request!
-->
**What type of PR is this?**
feature
**What does this PR do / why do we need it**:
Environment variable logging can be enabled by setting export TORCH_NPU_LOGS=env to help debug
**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: Fixes #<issue number>, or Fixes (paste link of issue).
-->
Fixes #
**Special notes for your reviewers**:
See merge request: Ascend/pytorch!28110 | 5 个月前 |