Fix docker GPU build for gptqmodel #3018
Merged
+9
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
gptqmodel requires information about the compute capability of the system. The default is to look at the output of
nvidia-smibut 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.