find_close_gpu_model_name#
- impactshpc.find_close_gpu_model_name(name: str, threshold: float = 80) FuzzymatchResult | None#
Fuzzymatch search for close GPU model names from a dataset using fuzzy matching on name and variant. This method can return zero (None),one (
FuzzymatchSingleResult) or several matches (FuzzymatchMultipleResult). Returns the exact name of the GPU, making it suitable to use withGPUclass.- Parameters:
- Returns:
FuzzymatchSingleResultif a single good match is found.FuzzymatchMultipleResultif multiple results are above the threshold.None if no suitable match is found.
- Return type:
FuzzymatchResult| None