mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-02 03:32:50 +08:00
fix
Former-commit-id: 842c5455b0e7c4b8d307af950304d4ed52bbb3e8
This commit is contained in:
parent
4f28e0e5d2
commit
4d8b782268
@ -138,7 +138,7 @@ def compute_mfu(
|
|||||||
result = json.load(f)
|
result = json.load(f)
|
||||||
|
|
||||||
mfu_value = (
|
mfu_value = (
|
||||||
result["train_samples_per_second"]
|
result["train_steps_per_second"]
|
||||||
* compute_model_flops(model_name_or_path, batch_size, seq_length)
|
* compute_model_flops(model_name_or_path, batch_size, seq_length)
|
||||||
/ compute_device_flops()
|
/ compute_device_flops()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user