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

AMD MI210 ResNet test error #924

Open
crispyberry opened this issue Sep 6, 2023 · 3 comments
Open

AMD MI210 ResNet test error #924

crispyberry opened this issue Sep 6, 2023 · 3 comments

Comments

@crispyberry
Copy link

Hi, we I use HIP_VISIBLE_DEVICES=0 python3 benchmark_ait.py, I meet errors like this:

.../aitemplate/compiler/ops/conv/conv2d.py", line 427, in gen_profiler
func(self._attrs, dtype=self._attrs["inputs"][0]._attrs["dtype"])
TypeError: conv2d_config() got an unexpected keyword argument 'dtype'

@ipiszy
Copy link
Contributor

ipiszy commented Sep 6, 2023

Seems that ROCM backend doesn't have dtype support. You could try to modify

def conv2d_config(func_attrs):
to add dtype param, following .

@fsx950223
Copy link
Contributor

@crispyberry
Copy link
Author

Thanks!

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