[MTHREADS] adapt some config to mt backend#2210
Open
Oslomayor wants to merge 1 commit intoflagos-ai:masterfrom
Open
[MTHREADS] adapt some config to mt backend#2210Oslomayor wants to merge 1 commit intoflagos-ai:masterfrom
Oslomayor wants to merge 1 commit intoflagos-ai:masterfrom
Conversation
Adapted from upstream commits: - 1 tune config: conj_physical (new operator tune config) - 3 custom operator bug fixes: arange (int64 float params), repeat (zero-dim check), repeat_interleave (empty repeats handling) Files modified: 4 Items skipped: 64 (no mthreads custom impl or not needed) Adapt details: - conj_physical: added tune config to _mthreads/tune_configs.yaml - arange: fixed int64 dtype with float parameters (int conversion for start/end/step) - repeat: fixed zero-dim bug (in0_shape[i] * sizes_shape[i] == 0) - repeat_interleave: added empty repeats handling (repeats.numel() == 0) Skipped items: - index_put: mthreads has independent impl, main ops refactor not affected - one_hot: mthreads has optimized impl (specialized kernels), main ops refactor not affected - other 64 ops: no mthreads custom impl or only format/debug changes
54d8f36 to
dd17ead
Compare
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.
Adapted from upstream commits:
- 1 tune config: conj_physical (new operator tune config)
- 3 custom operator bug fixes: arange (int64 float params), repeat (zero-dim check), repeat_interleave (empty repeats handling)
Files modified: 4
Adapt details:
- conj_physical: added tune config to _mthreads/tune_configs.yaml
- arange: fixed int64 dtype with float parameters (int conversion for start/end/step)
- repeat: fixed zero-dim bug (in0_shape[i] * sizes_shape[i] == 0)
- repeat_interleave: added empty repeats handling (repeats.numel() == 0)
Above description is written by agent.