Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
priyakasimbeg committed Oct 7, 2023
1 parent 04f5c94 commit b0b9f40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions submission_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -579,9 +579,9 @@ def main(_):
workload_metadata = WORKLOADS[FLAGS.workload]

# Prevent OOM on librispeech conformer.
# if FLAGS.workload == 'librispeech_conformer':
# os.environ['XLA_PYTHON_CLIENT_MEM_FRACTION'] = '0.85'
# os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:256'
if FLAGS.workload == 'librispeech_conformer':
os.environ['XLA_PYTHON_CLIENT_MEM_FRACTION'] = '0.85'
os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:256'

# Extend path according to framework.
workload_metadata['workload_path'] = os.path.join(
Expand Down

0 comments on commit b0b9f40

Please sign in to comment.