mirror of
https://github.com/modelscope/modelscope.git
synced 2026-09-03 12:42:03 +02:00
[to #42322933] remove requirements of mpi4py
(cherry picked from commit 4215e67ba2)
This commit is contained in:
committed by
Zhicheng Zhang
parent
36ef7260b8
commit
a94edef2bc
@@ -7,7 +7,6 @@ ftfy
|
||||
langdetect
|
||||
lsh
|
||||
matplotlib
|
||||
mpi4py
|
||||
nltk
|
||||
pandas
|
||||
regex
|
||||
|
||||
@@ -146,3 +146,10 @@ TEXT2SQL_LGESQL_IMPORT_ERROR = """
|
||||
{0} requires the text2sql_lgesql library but it was not found in your environment. You can install it with pip:
|
||||
`pip install text2sql_lgesql -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html`
|
||||
"""
|
||||
|
||||
# docstyle-ignore
|
||||
MPI4PY_IMPORT_ERROR = """
|
||||
{0} requires the mpi4py library but it was not found in your environment. You can install it with pip:
|
||||
`pip install mpi4py' and with following the instruction to install openmpi,
|
||||
https://docs.open-mpi.org/en/v5.0.x/installing-open-mpi/quickstart.html`
|
||||
"""
|
||||
|
||||
@@ -303,6 +303,7 @@ REQUIREMENTS_MAAPING = OrderedDict([
|
||||
MEGATRON_UTIL_IMPORT_ERROR)),
|
||||
('text2sql_lgesql', (is_package_available('text2sql_lgesql'),
|
||||
TEXT2SQL_LGESQL_IMPORT_ERROR)),
|
||||
('mpi4py', (is_package_available('mpi4py'), MPI4PY_IMPORT_ERROR)),
|
||||
])
|
||||
|
||||
SYSTEM_PACKAGE = set(['os', 'sys', 'typing'])
|
||||
|
||||
Reference in New Issue
Block a user