df1715e2108d52af29622c07ab73bfaba0cb4a99,theano/tensor/tests/test_mpi.py,,test_mpi_roundtrip,#,45
Before Change
d = {}
if PY3:
// Is some not understood cases, the subprocess never finish.
d = dict(timeout=5*60)
p = subprocess.Popen("mpiexec -np 2 python " + theano_root +
"tensor/tests/_test_mpi_roundtrip.py",
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
After Change
theano_root = theano.__file__.split("__init__")[0]
env = os.environ.copy()
flags = env["THEANO_FLAGS"]
keep_flags = ",".join((f for f in flags.split(",") if not f.startswith("init_gpu_device")))
env["THEANO_FLAGS"] = keep_flags
p = subprocess.Popen("mpiexec -np 2 python " + theano_root +
"tensor/tests/_test_mpi_roundtrip.py",
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: Theano/Theano
Commit Name: df1715e2108d52af29622c07ab73bfaba0cb4a99
Time: 2017-10-13
Author: abergeron@gmail.com
File Name: theano/tensor/tests/test_mpi.py
Class Name:
Method Name: test_mpi_roundtrip
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 225d31587eeb9aca226158e346c8e9730777913c
Time: 2017-02-24
Author: nlavine@google.com
File Name: perfkitbenchmarker/publisher.py
Class Name:
Method Name: RepublishJSONSamples
Project Name: sassoftware/python-dlpy
Commit Name: f7c67cc31ab44f6227a5856ad66a446adf07faa6
Time: 2017-07-07
Author: leo.liu@sas.com
File Name: dl_api/model.py
Class Name: Model
Method Name: load