We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f677373 commit 3e944c5Copy full SHA for 3e944c5
src/accelerate/commands/env.py
@@ -79,6 +79,8 @@ def env_command(args):
79
}
80
if pt_cuda_available:
81
info["GPU type"] = torch.cuda.get_device_name()
82
+ if pt_npu_available:
83
+ info["CANN version"] = torch.version.cann
84
85
print("\nCopy-and-paste the text below in your GitHub issue\n")
86
print("\n".join([f"- {prop}: {val}" for prop, val in info.items()]))
0 commit comments