Skip to content

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

Merged
hjjq merged 1 commit intohidet-org:mainfrom
hjjq:regression
Jul 25, 2023
Merged

[Regression] Increase benchmark iters and update perf data#328
hjjq merged 1 commit intohidet-org:mainfrom
hjjq:regression

Conversation

@hjjq
Copy link
Copy Markdown
Collaborator

@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