Commit 86ae5e2
committed
Make model name matching case insensitive
The real data isn't consistent in how model_hf_repo is cased. Most
entries use mixed case, but some are all lowercase. The BLIS data
used lowercase, while the model names in the model catalog were
created directly from the real data, preserving their mixed or
lowercase formats. Because the code was doing an exact,
case-sensitive match, some of the BLIS results weren’t being
recognized.
I updated the comparison to be case-insensitive, and everything works
now. I also converted all the model names in the model catalog to be
lower case to be consistent.
Signed-off-by: Andre Fredette <afredette@redhat.com>1 parent 39a5420 commit 86ae5e2
File tree
2 files changed
+615
-171
lines changed- backend/src/recommendation
- data
2 files changed
+615
-171
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments