When using Pytorch-GPU in Anaconda, is it not necessary to install CUDA?










-1















I found that after installing Pytorch 0.4 GPU version in Anaconda, you don't need to install CUDA locally to call gpu acceleration. When running code, the GPU core can be used at more than 90%.



Edit:I used it in Windows 10. Don't know if it works in Linux.










share|improve this question
























  • Look closer and you will probably see that Anaconda installed CUDA

    – talonmies
    Nov 14 '18 at 7:31











  • @talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

    – laridzhang
    Nov 16 '18 at 4:07











  • On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

    – talonmies
    Nov 16 '18 at 7:50















-1















I found that after installing Pytorch 0.4 GPU version in Anaconda, you don't need to install CUDA locally to call gpu acceleration. When running code, the GPU core can be used at more than 90%.



Edit:I used it in Windows 10. Don't know if it works in Linux.










share|improve this question
























  • Look closer and you will probably see that Anaconda installed CUDA

    – talonmies
    Nov 14 '18 at 7:31











  • @talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

    – laridzhang
    Nov 16 '18 at 4:07











  • On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

    – talonmies
    Nov 16 '18 at 7:50













-1












-1








-1








I found that after installing Pytorch 0.4 GPU version in Anaconda, you don't need to install CUDA locally to call gpu acceleration. When running code, the GPU core can be used at more than 90%.



Edit:I used it in Windows 10. Don't know if it works in Linux.










share|improve this question
















I found that after installing Pytorch 0.4 GPU version in Anaconda, you don't need to install CUDA locally to call gpu acceleration. When running code, the GPU core can be used at more than 90%.



Edit:I used it in Windows 10. Don't know if it works in Linux.







cuda anaconda pytorch






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 '18 at 4:09







laridzhang

















asked Nov 14 '18 at 1:57









laridzhanglaridzhang

655




655












  • Look closer and you will probably see that Anaconda installed CUDA

    – talonmies
    Nov 14 '18 at 7:31











  • @talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

    – laridzhang
    Nov 16 '18 at 4:07











  • On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

    – talonmies
    Nov 16 '18 at 7:50

















  • Look closer and you will probably see that Anaconda installed CUDA

    – talonmies
    Nov 14 '18 at 7:31











  • @talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

    – laridzhang
    Nov 16 '18 at 4:07











  • On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

    – talonmies
    Nov 16 '18 at 7:50
















Look closer and you will probably see that Anaconda installed CUDA

– talonmies
Nov 14 '18 at 7:31





Look closer and you will probably see that Anaconda installed CUDA

– talonmies
Nov 14 '18 at 7:31













@talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

– laridzhang
Nov 16 '18 at 4:07





@talonmies No, I didn't find cuda. I entered conda list in the base environment and the virtual environment I used, and I didn't find cudatoolkit or cudnn.

– laridzhang
Nov 16 '18 at 4:07













On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

– talonmies
Nov 16 '18 at 7:50





On my system (and every conda system I have ever used), pytorch has a built-in dependency for both CUDA and CUDNN: pastebin.com/yT63P0qz

– talonmies
Nov 16 '18 at 7:50












1 Answer
1






active

oldest

votes


















1














@talonmies



Thanks for your url. It seems that pytorch don't need cuda in Windows, since its dependencies are cffi, mkl, numpy, and python.



I entered this command conda search -c pytorch pytorch=0.4.0 --info in Anaconda Prompt and it says



Loading channels: done
pytorch 0.4.0 py35_cuda80_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py35_cuda80_cudnn7he774522_1
build number: 1
size : 528.5 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
md5 : 7db3971bb054079d7c7ff84b6286c58e
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.5,<3.6.0a0


pytorch 0.4.0 py35_cuda90_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py35_cuda90_cudnn7he774522_1
build number: 1
size : 578.5 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
md5 : 8200c9841f9cad6f2e605015812aa3f2
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.5,<3.6.0a0


pytorch 0.4.0 py35_cuda91_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py35_cuda91_cudnn7he774522_1
build number: 1
size : 546.1 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
md5 : 79d99a825f66b55b1aa6f04d22d68aac
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.5,<3.6.0a0


pytorch 0.4.0 py36_cuda80_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py36_cuda80_cudnn7he774522_1
build number: 1
size : 529.2 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
md5 : 27d20c9869fb57ffe0d6d014cf348855
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.6,<3.7.0a0


pytorch 0.4.0 py36_cuda90_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py36_cuda90_cudnn7he774522_1
build number: 1
size : 577.6 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
md5 : 138dcca8eeff1d58a8fd9b1febf702f6
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.6,<3.7.0a0


