Skip to content

Commit

Permalink
Add missing game.nix and a misc numpy optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvarga committed Oct 4, 2024
1 parent 84c4053 commit 287bc38
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 2024/hackceler8/handout/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
import argparse
import logging

# numpy's multithreading is too smart for its own good
# do this _before_ it gets imported
import os
os.environ['OMP_NUM_THREADS'] = '1'

from game import log
from game import venator_gui
from game import network
Expand Down

0 comments on commit 287bc38

Please sign in to comment.