fix: abbreviate GPU architecture suffixes in article token
Ampere, Hopper, Blackwell now produce AMP/HOP/BWL suffixes (like ADA) so RTX cards across generations are distinguishable: RTX6000ADA vs RTX6000BWL. LOVELACE remains a skip token as it duplicates ADA info. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -336,11 +336,14 @@ func parseGPUModel(lotName string) string {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
switch p {
|
switch p {
|
||||||
case "NV", "NVIDIA", "INTEL", "AMD", "RADEON", "PCIE", "PCI", "SXM", "SXMX", "SFF", "LOVELACE", "AMPERE", "HOPPER":
|
case "NV", "NVIDIA", "INTEL", "AMD", "RADEON", "PCIE", "PCI", "SXM", "SXMX", "SFF", "LOVELACE":
|
||||||
continue
|
continue
|
||||||
case "ADA":
|
case "ADA", "AMPERE", "HOPPER", "BLACKWELL":
|
||||||
if model != "" {
|
if model != "" {
|
||||||
numSuffix += "ADA"
|
archAbbr := map[string]string{
|
||||||
|
"ADA": "ADA", "AMPERE": "AMP", "HOPPER": "HOP", "BLACKWELL": "BWL",
|
||||||
|
}
|
||||||
|
numSuffix += archAbbr[p]
|
||||||
}
|
}
|
||||||
continue
|
continue
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user