Skip to content

Commit

Permalink
restrict to 1 thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgios Kaissis committed Aug 23, 2020
1 parent c5fb43d commit fe8ad2c
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 254 deletions.
26 changes: 0 additions & 26 deletions errors.txt

This file was deleted.

179 changes: 0 additions & 179 deletions gridnode.txt

This file was deleted.

2 changes: 2 additions & 0 deletions inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3"

import torch

torch.set_num_threads(1)
import configparser
import argparse
import syft as sy
Expand Down
14 changes: 0 additions & 14 deletions node_logs.txt

This file was deleted.

19 changes: 0 additions & 19 deletions node_requirements.txt

This file was deleted.

16 changes: 0 additions & 16 deletions node_success.txt

This file was deleted.

2 changes: 2 additions & 0 deletions torchlib/websocket_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import torch

torch.set_num_threads(1)
import syft as sy
import numpy as np
from tqdm import tqdm
Expand Down

0 comments on commit fe8ad2c

Please sign in to comment.