Cov txheej txheem:

Kuv yuav tau TensorFlow siv kuv GPU li cas?
Kuv yuav tau TensorFlow siv kuv GPU li cas?

Video: Kuv yuav tau TensorFlow siv kuv GPU li cas?

Video: Kuv yuav tau TensorFlow siv kuv GPU li cas?
Video: Playful Kiss - Playful Kiss: Full Episode 1 (Official & HD with subtitles) 2024, Kaum ib hlis
Anonim

Cov kauj ruam:

  1. Uninstall koj laus tensorflow .
  2. Nruab tensorflow - gpu ua pib install tensorflow - gpu ua .
  3. Nruab Nvidia Graphic Card & Tsav tsheb (tej zaum koj twb muaj)
  4. Download & Nruab CUDA.
  5. Download & Nruab cuDNN.
  6. Txheeb xyuas los ntawm qhov kev pab cuam yooj yim.

Tsis tas li ntawd, TensorFlow puas xav tau GPU?

TensorFlow GPU kev txhawb nqa xav tau ib assortment ntawm cov tsav tsheb thiab cov tsev qiv ntawv. Qhov kev teeb tsa no nkaus xwb xav tau lub NVIDIA® GPU tsav tsheb. Cov lus qhia nruab no yog rau qhov kev tso tawm tshiab kawg ntawm TensorFlow . Saib cov kev sim tsim teeb tsa rau CUDA thiab cuDNN versions siv nrog cov laus TensorFlow tso tawm.

Ib yam li ntawd, kuv yuav siv ntau GPUs hauv TensorFlow li cas? Yog ib TensorFlow kev ua haujlwm muaj ob qho tib si CPU thiab GPU kev siv, TensorFlow yuav cia li tso qhov kev khiav hauj lwm khiav ntawm a GPU ntaus ntawv ua ntej. Yog tias koj muaj ntau tshaj ib GPU , cov GPU nrog tus ID qis tshaj yuav raug xaiv los ntawm lub neej ntawd. Txawm li cas los xij, TensorFlow tsis tso cov haujlwm rau hauv ntau GPUs txiav txim.

Ua kom pom qhov no, GPU hauv TensorFlow yog dab tsi?

A GPU (Graphical Processing Unit) yog ib feem ntawm cov khoos phis tawj niaj hnub no feem ntau tsim los ua cov kev suav uas xav tau rau 3D duab.

TensorFlow puas tuaj yeem khiav ntawm AMD GPU?

Cov cai no tau khiav ib txwm nyob rau AMD zoo li Nvidia GPU . Yog nws ua tau khiav tensorflow ntawm AMD GPUs tab sis nws yuav yog ib qho teeb meem heck. Raws li tensorflow siv CUDA uas yog nws tus kheej ua tau 't khiav ntawm AMD GPUs yog li koj yuav tsum siv OPENCL rau qhov ntawd thiab tensorflow tsis tau sau rau hauv qhov ntawd.

Pom zoo: