mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-11-03 15:48:06 +00:00
remove redundant code and fix bugs
This commit is contained in:
@@ -66,7 +66,7 @@ def launch_distributed(
|
||||
|
||||
dataset_path = train_dataset_config["path"]
|
||||
num_samples = get_jsonl_size_fast(dataset_path)
|
||||
global_inference_batch_size = inference_batch_size * num_producers # TODO: this doesn't support TP on producer
|
||||
global_inference_batch_size = inference_batch_size * num_producers
|
||||
num_update_per_episode = num_samples // global_inference_batch_size
|
||||
num_recv_per_update = inference_batch_size // inference_microbatch_size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user