win10 cuda11.1 paddlepaddle-gpu

win10 cuda11.1 paddlepaddle-gpu

(base) F:>
(base) F:>
(base) F:>
(base) F:>conda create -n wind_paddle python==3.7
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.9.2
  latest version: 4.10.1

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: E:Anaconda3installenvswind_paddle

  added / updated specs:
    - python==3.7


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    python-3.7.0               |       hea74fb7_0        16.6 MB
    ------------------------------------------------------------
                                           Total:        16.6 MB

The following NEW packages will be INSTALLED:

  certifi            pkgs/main/win-64::certifi-2020.12.5-py37haa95532_0
  pip                pkgs/main/win-64::pip-21.0.1-py37haa95532_0
  python             pkgs/main/win-64::python-3.7.0-hea74fb7_0
  setuptools         pkgs/main/win-64::setuptools-52.0.0-py37haa95532_0
  vc                 pkgs/main/win-64::vc-14.2-h21ff451_1
  vs2015_runtime     pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
  wheel              pkgs/main/noarch::wheel-0.36.2-pyhd3eb1b0_0
  wincertstore       pkgs/main/win-64::wincertstore-0.2-py37_0


Proceed ([y]/n)?






done
#
# To activate this environment, use
#
#     $ conda activate wind_paddle
#
# To deactivate an active environment, use
#
#     $ conda deactivate


(base) F:>
(base) F:>
(base) F:>
(base) F:>
(base) F:>
(base) F:>
(base) F:>
(base) F:>conda activate wind_paddle

(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>python -m pip install paddlepaddle-gpu==2.0.2.post110 -f https://paddlepaddle.org.cn/whl/mkl/stable.html
Looking in links: https://paddlepaddle.org.cn/whl/mkl/stable.html
Collecting paddlepaddle-gpu==2.0.2.post110
  Downloading https://paddle-wheel.bj.bcebos.com/2.0.2/avx/paddlepaddle_gpu-2.0.2.post110-cp37-cp37m-win_amd64.whl (401.2 MB)
     |████████████████████████████████| 401.2 MB 176 kB/s
Collecting astor
  Using cached astor-0.8.1-py2.py3-none-any.whl (27 kB)
Collecting gast==0.3.3
  Using cached gast-0.3.3-py2.py3-none-any.whl (9.7 kB)
Collecting numpy<=1.19.3,>=1.13
  Downloading numpy-1.19.3-cp37-cp37m-win_amd64.whl (13.2 MB)
     |████████████████████████████████| 13.2 MB 1.6 MB/s
Collecting decorator
  Downloading decorator-5.0.7-py3-none-any.whl (8.8 kB)
Requirement already satisfied: Pillow in c:usersimappdata
oamingpythonpython37site-packages (from paddlepaddle-gpu==2.0.2.post110) (8.2.0)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting requests>=2.20.0
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting protobuf>=3.1.0
  Using cached protobuf-3.15.8-cp37-cp37m-win_amd64.whl (904 kB)
Collecting urllib3<1.27,>=1.21.1
  Using cached urllib3-1.26.4-py2.py3-none-any.whl (153 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting chardet<5,>=3.0.2
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Requirement already satisfied: certifi>=2017.4.17 in e:anaconda3installenvswind_paddlelibsite-packages (from requests>=2.20.0->paddlepaddle-gpu==2.0.2.post110) (2020.12.5)
Installing collected packages: urllib3, six, idna, chardet, requests, protobuf, numpy, gast, decorator, astor, paddlepaddle-gpu
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
jsonschema 3.2.0 requires importlib-metadata; python_version < "3.8", which is not installed.
ipython 7.22.0 requires colorama; sys_platform == "win32", which is not installed.
Successfully installed astor-0.8.1 chardet-4.0.0 decorator-5.0.7 gast-0.3.3 idna-2.10 numpy-1.19.3 paddlepaddle-gpu-2.0.2.post110 protobuf-3.15.8 requests-2.25.1 six-1.15.0 urllib3-1.26.4

(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>python
Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>>
>>>
>>> import paddle
>>>
>>>
>>>
>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
W0428 11:23:21.953500  1688 device_context.cc:362] Please NOTE: device: 0, GPU Compute Capability: 8.6, Driver API Version: 11.2, Runtime API Version: 11.0
W0428 11:23:22.006624  1688 device_context.cc:372] device: 0, cuDNN Version: 8.1.
PaddlePaddle works well on 1 GPU.
PaddlePaddle works well on 1 GPUs.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.
>>>
>>>
>>>
>>> exit();

(wind_paddle) F:>
(wind_paddle) F:>
(wind_paddle) F:>

参考:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/install/pip/windows-pip.html#anchor-0

####################33

QQ 3087438119
原文地址:https://www.cnblogs.com/herd/p/14713353.html