Commit 2cd96ed
Fix docker GPU build for gptqmodel (#3018)
* Fix docker GPU build for gptqmodel
gptqmodel requires information about the compute capability of the system.
The default is to look at the output of `nvidia-smi` but since there is
no compute hardware on the docker image builder instance we have to
hard-code the compute capability.
Since our CI runners use NVIDIA L4 which have a compute capability of 8.9
(according to https://developer.nvidia.com/cuda/gpus) we're using that.
In the future it might be worth extending this so that people using
this docker image are using a gptqmodel version that supports higher
compute cap. as well.
* Fix legacy format warnings in Dockerfile
---------
Co-authored-by: nemo <[email protected]>1 parent c2b2867 commit 2cd96ed
1 file changed
+9
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
46 | 52 | | |
47 | 53 | | |
48 | 54 | | |
| |||
0 commit comments