Spaces:
Running
Running
Germano Cavalcante
commited on
Commit
·
b780b3f
1
Parent(s):
92238be
GPU Checker: Add missing GPU
Browse files
routers/tool_find_related_cache.pkl
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:973a3ec67af51be51f373f0bbc07a10c8f6afb47bab791a4e828cc96448c3fae
|
3 |
+
size 21518208
|
routers/tool_gpu_checker.py
CHANGED
@@ -101,6 +101,7 @@ def _check_nvidia(graphics_card_info):
|
|
101 |
|
102 |
def _check_intel(graphics_card_info):
|
103 |
supported_models = {
|
|
|
104 |
r"(Mesa\s*)?(Iris\s*)?Xe Graphics": "Tiger Lake is newer than Broadwell architecture",
|
105 |
r"Iris Plus Graphics G7": "Ice Lake is newer than Broadwell architecture",
|
106 |
r"UHD\s*(Graphics )?6[3-5]\d\b": "Coffee Lake or Comet Lake are newer than Broadwell architecture",
|
@@ -194,3 +195,9 @@ def gpu_checker(gpu_info: str = ""):
|
|
194 |
message = gpu_checker_get_message(gpu_info)
|
195 |
|
196 |
return {"message": message}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
|
102 |
def _check_intel(graphics_card_info):
|
103 |
supported_models = {
|
104 |
+
r"HD (Graphics )?5\d{3}\b": "it has the Broadwell architecture and is less than 10 years old (from 2015)",
|
105 |
r"(Mesa\s*)?(Iris\s*)?Xe Graphics": "Tiger Lake is newer than Broadwell architecture",
|
106 |
r"Iris Plus Graphics G7": "Ice Lake is newer than Broadwell architecture",
|
107 |
r"UHD\s*(Graphics )?6[3-5]\d\b": "Coffee Lake or Comet Lake are newer than Broadwell architecture",
|
|
|
195 |
message = gpu_checker_get_message(gpu_info)
|
196 |
|
197 |
return {"message": message}
|
198 |
+
|
199 |
+
|
200 |
+
if __name__ == "__main__":
|
201 |
+
gpu_info = "Intel(R) HD Graphics 5500"
|
202 |
+
message = gpu_checker_get_message(gpu_info)
|
203 |
+
print(message)
|