mac os 10.15 + bootcamp(win 10) + nvidia eGPU
-
back up mac
- bootcamp win 10
- download win 10 iso(
~
5.7G) - launch bootcamp, select a partition size, install windows (Apple’s instruction)
- system will reboot in windows
- download win 10 iso(
- nvidia drivers
- plugin gpu and turn on gpu power supply (for msi RTX2080 super, needs all of 2 x 8 pins)
- install geforce experience
- check drivers update in geforce experience
- if you need nvidia control panel but it is missing, try: standard driver instead of DCH drivers by using advance drivers search
- anaconda
- install anaconda
- tick add anaconda to Path variable
- or do it manually by start -> type “env var” -> click “edit the system environment variables” -> click “environment variables” -> click “Path” under User variables and click edit -> add “C:\Users[user_name]\anaconda3; C:\Users[user_name]\anaconda3\Scripts;”
- create env
conda create --name env_gpu
- install tensorfow-gpu 1
conda install tensorflow-gpu=1.15
(this will automatically install cuda 10.0 and cudnn 7.6, compatible with tensorflow 1.15) - check if gpu is visible: several methods, alternatively, run the command:
nvidia-smi
- install anaconda
- git-bash
- install git
- if anaconda is successfully added to Path variable, then the command “conda activate env_gpu” should be recognized and the environment should be activated
up to now, python scripts should be able to run in this environment. on the other hand, since it is in a bash shell, .sh scripts should also work.