Skip to content

Commit

Permalink
igpu dont error on device parse fail
Browse files Browse the repository at this point in the history
  • Loading branch information
monorimet committed Jun 2, 2024
1 parent 6adae49 commit 5f1b5e5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/shark_studio/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,10 @@ def get_rocm_target_chip(device_str):
for key in rocm_chip_map:
if key in device_str:
return rocm_chip_map[key]
raise AssertionError(
f"Device {device_str} not recognized. Please file an issue at https://github.com/nod-ai/SHARK/issues."
)
return None
# raise AssertionError(
# f"Device {device_str} not recognized. Please file an issue at https://github.com/nod-ai/SHARK/issues."
# )


def get_all_devices(driver_name):
Expand Down

0 comments on commit 5f1b5e5

Please sign in to comment.