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

[Backend] Add openmp support #208

Merged
merged 1 commit into from
May 4, 2023

Conversation

yaoyaoding
Copy link
Member

No description provided.

@yaoyaoding yaoyaoding merged commit fd2d80a into hidet-org:main May 4, 2023
@yaoyaoding yaoyaoding deleted the actual-parallel branch May 4, 2023 00:17
vadiklyutiy added a commit that referenced this pull request Jul 22, 2024
`tests/operators/test_attention.py` fail with `search_space=2` (all 4 tests)
This PR fix this issue. 

In `implement_cuda` for attention we use `hidet.option.cuda.get_arch_pair()` that access to GPU
([code](https://github.com/CentML/hidet/blob/b8d161ccc83451cd6b3681a77423b5dc152e12a9/python/hidet/graph/ops/attention/attention.py#L163)).
But when it is run in fork, cuda is not initialized.
vadiklyutiy added a commit that referenced this pull request Jul 23, 2024
`tests/operators/test_attention.py` fail with `search_space=2` (all 4 tests)
This PR fix this issue. 

In `implement_cuda` for attention we use `hidet.option.cuda.get_arch_pair()` that access to GPU
([code](https://github.com/CentML/hidet/blob/b8d161ccc83451cd6b3681a77423b5dc152e12a9/python/hidet/graph/ops/attention/attention.py#L163)).
But when it is run in fork, cuda is not initialized.
vadiklyutiy added a commit that referenced this pull request Dec 26, 2024
`tests/operators/test_attention.py` fail with `search_space=2` (all 4 tests)
This PR fix this issue. 

In `implement_cuda` for attention we use `hidet.option.cuda.get_arch_pair()` that access to GPU
([code](https://github.com/CentML/hidet/blob/b8d161ccc83451cd6b3681a77423b5dc152e12a9/python/hidet/graph/ops/attention/attention.py#L163)).
But when it is run in fork, cuda is not initialized.
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