-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add llama2_70B-Megatron pretraining #389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件在perf里面需要改动吗?能否直接使用FlagScale仓库的pretrain_llama
chip_tps = whole_tps / (args.nproc_per_node * args.nnodes) | ||
print("System tokens per second: ", whole_tps) | ||
print("Tokens/p/s: ", chip_tps) | ||
print("MFU: ", chip_tps * 7000000000.0 * 6 / theoryflops) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个MFU计算的正确吗?没数错的话这个是7B吧
@@ -1,7 +1,7 @@ | |||
'''Cluster configs''' | |||
|
|||
# Hosts to run the benchmark. Each item is an IP address or a hostname. | |||
HOSTS = ["10.1.2.2", "10.1.2.3", "10.1.2.4"] | |||
HOSTS = ["192.2.32.13", "192.2.32.14", "192.2.32.2", "192.2.32.4"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个不需要更改
@@ -0,0 +1,5 @@ | |||
#!/bin/bash | |||
# using github mirrors to avoid github TTL | |||
git clone https://githubfast.com/FlagOpen/FlagScale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里需要指定一下版本,可以指定commit
No description provided.