Skip to content

Commit 8c9dc7c

Browse files
authored
Add install troubleshooting tip about longpaths error on Windows (#1306)
Add a new install troubleshooting tips about filename being too long that happens on Windows (even when enabled at OS level) Git default config issue
1 parent ac00641 commit 8c9dc7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ python -m xformers.info
9898
* the version of GCC that you're using matches the current NVCC capabilities
9999
* the `TORCH_CUDA_ARCH_LIST` env variable is set to the architectures that you want to support. A suggested setup (slow to build but comprehensive) is `export TORCH_CUDA_ARCH_LIST="6.0;6.1;6.2;7.0;7.2;7.5;8.0;8.6"`
100100
* If the build from source OOMs, it's possible to reduce the parallelism of ninja with `MAX_JOBS` (eg `MAX_JOBS=2`)
101+
* If getting error message `Filename longer than 260 characters` on Windows, make sure long paths are enabled at OS level, and also execute the command `git config --global core.longpaths true`
101102

102103

103104
### License

0 commit comments

Comments
 (0)