We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51f241 commit c1c6ac1Copy full SHA for c1c6ac1
gpustack_runtime/detector/__init__.py
@@ -163,11 +163,15 @@ def get_devices_topologies(
163
for manu, devs in group_devices.items():
164
det = _DETECTORS_MAP.get(manu)
165
if det is not None:
166
- topo = det.get_topology(devs)
167
- if topo:
168
- topologies.append(topo)
169
- if fast and topologies:
170
- return topologies
+ try:
+ topo = det.get_topology(devs)
+ if topo:
+ topologies.append(topo)
+ except Exception:
171
+ detect_target = envs.GPUSTACK_RUNTIME_DETECT.lower()
172
+ if detect_target == det.name:
173
+ raise
174
+ debug_log_exception(logger, "Failed to get topology for %s", det.name)
175
return topologies
176
177
0 commit comments