Conversation
[Frontend] Use ops instead of raw assembly code
- Remove cell execution timestamps from metadata - Simplify path setup: remove base_dir/sys.path.append, use absolute paths - Replace extension_config.CONFIG_TOGSIM_CONFIG with direct config paths - Update log file paths to latest run timestamps - Adjust tensor sizes and minor wording fixes
- gen_configs: use JSONEncoder to emit more compact JSON (regenerated yaml files) - Simulator: read Ramulator2 config with ifstream and log text instead of YAML::Dump
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.
Changelog —
develop→masterTOGSim (simulator)
Compiler & runtime (PyTorchSim / MLIR)
torch.nn.attention.sdpa_kernel([SDPBackend.FLASH_ATTENTION])context manager; TopK, Bitonic sort, Cat added. ([BUG]Support for repeat_interleave operation to enable Grouped Query Attention (GQA) #198)lmul8widening issue by avoiding the problematic vector-width in codegen.with TOGSimulator(config_path=...):so config and simulator lifecycle are scoped to the block.torch.npu.launch_model(opt_fn, *args, stream_index=..., timestamp=..., **kwargs)inside that block.Device (OpenReg / NPU)
torch.device("npu")(andtorch.device("npu:0"), etc.) like any built-in device type — no extra package import beyondimport torch; the NPU backend registers with PyTorch's device system.Schedulerinstantiation,Requestobject construction, and awhile not scheduler.is_finished():loop. The new API uses awith TOGSimulator(config_path=...):context andtorch.npu.launch_model(..., stream_index=..., timestamp=...)calls directly. Seetest_scheduler.pyfor the updated usage pattern.CI, tests, experiments
Other