Commit 1a8e1283 authored by Miquel Jubert Hermoso's avatar Miquel Jubert Hermoso Committed by Facebook GitHub Bot
Browse files

Force disable oom monitor

Summary: Pull Request resolved: https://github.com/facebookresearch/d2go/pull/577

Reviewed By: seijiyamamoto

Differential Revision: D46798443

fbshipit-source-id: 21e66cc26d98e866d34c92fa86b26b977c02925d
parent 62613829
...@@ -343,7 +343,8 @@ class Detectron2GoRunner(D2GoDataAPIMixIn, BaseRunner): ...@@ -343,7 +343,8 @@ class Detectron2GoRunner(D2GoDataAPIMixIn, BaseRunner):
def build_model(self, cfg, eval_only=False): def build_model(self, cfg, eval_only=False):
# Attach memory profiler to GPU OOM events # Attach memory profiler to GPU OOM events
if cfg.get("MEMORY_PROFILER", CfgNode()).get("ENABLED", False): # Disabled since it can cause ranks to die
if False and cfg.get("MEMORY_PROFILER", CfgNode()).get("ENABLED", False):
attach_oom_logger( attach_oom_logger(
cfg.OUTPUT_DIR, trace_max_entries=cfg.MEMORY_PROFILER.TRACE_MAX_ENTRIES cfg.OUTPUT_DIR, trace_max_entries=cfg.MEMORY_PROFILER.TRACE_MAX_ENTRIES
) )
......
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