You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def read_metadata(tracker_filename):
# Read the tracker file and either set the iteration or
# mark it as a release checkpoint.
iteration = 0
release = False
with open(tracker_filename, 'r') as f:
metastring = f.read().strip()
try:
iteration = int(metastring)
except ValueError:
release = metastring == 'release'
if not release:
print_rank_0('ERROR: Invalid metadata file {}. Exiting'.format(
tracker_filename))
sys.exit()
assert iteration > 0 or release, 'error parsing metadata file {}'.format(
tracker_filename)
请帮忙解答一下这个问题
The text was updated successfully, but these errors were encountered:
问题如题
根据提供的下载链接,51B模型文件是iter_0000000,运行过程会报错parsing metadata file error
检查megatron/checkpointing.py代码发现似乎要iteration > 0,否则会报error?
尝试修改51B iter_00的大小和latest_checkpointed_iteration内容为1就能正常。
请帮忙解答一下这个问题
The text was updated successfully, but these errors were encountered: