Skip to content

Commit 1bcf962

Browse files
committed
Revert change from 67f2cdb
API change only occurred for Intel NumPy distribution
1 parent b4b147c commit 1bcf962

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

examples/mpi_learn.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,12 @@
148148
y_prime_test=y_prime_test, disruptive=disruptive,
149149
disruptive_train=disruptive_train,
150150
disruptive_test=disruptive_test, shot_list_train=shot_list_train,
151-
shot_list_test=shot_list_test, conf=conf,
152-
# TODO(KGF): changing allow_pickle behavior not documented for
153-
# https://docs.scipy.org/doc/numpy/reference/generated/numpy.savez.html
154-
allow_pickle=True)
151+
shot_list_test=shot_list_test, conf=conf)
152+
153+
# TODO(KGF): Intel NumPy fork
154+
# https://conda.anaconda.org/intel/linux-64/numpy-1.16.2-py36h7b7c402_0.tar.bz2
155+
# applies cve_2019_6446_fix.patch, which unlike main NumPy, adds
156+
# requirement for "allow_pickle=True" to savez() calls
155157

156158
sys.stdout.flush()
157159
if task_index == 0:

0 commit comments

Comments
 (0)