Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device not recognized error for Radeon RX 580 #2167

Open
IdleJuffowup opened this issue Jul 25, 2024 · 2 comments
Open

Device not recognized error for Radeon RX 580 #2167

IdleJuffowup opened this issue Jul 25, 2024 · 2 comments

Comments

@IdleJuffowup
Copy link

[LOG] Submitting Request...

Traceback (most recent call last):
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\queueing.py", line 527, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\route_utils.py", line 270, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\blocks.py", line 1847, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\blocks.py", line 1445, in call_function
prediction = await utils.async_iteration(iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\utils.py", line 629, in async_iteration
return await iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\utils.py", line 622, in anext
return await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "anyio\to_thread.py", line 56, in run_sync
File "anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 859, in run
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\utils.py", line 605, in run_sync_iterator_async
return next(iterator)
^^^^^^^^^^^^^^
File "C:\Users\Boys\AppData\Local\Temp_MEI66762\gradio\utils.py", line 788, in gen_wrapper
response = next(iterator)
^^^^^^^^^^^^^^
File "apps\shark_studio\api\sd.py", line 309, in shark_sd_fn_dict_input
File "apps\shark_studio\api\utils.py", line 169, in parse_device
File "apps\shark_studio\api\utils.py", line 194, in get_rocm_target_chip
AssertionError: Device Radeon RX 580 Series => rocm not recognized. Please file an issue at https://github.com/nod-ai/SHARK/issues.

Error happens using the latest stable build (1300)

@Amexsos
Copy link

Amexsos commented Sep 22, 2024

I am also getting same error when running newest version for AMD Radeon RX 6750 XT. Just did a AMD software uninstall, restarted, ran AMD cleaner tool, restarted, installed latest AMD Software Minimum install with latest driver

[LOG] Summting Request

Traceback (most recent call last):
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\queueing.py", line 527, in process_events
response = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\route_utils.py", line 270, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\blocks.py", line 1847, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\blocks.py", line 1445, in call_function
prediction = await utils.async_iteration(iterator)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\utils.py", line 629, in async_iteration
return await iterator.anext()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\utils.py", line 622, in anext
return await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "anyio\to_thread.py", line 56, in run_sync
File "anyio_backends_asyncio.py", line 2177, in run_sync_in_worker_thread
File "anyio_backends_asyncio.py", line 859, in run
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\utils.py", line 605, in run_sync_iterator_async
return next(iterator)
^^^^^^^^^^^^^^
File "C:\Users\Steve\AppData\Local\Temp_MEI23882\gradio\utils.py", line 788, in gen_wrapper
response = next(iterator)
^^^^^^^^^^^^^^
File "apps\shark_studio\api\sd.py", line 309, in shark_sd_fn_dict_input
File "apps\shark_studio\api\utils.py", line 169, in parse_device
File "apps\shark_studio\api\utils.py", line 194, in get_rocm_target_chip
AssertionError: Device AMD Radeon RX 6750 XT => rocm not recognized. Please file an issue at https://github.com/nod-ai/SHARK/issues.

@brsh1
Copy link

brsh1 commented Oct 15, 2024

have you tried running using vulkan?
first check you have vulkan with vulkaninfo from PS or cmd.
run EXE with --device="vulkan" please report if it works for you
you can also try and run with --device="hip"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants