Fix Python environment for distributed unit tests (#3806)
This commit is contained in:
committed by
GitHub
parent
b38c636d05
commit
55ee9a92a1
@@ -1,9 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "====== 1. Basic distributed test with Python ======"
|
||||
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=3\
|
||||
PYTHONPATH=../../python-package/ python ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=3\
|
||||
python test_basic.py
|
||||
|
||||
echo "====== 2. Regression test for issue #3402 ======"
|
||||
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=2 --worker-cores=1\
|
||||
PYTHONPATH=../../python-package/ python ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=2 --worker-cores=1\
|
||||
python test_issue3402.py
|
||||
|
||||
Reference in New Issue
Block a user