Pip install pytorch or conda install pytorch

hy,

1- I would like to know the difference between pip install pytorch and conda install pytorch
and
2- if i choose to install pytorch vias cuda, is it necessary to have GPU card

If you only need the CPU version you can specify it :

conda install pytorch torchvision cpuonly -c pytorch

or

pip install torch==1.4.0+cpu torchvision==0.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

thank you
and if i install pytorch with cuda is it necessary to have GPU card?

In pytorch you can choose whether to use gpu or cpu.
Pytorch with cuda is nothing but binary files with cuda within. Cpu version will work I would say.

Conda is (anaconda) a set of pre-compiled python packages. I personally don’t like it.

now understand thank you