Skip to content

Commit

Permalink
[Misc] update collect env (#5261)
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaichao authored Jun 4, 2024
1 parent 650a4cc commit fee4dcc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions collect_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,11 @@ def get_version_or_na(cfg, prefix):
{conda_packages}
""".strip()

# both the above code and the following code use `strip()` to
# remove leading/trailing whitespaces, so we need to add a newline
# in between to separate the two sections
env_info_fmt += "\n"

env_info_fmt += """
ROCM Version: {rocm_version}
Neuron SDK Version: {neuron_sdk_version}
Expand Down

0 comments on commit fee4dcc

Please sign in to comment.