mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-26 18:24:18 +00:00
Update env.py
This commit is contained in:
parent
68980c5d0a
commit
62eb61037d
@ -108,7 +108,7 @@ def get_env_info() -> Dict[str, Any]:
|
|||||||
"torch-version": str(torch.__version__),
|
"torch-version": str(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": ".".join(sys.version.split(".")[:2]),
|
||||||
"icefall-git-branch": get_git_branch_name(),
|
"icefall-git-branch": get_git_branch_name(),
|
||||||
"icefall-git-sha1": get_git_sha1(),
|
"icefall-git-sha1": get_git_sha1(),
|
||||||
"icefall-git-date": get_git_date(),
|
"icefall-git-date": get_git_date(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user