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

torch.nn.Identity are not supported yet #204

Closed
carl10086 opened this issue Apr 30, 2023 · 0 comments
Closed

torch.nn.Identity are not supported yet #204

carl10086 opened this issue Apr 30, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@carl10086
Copy link

Describe the bug
Some errors occured when I compiled dinov2

To Reproduce

model = torch.hub.load('facebookresearch/dinov2', 'dinov2_vits14')
model = model.to('cuda')
model_opt = torch.compile(model, backend='hidet')

Error information

torch._dynamo.exc.BackendCompilerFailed: hidet_backend raised NotImplementedError: The following modules/functions are not supported by hidet yet:
  torch.nn.Identity

Enviroment

  • OS: Ubuntu 22.04
  • GPU: A100

Additional context
Add any other context about the problem here.

@carl10086 carl10086 added the bug Something isn't working label Apr 30, 2023
vadiklyutiy added a commit that referenced this issue Jul 22, 2024
If compilation with `nvcc` failed `_job_queue` might be not empty caused followed tests will fail with "Cannot call parallel_map recursively."

Clear `_job_queue` in `parallel_imap` before every test. 


Tested manually. 
Before: subsequent tests failed with "Cannot call parallel_map recursively."
After: only one test failed.
vadiklyutiy added a commit that referenced this issue Jul 23, 2024
If compilation with `nvcc` failed `_job_queue` might be not empty caused followed tests will fail with "Cannot call parallel_map recursively."

Clear `_job_queue` in `parallel_imap` before every test. 


Tested manually. 
Before: subsequent tests failed with "Cannot call parallel_map recursively."
After: only one test failed.
vadiklyutiy added a commit that referenced this issue Dec 26, 2024
If compilation with `nvcc` failed `_job_queue` might be not empty caused followed tests will fail with "Cannot call parallel_map recursively."

Clear `_job_queue` in `parallel_imap` before every test. 


Tested manually. 
Before: subsequent tests failed with "Cannot call parallel_map recursively."
After: only one test failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant