Skip to content

Commit

Permalink
Merge pull request #21 from ethancaballero/patch-4
Browse files Browse the repository at this point in the history
automate OMP_NUM_THREADS=1 setting
  • Loading branch information
ikostrikov2 authored May 27, 2017
2 parents db57a5e + d70e677 commit 842ec4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@


if __name__ == '__main__':
os.environ['OMP_NUM_THREADS'] = '1'

args = parser.parse_args()

torch.manual_seed(args.seed)
Expand Down

0 comments on commit 842ec4d

Please sign in to comment.