[Options] Add option for controlling parallel build with number of jobs or memory reserved for each job#230
Merged
xinli-git merged 10 commits intohidet-org:mainfrom May 24, 2023
Merged
Conversation
yaoyaoding
reviewed
May 16, 2023
Member
yaoyaoding
left a comment
There was a problem hiding this comment.
Hi @xinli-git, thanks for the PR.
I prefer the name max_parallel_jobs or max_num_workers to num_jobs. And leave some minor suggestions.
Member
|
Thanks @xinli-git ! Looks good to me. Feel free to merge after passing the CI. |
vadiklyutiy
pushed a commit
that referenced
this pull request
Jul 22, 2024
- Add tile-level operations like, `copy`, `mask`, `partition_src`, and `partition_dst`. - Add a pass to lower the tile-level operations to Hidet IR. - Enhance the infra to facilitate the lowering. `copy`: Copy a tensor to another tensor. `mask`: Create a mask tensor for the copy operation. Typically, this operation is used when the tile size can not divide the matrix shape. `partition_src`, `partition_dst`: These two operations partition a tensor held by the entire thread block into subtensors held by a single thread. These operations allow us to move expressions related to `threadIdx` and `blockIdx` outside the loop. --------- Co-authored-by: Xiao Zhang <xiao.zhang@centml.ai>
vadiklyutiy
pushed a commit
that referenced
this pull request
Jul 23, 2024
- Add tile-level operations like, `copy`, `mask`, `partition_src`, and `partition_dst`. - Add a pass to lower the tile-level operations to Hidet IR. - Enhance the infra to facilitate the lowering. `copy`: Copy a tensor to another tensor. `mask`: Create a mask tensor for the copy operation. Typically, this operation is used when the tile size can not divide the matrix shape. `partition_src`, `partition_dst`: These two operations partition a tensor held by the entire thread block into subtensors held by a single thread. These operations allow us to move expressions related to `threadIdx` and `blockIdx` outside the loop. --------- Co-authored-by: Xiao Zhang <xiao.zhang@centml.ai>
vadiklyutiy
pushed a commit
that referenced
this pull request
Dec 26, 2024
- Add tile-level operations like, `copy`, `mask`, `partition_src`, and `partition_dst`. - Add a pass to lower the tile-level operations to Hidet IR. - Enhance the infra to facilitate the lowering. `copy`: Copy a tensor to another tensor. `mask`: Create a mask tensor for the copy operation. Typically, this operation is used when the tile size can not divide the matrix shape. `partition_src`, `partition_dst`: These two operations partition a tensor held by the entire thread block into subtensors held by a single thread. These operations allow us to move expressions related to `threadIdx` and `blockIdx` outside the loop. --------- Co-authored-by: Xiao Zhang <xiao.zhang@centml.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a new option for parallel tune. When unset, this keeps the original behavior but can be further modified.
num_jobs.