Commit d8418293 authored by Jennifer's avatar Jennifer
Browse files

DNS: Local profiler changes

parent fdd4e1d8
......@@ -6,6 +6,7 @@ import json
import pytorch_lightning as pl
from pytorch_lightning.callbacks.lr_monitor import LearningRateMonitor
from pytorch_lightning.callbacks import DeviceStatsMonitor
from pytorch_lightning.callbacks.model_checkpoint import ModelCheckpoint
from pytorch_lightning.loggers import WandbLogger
from pytorch_lightning.plugins.training_type import DeepSpeedPlugin, DDPPlugin
......@@ -411,9 +412,10 @@ def main(args):
strategy=strategy,
callbacks=callbacks,
logger=loggers,
profiler='simple',
)
if(args.resume_model_weights_only):
if (args.resume_model_weights_only):
ckpt_path = None
else:
ckpt_path = args.resume_from_ckpt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment