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

[Regression] Increase benchmark iters and update perf data #328

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

hjjq
Copy link
Member

@hjjq hjjq commented Jul 25, 2023

No description provided.

@hjjq hjjq merged commit fcdec26 into hidet-org:main Jul 25, 2023
vadiklyutiy pushed a commit that referenced this pull request Jul 22, 2024
… `register_functions.py` (#328)

Previously, during multiple compilation runs, a mysterious-looking error
like this was encountered:

> torch._dynamo.exc.BackendCompilerFailed: backend='hidet' raised:
> RuntimeError: , occurred when interpreting reshape with
> tensor_reshape(tensor(...), (4741, 4))

The cause is that, if the `shape` argument passed to `tensor_shape` is a
tuple, then in the call `return ops.reshape(self, shape)`, the `shape`
passed to `ops.reshape` will be a single-element tuple, with its only
element being the `shape` tuple passed to `tensor_reshape`.

This PR fixes the issue.
vadiklyutiy pushed a commit that referenced this pull request Jul 23, 2024
… `register_functions.py` (#328)

Previously, during multiple compilation runs, a mysterious-looking error
like this was encountered:

> torch._dynamo.exc.BackendCompilerFailed: backend='hidet' raised:
> RuntimeError: , occurred when interpreting reshape with
> tensor_reshape(tensor(...), (4741, 4))

The cause is that, if the `shape` argument passed to `tensor_shape` is a
tuple, then in the call `return ops.reshape(self, shape)`, the `shape`
passed to `ops.reshape` will be a single-element tuple, with its only
element being the `shape` tuple passed to `tensor_reshape`.

This PR fixes the issue.
vadiklyutiy pushed a commit that referenced this pull request Dec 26, 2024
… `register_functions.py` (#328)

Previously, during multiple compilation runs, a mysterious-looking error
like this was encountered:

> torch._dynamo.exc.BackendCompilerFailed: backend='hidet' raised:
> RuntimeError: , occurred when interpreting reshape with
> tensor_reshape(tensor(...), (4741, 4))

The cause is that, if the `shape` argument passed to `tensor_shape` is a
tuple, then in the call `return ops.reshape(self, shape)`, the `shape`
passed to `ops.reshape` will be a single-element tuple, with its only
element being the `shape` tuple passed to `tensor_reshape`.

This PR fixes the issue.
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

Successfully merging this pull request may close these issues.

1 participant