Skip to content

Commit

Permalink
fix windows ci install whl (#54946)
Browse files Browse the repository at this point in the history
* fix windows ci install whl

* fix bce

* update install whl
  • Loading branch information
tianshuo78520a authored Jun 29, 2023
1 parent f239d7d commit b8e4d74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion paddle/scripts/paddle_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ if "%UPLOAD_TP_FILE%"=="ON" (
echo Download package from https://xly-devops.bj.bcebos.com/home/bos_new.tar.gz
python -c "import wget;wget.download('https://xly-devops.bj.bcebos.com/home/bos_new.tar.gz')"
python -c "import shutil;shutil.unpack_archive('bos_new.tar.gz', extract_dir='./bce-python-sdk-new',format='gztar')"
python -m pip install bce-python-sdk
python -m pip install bce-python-sdk==0.8.74
)
if !errorlevel! EQU 0 (
cd /d %THIRD_PARTY_HOME%
Expand Down Expand Up @@ -650,6 +650,10 @@ set /p PADDLE_WHL_FILE_WIN=< whl_file.txt
pip uninstall -y paddlepaddle
pip uninstall -y paddlepaddle-gpu
pip install %PADDLE_WHL_FILE_WIN%
%PYTHON_ROOT%\python.exe -m pip uninstall -y paddlepaddle
%PYTHON_ROOT%\python.exe -m pip uninstall -y paddlepaddle-gpu
%PYTHON_ROOT%\python.exe -m pip install %PADDLE_WHL_FILE_WIN%

if %ERRORLEVEL% NEQ 0 (
echo pip install whl package failed!
exit /b 1
Expand Down

0 comments on commit b8e4d74

Please sign in to comment.