Skip to content

[Backend] Add openmp support#208

Merged
yaoyaoding merged 1 commit intohidet-org:mainfrom
yaoyaoding:actual-parallel
May 4, 2023
Merged

[Backend] Add openmp support#208
yaoyaoding merged 1 commit intohidet-org:mainfrom
yaoyaoding:actual-parallel

Conversation

@yaoyaoding
Copy link
Copy Markdown
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