Skip to content

Commit

Permalink
SG2: added custom OP fallbacks for CPU support
Browse files Browse the repository at this point in the history
  • Loading branch information
harskish committed Jun 23, 2020
1 parent 43c9a31 commit bf462ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions SETUP.md
Expand Up @@ -23,8 +23,9 @@ Install included dependencies (downloaded from https://www.lfd.uci.edu/~gohlke/p
5. Compile and install: `make install`
6. Install Glumpy: `pip install setuptools cython glumpy`

### StyleGAN2
The bundled StyleGAN2 model requires additional setup steps due to the custom CUDA kernels involved.
### StyleGAN2 setup (optional)
StyleGAN2 contains custom CUDA kernels for improved performance.<br>
Less performant native PyTorch fallbacks are used by default.
1. Install CUDA toolkit (match the version in environment.yml)
2. On Windows: install and open 'x64 Native Tools Command Prompt for VS 2017'
3. `conda activate ganspace`
Expand Down

0 comments on commit bf462ee

Please sign in to comment.