Skip to content

Commit 93f3a2a

Browse files
Merge pull request #51 from Uakh/windows
Windows
2 parents 244343c + c47bdff commit 93f3a2a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,16 @@ nvcc --version
5252
>>> V10.1.168
5353
```
5454

55+
### Windows compilation
56+
On Windows you may have this error when compiling:
57+
```
58+
error: member "torch::jit::detail::ModulePolicy::all_slots" may not be initialized
59+
error: member "torch::jit::detail::ParameterPolicy::all_slots" may not be initialized
60+
error: member "torch::jit::detail::BufferPolicy::all_slots" may not be initialized
61+
error: member "torch::jit::detail::AttributePolicy::all_slots" may not be initialized
62+
```
63+
This requires you to edit some of your pytorch header files, use [this script](https://github.com/rusty1s/pytorch_scatter/blob/master/script/torch.sh) as a guide.
64+
5565
### CUDA kernel failed : no kernel image is available for execution on the device
5666

5767
This can happen when trying to run the code on a different GPU than the one used to compile the `torch-points-kernels` library. Uninstall `torch-points-kernels`, clear cache, and reinstall after setting the `TORCH_CUDA_ARCH_LIST` environment variable. For example, for compiling with a Tesla T4 (Turing 7.5) and running the code on a Tesla V100 (Volta 7.0) use:

0 commit comments

Comments
 (0)