Commit cdc12c3
authored
Change workspace dir (#566)
In my development setup, I have different machines with different GPUs.
They share the home directory on a network filesystem. When I switch
between machines, since the JIT compilation flags change, I'll have to
recompile kernels every time.
One solution is to specify the same `TORCH_CUDA_ARCH_LIST` every time.
However, I keep forgetting that.
Another solution, as proposed in this PR, is to put different arch list
in different cache directory.1 parent d30667b commit cdc12c3
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
18 | 29 | | |
19 | 30 | | |
20 | | - | |
| 31 | + | |
21 | 32 | | |
22 | 33 | | |
23 | 34 | | |
| |||
0 commit comments