Skip to content

Commit 94cd856

Browse files
authored
Move pytorch_lightning requirement to pytorch-spark extras (horovod#3520)
1 parent 1e36151 commit 94cd856

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def build_extensions(self):
162162
tensorflow_gpu_require_list = ['tensorflow-gpu']
163163
keras_require_list = ['keras>=2.0.8,!=2.0.9,!=2.1.0,!=2.1.1']
164164
# pytorch-lightning 1.3.8 is a stable version to work with horovod
165-
pytorch_require_list = ['torch', 'pytorch_lightning>=1.3.8,<1.5.10']
165+
pytorch_require_list = ['torch']
166166
mxnet_require_list = ['mxnet>=1.4.1']
167167
pyspark_require_list = ['pyspark>=2.3.2;python_version<"3.8"',
168168
'pyspark>=3.0.0;python_version>="3.8"']
@@ -171,7 +171,8 @@ def build_extensions(self):
171171
ray_require_list = ['ray', 'aioredis<2']
172172
pytorch_spark_require_list = pytorch_require_list + \
173173
spark_require_list + \
174-
pyspark_require_list
174+
pyspark_require_list + \
175+
['pytorch_lightning>=1.3.8,<1.5.10']
175176

176177
# all frameworks' dependencies
177178
all_frameworks_require_list = tensorflow_require_list + \

0 commit comments

Comments
 (0)