Skip to content

Commit aee7486

Browse files
committed
Update README and Troubleshooting for GCC versions
for #2
1 parent b1a62b9 commit aee7486

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ While new generator approaches enable new media synthesis capabilities, they may
5656
* 1–8 high-end NVIDIA GPUs with at least 12 GB of memory. We have done all testing and development using Tesla V100 and A100 GPUs.
5757
* 64-bit Python 3.8 and PyTorch 1.9.0 (or later). See https://pytorch.org for PyTorch install instructions.
5858
* CUDA toolkit 11.1 or later. (Why is a separate CUDA toolkit installation required? See [Troubleshooting](./docs/troubleshooting.md#why-is-cuda-toolkit-installation-necessary)).
59+
- GCC 7 or later (Linux) or Visual Studio (Windows) compilers. Recommended GCC version depends on CUDA version, see for example [CUDA 11.4 system requirements](https://docs.nvidia.com/cuda/archive/11.4.1/cuda-installation-guide-linux/index.html#system-requirements).
5960
* Python libraries: see [environment.yml](./environment.yml) for exact library dependencies. You can use the following commands with Miniconda3 to create and activate your StyleGAN3 Python environment:
6061
- `conda env create -f environment.yml`
6162
- `conda activate stylegan3`

docs/troubleshooting.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Make sure you've installed everything listed on the requirements section in the
1818
- **ninja**
1919
- PyTorch uses [Ninja](https://ninja-build.org/) as its build system.
2020
- **GCC** (Linux) or **Visual Studio** (Windows)
21+
- GCC 7.x or later is required. Earlier versions such as GCC 6.3 [are known not to work](https://github.com/NVlabs/stylegan3/issues/2).
2122

2223
#### Why is CUDA toolkit installation necessary?
2324

0 commit comments

Comments
 (0)