Plonk / configs /stage /profile.yaml
nicolas-dufour's picture
squash: merge all unpushed commits
c4c7cee
raw
history blame contribute delete
514 Bytes
# @package _global_
trainer:
max_steps: 15
profiler:
_target_: pytorch_lightning.profilers.PyTorchProfiler
dirpath: ${root_dir}/profiler_log/${experiment_name}
schedule:
_target_: torch.profiler.schedule
skip_first: 5
wait: 2
warmup: 1
active: 3
repeat: 0
on_trace_ready:
_target_: torch.profiler.tensorboard_trace_handler
dir_name: ${root_dir}/profiler_log/${experiment_name}
with_stack: True
record_shapes: True
with_modules: True