alibaba / ChatLearn
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
17% | 17% | 35% | 17% | 13%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
py17% | 17% | 35% | 17% | 13%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
chatlearn17% | 17% | 35% | 17% | 12%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
parameter_sync.py
in chatlearn/synchronizer
1612 84
vllm_utils.py
in chatlearn/utils
1102 37
vllm_module.py
in chatlearn/models
798 35
base_module.py
in chatlearn/models
754 120
layers.py
in chatlearn/models/megatron/lora
586 42
engine.py
in chatlearn/runtime
542 40
arguments.py
in chatlearn/utils
449 24
qwen3_moe.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
442 17
log_monitor.py
in chatlearn/utils
436 13
qwen3.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
436 16
vllm_module_v2.py
in chatlearn/models
422 39
executor.py
in chatlearn/runtime
366 23
megatron_vllm.py
in chatlearn/synchronizer
356 18
model_manager.py
in chatlearn/schedule
355 20
fsdp_module.py
in chatlearn/models
339 26
dist_actor.py
in chatlearn/runtime
335 58
utils.py
in chatlearn/utils
296 29
data.py
in chatlearn/data
290 33
sampler.py
in chatlearn/data
284 16
megatron_to_hf.py
in chatlearn/tools
270 7
environment.py
in chatlearn/runtime
247 17
trainer_v1v2.py
in chatlearn/models/megatron/memory_manager
215 7
dlc_utils.py
in chatlearn/launcher
195 19
megatron_module.py
in chatlearn/models
193 31
trainer_v4.py
in chatlearn/models/megatron/memory_manager
192 7
flat_tensors.py
in chatlearn/utils
189 16
decorator.py
in chatlearn/runtime
187 6
trainer_v3.py
in chatlearn/models/megatron/memory_manager
178 6
model_flow.py
in chatlearn/runtime
171 19
deepspeed_utils.py
in chatlearn/models/deepspeed
159 8
156 21
deepspeed_module.py
in chatlearn/models
149 13
torch_module.py
in chatlearn/models
139 13
ray_gpu_executor.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
135 1
policy_gradient.py
in chatlearn/models/megatron/ops
127 3
dist_utils.py
in chatlearn/utils
124 6
megatron_utils.py
in chatlearn/utils
123 5
ray_gpu_executor.py
in chatlearn/models/vllm/hooks/vllm_0_6_3
123 1
base_trainer.py
in chatlearn/models/megatron/memory_manager
117 12
checkpoint_manager.py
in chatlearn/checkpoint
110 12
metric_manager.py
in chatlearn/schedule
93 7
timer.py
in chatlearn/utils
82 10
base.py
in chatlearn/synchronizer
81 7
llm.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
79 1
evaluator.py
in chatlearn/runtime
78 7
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_3
75 4
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
71 4
logger.py
in chatlearn/utils
66 6
trainer.py
in chatlearn/runtime
65 7
llm.py
in chatlearn/models/vllm/hooks/vllm_0_6_3
64 1
Files With Most Units (Top 50)
File# lines# units
base_module.py
in chatlearn/models
754 120
parameter_sync.py
in chatlearn/synchronizer
1612 84
dist_actor.py
in chatlearn/runtime
335 58
layers.py
in chatlearn/models/megatron/lora
586 42
engine.py
in chatlearn/runtime
542 40
vllm_module_v2.py
in chatlearn/models
422 39
vllm_utils.py
in chatlearn/utils
1102 37
vllm_module.py
in chatlearn/models
798 35
data.py
in chatlearn/data
290 33
megatron_module.py
in chatlearn/models
193 31
utils.py
in chatlearn/utils
296 29
fsdp_module.py
in chatlearn/models
339 26
arguments.py
in chatlearn/utils
449 24
executor.py
in chatlearn/runtime
366 23
156 21
model_manager.py
in chatlearn/schedule
355 20
model_flow.py
in chatlearn/runtime
171 19
dlc_utils.py
in chatlearn/launcher
195 19
megatron_vllm.py
in chatlearn/synchronizer
356 18
qwen3_moe.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
442 17
environment.py
in chatlearn/runtime
247 17
sampler.py
in chatlearn/data
284 16
flat_tensors.py
in chatlearn/utils
189 16
qwen3.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
436 16
global_vars.py
in chatlearn/utils
55 14
log_monitor.py
in chatlearn/utils
436 13
deepspeed_module.py
in chatlearn/models
149 13
torch_module.py
in chatlearn/models
139 13
base_trainer.py
in chatlearn/models/megatron/memory_manager
117 12
checkpoint_manager.py
in chatlearn/checkpoint
110 12
timer.py
in chatlearn/utils
82 10
error_monitor.py
in chatlearn/utils
45 8
deepspeed_utils.py
in chatlearn/models/deepspeed
159 8
utils.py
in chatlearn/runtime
54 8
trainer_v1v2.py
in chatlearn/models/megatron/memory_manager
215 7
trainer_v4.py
in chatlearn/models/megatron/memory_manager
192 7
evaluator.py
in chatlearn/runtime
78 7
trainer.py
in chatlearn/runtime
65 7
megatron_to_hf.py
in chatlearn/tools
270 7
base.py
in chatlearn/synchronizer
81 7
metric_manager.py
in chatlearn/schedule
93 7
dist_utils.py
in chatlearn/utils
124 6
logger.py
in chatlearn/utils
66 6
trainer_v3.py
in chatlearn/models/megatron/memory_manager
178 6
decorator.py
in chatlearn/runtime
187 6
megatron_utils.py
in chatlearn/utils
123 5
vllm_model.py
in chatlearn/models/vllm
63 4
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_3
75 4
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
71 4
__init__.py
in chatlearn
45 4
Files With Long Lines (Top 35)