pytorch 0.4.0 py36_cuda91_cudnn7he774522_1
------------------------------------------
file name : pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
name : pytorch
version : 0.4.0
build string: py36_cuda91_cudnn7he774522_1
build number: 1
size : 546.4 MB
arch : x86_64
constrains : ()
platform : Platform.win
license : BSD 3-Clause
subdir : win-64
url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
md5 : 326265665000de6f7501160b10b089c8
dependencies:
- cffi
- mkl >=2018
- numpy >=1.11
- python >=3.6,<3.7.0a0





share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292107%2fwhen-using-pytorch-gpu-in-anaconda-is-it-not-necessary-to-install-cuda%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    @talonmies



    Thanks for your url. It seems that pytorch don't need cuda in Windows, since its dependencies are cffi, mkl, numpy, and python.



    I entered this command conda search -c pytorch pytorch=0.4.0 --info in Anaconda Prompt and it says



    Loading channels: done
    pytorch 0.4.0 py35_cuda80_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py35_cuda80_cudnn7he774522_1
    build number: 1
    size : 528.5 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
    md5 : 7db3971bb054079d7c7ff84b6286c58e
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.5,<3.6.0a0


    pytorch 0.4.0 py35_cuda90_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py35_cuda90_cudnn7he774522_1
    build number: 1
    size : 578.5 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
    md5 : 8200c9841f9cad6f2e605015812aa3f2
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.5,<3.6.0a0


    pytorch 0.4.0 py35_cuda91_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py35_cuda91_cudnn7he774522_1
    build number: 1
    size : 546.1 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
    md5 : 79d99a825f66b55b1aa6f04d22d68aac
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.5,<3.6.0a0


    pytorch 0.4.0 py36_cuda80_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py36_cuda80_cudnn7he774522_1
    build number: 1
    size : 529.2 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
    md5 : 27d20c9869fb57ffe0d6d014cf348855
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.6,<3.7.0a0


    pytorch 0.4.0 py36_cuda90_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py36_cuda90_cudnn7he774522_1
    build number: 1
    size : 577.6 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
    md5 : 138dcca8eeff1d58a8fd9b1febf702f6
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.6,<3.7.0a0


    pytorch 0.4.0 py36_cuda91_cudnn7he774522_1
    ------------------------------------------
    file name : pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
    name : pytorch
    version : 0.4.0
    build string: py36_cuda91_cudnn7he774522_1
    build number: 1
    size : 546.4 MB
    arch : x86_64
    constrains : ()
    platform : Platform.win
    license : BSD 3-Clause
    subdir : win-64
    url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
    md5 : 326265665000de6f7501160b10b089c8
    dependencies:
    - cffi
    - mkl >=2018
    - numpy >=1.11
    - python >=3.6,<3.7.0a0





    share|improve this answer



























      1














      @talonmies



      Thanks for your url. It seems that pytorch don't need cuda in Windows, since its dependencies are cffi, mkl, numpy, and python.



      I entered this command conda search -c pytorch pytorch=0.4.0 --info in Anaconda Prompt and it says



      Loading channels: done
      pytorch 0.4.0 py35_cuda80_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py35_cuda80_cudnn7he774522_1
      build number: 1
      size : 528.5 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
      md5 : 7db3971bb054079d7c7ff84b6286c58e
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.5,<3.6.0a0


      pytorch 0.4.0 py35_cuda90_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py35_cuda90_cudnn7he774522_1
      build number: 1
      size : 578.5 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
      md5 : 8200c9841f9cad6f2e605015812aa3f2
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.5,<3.6.0a0


      pytorch 0.4.0 py35_cuda91_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py35_cuda91_cudnn7he774522_1
      build number: 1
      size : 546.1 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
      md5 : 79d99a825f66b55b1aa6f04d22d68aac
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.5,<3.6.0a0


      pytorch 0.4.0 py36_cuda80_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py36_cuda80_cudnn7he774522_1
      build number: 1
      size : 529.2 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
      md5 : 27d20c9869fb57ffe0d6d014cf348855
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.6,<3.7.0a0


      pytorch 0.4.0 py36_cuda90_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py36_cuda90_cudnn7he774522_1
      build number: 1
      size : 577.6 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
      md5 : 138dcca8eeff1d58a8fd9b1febf702f6
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.6,<3.7.0a0


      pytorch 0.4.0 py36_cuda91_cudnn7he774522_1
      ------------------------------------------
      file name : pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
      name : pytorch
      version : 0.4.0
      build string: py36_cuda91_cudnn7he774522_1
      build number: 1
      size : 546.4 MB
      arch : x86_64
      constrains : ()
      platform : Platform.win
      license : BSD 3-Clause
      subdir : win-64
      url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
      md5 : 326265665000de6f7501160b10b089c8
      dependencies:
      - cffi
      - mkl >=2018
      - numpy >=1.11
      - python >=3.6,<3.7.0a0





      share|improve this answer

























        1












        1








        1







        @talonmies



        Thanks for your url. It seems that pytorch don't need cuda in Windows, since its dependencies are cffi, mkl, numpy, and python.



        I entered this command conda search -c pytorch pytorch=0.4.0 --info in Anaconda Prompt and it says



        Loading channels: done
        pytorch 0.4.0 py35_cuda80_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda80_cudnn7he774522_1
        build number: 1
        size : 528.5 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
        md5 : 7db3971bb054079d7c7ff84b6286c58e
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py35_cuda90_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda90_cudnn7he774522_1
        build number: 1
        size : 578.5 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
        md5 : 8200c9841f9cad6f2e605015812aa3f2
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py35_cuda91_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda91_cudnn7he774522_1
        build number: 1
        size : 546.1 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
        md5 : 79d99a825f66b55b1aa6f04d22d68aac
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py36_cuda80_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda80_cudnn7he774522_1
        build number: 1
        size : 529.2 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
        md5 : 27d20c9869fb57ffe0d6d014cf348855
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0


        pytorch 0.4.0 py36_cuda90_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda90_cudnn7he774522_1
        build number: 1
        size : 577.6 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
        md5 : 138dcca8eeff1d58a8fd9b1febf702f6
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0


        pytorch 0.4.0 py36_cuda91_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda91_cudnn7he774522_1
        build number: 1
        size : 546.4 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
        md5 : 326265665000de6f7501160b10b089c8
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0





        share|improve this answer













        @talonmies



        Thanks for your url. It seems that pytorch don't need cuda in Windows, since its dependencies are cffi, mkl, numpy, and python.



        I entered this command conda search -c pytorch pytorch=0.4.0 --info in Anaconda Prompt and it says



        Loading channels: done
        pytorch 0.4.0 py35_cuda80_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda80_cudnn7he774522_1
        build number: 1
        size : 528.5 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda80_cudnn7he774522_1.tar.bz2
        md5 : 7db3971bb054079d7c7ff84b6286c58e
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py35_cuda90_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda90_cudnn7he774522_1
        build number: 1
        size : 578.5 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda90_cudnn7he774522_1.tar.bz2
        md5 : 8200c9841f9cad6f2e605015812aa3f2
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py35_cuda91_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py35_cuda91_cudnn7he774522_1
        build number: 1
        size : 546.1 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py35_cuda91_cudnn7he774522_1.tar.bz2
        md5 : 79d99a825f66b55b1aa6f04d22d68aac
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.5,<3.6.0a0


        pytorch 0.4.0 py36_cuda80_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda80_cudnn7he774522_1
        build number: 1
        size : 529.2 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda80_cudnn7he774522_1.tar.bz2
        md5 : 27d20c9869fb57ffe0d6d014cf348855
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0


        pytorch 0.4.0 py36_cuda90_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda90_cudnn7he774522_1
        build number: 1
        size : 577.6 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda90_cudnn7he774522_1.tar.bz2
        md5 : 138dcca8eeff1d58a8fd9b1febf702f6
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0


        pytorch 0.4.0 py36_cuda91_cudnn7he774522_1
        ------------------------------------------
        file name : pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
        name : pytorch
        version : 0.4.0
        build string: py36_cuda91_cudnn7he774522_1
        build number: 1
        size : 546.4 MB
        arch : x86_64
        constrains : ()
        platform : Platform.win
        license : BSD 3-Clause
        subdir : win-64
        url : https://conda.anaconda.org/pytorch/win-64/pytorch-0.4.0-py36_cuda91_cudnn7he774522_1.tar.bz2
        md5 : 326265665000de6f7501160b10b089c8
        dependencies:
        - cffi
        - mkl >=2018
        - numpy >=1.11
        - python >=3.6,<3.7.0a0






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 16 '18 at 9:59









        laridzhanglaridzhang

        655




        655



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53292107%2fwhen-using-pytorch-gpu-in-anaconda-is-it-not-necessary-to-install-cuda%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            這個網誌中的熱門文章

            What does pagestruct do in Eviews?

            Dutch intervention in Lombok and Karangasem

            Channel Islands