mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-09 01:52:41 +00:00
Display torch version in the training log. (#299)
This commit is contained in:
parent
ceeb95bcb8
commit
7c0070e6f6
@ -95,6 +95,7 @@ def get_env_info() -> Dict[str, Any]:
|
|||||||
"k2-git-sha1": k2.version.__git_sha1__,
|
"k2-git-sha1": k2.version.__git_sha1__,
|
||||||
"k2-git-date": k2.version.__git_date__,
|
"k2-git-date": k2.version.__git_date__,
|
||||||
"lhotse-version": lhotse.__version__,
|
"lhotse-version": lhotse.__version__,
|
||||||
|
"torch-version": torch.__version__,
|
||||||
"torch-cuda-available": torch.cuda.is_available(),
|
"torch-cuda-available": torch.cuda.is_available(),
|
||||||
"torch-cuda-version": torch.version.cuda,
|
"torch-cuda-version": torch.version.cuda,
|
||||||
"python-version": sys.version[:3],
|
"python-version": sys.version[:3],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user