There are 35 files with lines longer than 120 characters. In total, there are 193 long lines.

File# lines# units# long lines
parameter_sync.py
in chatlearn/synchronizer
1612 84 66
megatron_vllm.py
in chatlearn/synchronizer
356 18 12
vllm_module.py
in chatlearn/models
798 35 11
executor.py
in chatlearn/runtime
366 23 11
vllm_utils.py
in chatlearn/utils
1102 37 10
fsdp_module.py
in chatlearn/models
339 26 9
arguments.py
in chatlearn/utils
449 24 8
engine.py
in chatlearn/runtime
542 40 8
base_module.py
in chatlearn/models
754 120 7
sampler.py
in chatlearn/data
284 16 6
megatron_module.py
in chatlearn/models
193 31 5
torch_module.py
in chatlearn/models
139 13 4
environment.py
in chatlearn/runtime
247 17 4
vllm_model.py
in chatlearn/models/vllm
63 4 3
deepspeed_module.py
in chatlearn/models
149 13 3
decorator.py
in chatlearn/runtime
187 6 3
utils.py
in chatlearn/utils
296 29 2
vllm_module_v2.py
in chatlearn/models
422 39 2
trainer.py
in chatlearn/runtime
65 7 2
model_manager.py
in chatlearn/schedule
355 20 2
data.py
in chatlearn/data
290 33 1
megatron_utils.py
in chatlearn/utils
123 5 1
dist_utils.py
in chatlearn/utils
124 6 1
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_3
75 4 1
loader.py
in chatlearn/models/vllm/hooks/vllm_0_6_6
71 4 1
layers.py
in chatlearn/models/megatron/lora
586 42 1
base_trainer.py
in chatlearn/models/megatron/memory_manager
117 12 1
trainer_v4.py
in chatlearn/models/megatron/memory_manager
192 7 1
policy_gradient.py
in chatlearn/models/megatron/ops
127 3 1
model_flow.py
in chatlearn/runtime
171 19 1
megatron_to_hf.py
in chatlearn/tools
270 7 1
scheduler.py
in chatlearn/synchronizer
45 3 1
__init__.py
in chatlearn/synchronizer
30 1 1
dlc_utils.py
in chatlearn/launcher
195 19 1
checkpoint_manager.py
in chatlearn/checkpoint
110 12 1