-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pybindings for custom 1D fabric ctx switch intervals (#18239)
### Problem description There is currently no one-size-fits-all context switch interval for 1D fabric on Wormhole. In some use cases (e.g. test suites with many back to back tests) we want smaller intervals so teardown is quick. In other cases (real workloads), we want a longer interval since there may be longer gaps between subsequent ops using a given fabric link. ### What's changed Added pybindings for context switch interval override. By default, if a user does not provide an override, the fabric will use the implementation default, which is more favourable to test environments and faster teardown times. To override the context switch check interval, a user can override either `create_and_load_sub_device_manager_with_fabric_interface` or `ttnn.initialize_edm_fabric`. In both cases, the kw_only arg `context_switch_interval_override` is used to override the interval. The current default is `10000`. For performance oriented workloads, it is recommended to start in the 100k-200k range and tweak from there.
- Loading branch information
1 parent
e963fa4
commit bc10e86
Showing
4 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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