16d1fd175f5ce804f4daa66da5d51e2dc3da1b36,test/test_spark.py,SparkTests,run,#SparkTests#Any#,70
Before Change
warnings.simplefilter("module")
def run(self, result=None):
if int(os.getenv("OMPI_COMM_WORLD_RANK", 0)) != 0 or int(os.getenv("HOROVOD_RANK", 0)) != 0:
// Running in MPI or Gloo with rank > 0, ignore.
// Purposefully skip these silently
return
After Change
def run(self, result=None):
// These unit tests should not be run with horovodrun as some tests
// setup their own Horovod cluster, where both will then interfere.
if "OMPI_COMM_WORLD_RANK" in os.environ or "HOROVOD_RANK" in os.environ:
self.skipTest("These tests should not be executed via horovodrun, just pytest")
super(SparkTests, self).run(result)
Test that horovod.spark.run works properly in a simple setup using MPI.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: horovod/horovod
Commit Name: 16d1fd175f5ce804f4daa66da5d51e2dc3da1b36
Time: 2020-04-09
Author: github@enrico.minack.dev
File Name: test/test_spark.py
Class Name: SparkTests
Method Name: run
Project Name: Kaggle/docker-python
Commit Name: 44f637a6fc9ab8d1e69b293e26425be0cdabc499
Time: 2019-07-09
Author: ifigotin@google.com
File Name: patches/sitecustomize.py
Class Name:
Method Name: init
Project Name: regel/loudml
Commit Name: 0b823df0bf0c82cf1458b7f2dc3b24628e011795
Time: 2019-09-29
Author: sebastien.regel@gmail.com
File Name: loudml/setup.py
Class Name:
Method Name: