Add cupy to Windows CI (#5797)
* Add cupy to Windows CI * Update Jenkinsfile-win64 Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu> * Update Jenkinsfile-win64 Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu> * Update tests/python-gpu/test_gpu_prediction.py Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu> Co-authored-by: Philip Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -137,8 +137,9 @@ def TestWin64GPU(args) {
|
||||
conda activate && for /R %%i in (python-package\\dist\\*.whl) DO python -m pip install "%%i"
|
||||
"""
|
||||
echo "Installing Python dependencies..."
|
||||
def cuda_short_ver = args.cuda_target.replaceAll('_', '')
|
||||
bat """
|
||||
conda activate && conda install -y hypothesis && conda upgrade scikit-learn pandas numpy hypothesis
|
||||
conda activate && conda install -y hypothesis && conda upgrade scikit-learn pandas numpy hypothesis && python -m pip install cupy-${cuda_short_ver}
|
||||
"""
|
||||
echo "Running Python tests..."
|
||||
bat """
|
||||
|
||||
Reference in New Issue
Block a user