Skip to content

Ascend - #62

Merged
Hchnr merged 6 commits into
mainfrom
ascend
May 29, 2026
Merged

Ascend#62
Hchnr merged 6 commits into
mainfrom
ascend

Conversation

@Hchnr

@Hchnr Hchnr commented May 29, 2026

Copy link
Copy Markdown
Owner

No description provided.

Hchnr added 6 commits May 27, 2026 07:54
…erence NaN

Move aclrtSynchronizeStream from individual ops (nll_loss, all) into
the EXEC_ASCEND_CMD macro. This ensures every ACL op completes before
returning, eliminating async race conditions that caused NaN values
and stale reads. Fixes Qwen3 end-to-end inference failure where
softmax input contained NaN due to incomplete prior ops.
- FLAGOS_DEFINE_DISPATCH -> ADD_IMPL_TO_DISPATCHER
- FLAGOS_DECLARE_DISPATCH -> DECLARE_DISPATCHER
- FLAGOS_REGISTER_DISPATCH -> REGISTER_IMPL_TO_DISPATCHER
- xxx_stub -> xxx_dispatcher
- dispatch_stub.h -> dispatcher.h
- FlagosDispatchStub -> FlagosDispatcher
Both types are already inside namespace at::native::flagos, so the
prefix is redundant.
@Hchnr
Hchnr merged commit 9dd7470 into main May 29, 2026
1 check failed
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