Unverified Commit d15ee17a authored by Hailey Schoelkopf's avatar Hailey Schoelkopf Committed by GitHub
Browse files

Fix typo

parent 0e56fcca
...@@ -367,7 +367,7 @@ def get_git_commit_hash(): ...@@ -367,7 +367,7 @@ def get_git_commit_hash():
Source: https://github.com/EleutherAI/gpt-neox/blob/b608043be541602170bfcfb8ec9bf85e8a0799e0/megatron/neox_arguments/neox_args.py#L42 Source: https://github.com/EleutherAI/gpt-neox/blob/b608043be541602170bfcfb8ec9bf85e8a0799e0/megatron/neox_arguments/neox_args.py#L42
""" """
try: try:
git_hash = subprocess.check_output(["gt", "describe", "--always"]).strip() git_hash = subprocess.check_output(["git", "describe", "--always"]).strip()
git_hash = git_hash.decode() git_hash = git_hash.decode()
except subprocess.CalledProcessError or FileNotFoundError: except subprocess.CalledProcessError or FileNotFoundError:
# FileNotFoundError occurs when git not installed on system # FileNotFoundError occurs when git not installed on system
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment