Skip to content

[TOGSim] ONNXim frontend and ACS for tutorial - #315

Closed
Jagggged wants to merge 2 commits into
PSAL-POSTECH:developfrom
Jagggged:feature/onnx-frontend
Closed

Jagggged wants to merge 2 commits into
PSAL-POSTECH:developfrom
Jagggged:feature/onnx-frontend

Conversation

@Jagggged

Copy link
Copy Markdown
Contributor

No description provided.

@YWHyuk YWHyuk closed this Oct 22, 2026
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…me attributes replace them

a5d1fbd (#412) appended the elements of every argument tile_types.json lists as data_args to the
launch's shape_args (timing.data_values), so the TOG could read the grouped GEMM's group, start and
row tables from the launch. That is the compiler side of PTB #282 (torchsim.data), which was
rejected and is closed; no compiler the pin can reach writes data_args. PTB #315's runtime
attributes replace it: the functional run records each value the TOG reads from data under
runtime/runtime_attribute/, and TOGSim reads those records (the commit before this one), so the
values never travel through shape_args.

data_values and _write_extents' data argument are removed and shape_args is the grid again, as
before #412. The grouped_mm frontend, its registration and tests/ops/gemm/test_grouped_mm.py stay;
the frontend's docstring now says the TOG reads the table as runtime attributes.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…r reads from togsim_runtime.h

5f74a76 asks the compiler for toolchain.togsim_api_version(), the API_VERSION regex over
togsim.hpp. PTB #315 (e737897) replaced it with toolchain.togsim_version(): TOGSim has one
version, 1.0.0, which the compiler reads by compiling and running a program that prints
TOGSIM_VERSION_STRING and TOGSIM_VERSION. Against that compiler every launch stopped at
store_identity: "module 'pytorchsim_triton_compiler.toolchain' has no attribute
'togsim_api_version'" (tests/system/test_bundle_reuse.py, tests/ops/gemm/test_grouped_mm.py).
The probe and tests/system/test_cache_identity.py now ask togsim_version(); the headers digest
is unchanged. Against PTB main, which still has only togsim_api_version, this needs the pin
bump that follows #315.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…me attributes replace them

a5d1fbd (#412) appended the elements of every argument tile_types.json lists as data_args to the
launch's shape_args (timing.data_values), so the TOG could read the grouped GEMM's group, start and
row tables from the launch. That is the compiler side of PTB #282 (torchsim.data), which was
rejected and is closed; no compiler the pin can reach writes data_args. PTB #315's runtime
attributes replace it: the functional run records each value the TOG reads from data under
runtime/runtime_attribute/, and TOGSim reads those records (the commit before this one), so the
values never travel through shape_args.

data_values and _write_extents' data argument are removed and shape_args is the grid again, as
before #412. The grouped_mm frontend, its registration and tests/ops/gemm/test_grouped_mm.py stay;
the frontend's docstring now says the TOG reads the table as runtime attributes.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…r reads from togsim_runtime.h

5f74a76 asks the compiler for toolchain.togsim_api_version(), the API_VERSION regex over
togsim.hpp. PTB #315 (e737897) replaced it with toolchain.togsim_version(): TOGSim has one
version, 1.0.0, which the compiler reads by compiling and running a program that prints
TOGSIM_VERSION_STRING and TOGSIM_VERSION. Against that compiler every launch stopped at
store_identity: "module 'pytorchsim_triton_compiler.toolchain' has no attribute
'togsim_api_version'" (tests/system/test_bundle_reuse.py, tests/ops/gemm/test_grouped_mm.py).
The probe and tests/system/test_cache_identity.py now ask togsim_version(); the headers digest
is unchanged. Against PTB main, which still has only togsim_api_version, this needs the pin
bump that follows #315.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…me attributes replace them

a5d1fbd (#412) appended the elements of every argument tile_types.json lists as data_args to the
launch's shape_args (timing.data_values), so the TOG could read the grouped GEMM's group, start and
row tables from the launch. That is the compiler side of PTB #282 (torchsim.data), which was
rejected and is closed; no compiler the pin can reach writes data_args. PTB #315's runtime
attributes replace it: the functional run records each value the TOG reads from data under
runtime/runtime_attribute/, and TOGSim reads those records (the commit before this one), so the
values never travel through shape_args.

data_values and _write_extents' data argument are removed and shape_args is the grid again, as
before #412. The grouped_mm frontend, its registration and tests/ops/gemm/test_grouped_mm.py stay;
the frontend's docstring now says the TOG reads the table as runtime attributes.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…r reads from togsim_runtime.h

5f74a76 asks the compiler for toolchain.togsim_api_version(), the API_VERSION regex over
togsim.hpp. PTB #315 (e737897) replaced it with toolchain.togsim_version(): TOGSim has one
version, 1.0.0, which the compiler reads by compiling and running a program that prints
TOGSIM_VERSION_STRING and TOGSIM_VERSION. Against that compiler every launch stopped at
store_identity: "module 'pytorchsim_triton_compiler.toolchain' has no attribute
'togsim_api_version'" (tests/system/test_bundle_reuse.py, tests/ops/gemm/test_grouped_mm.py).
The probe and tests/system/test_cache_identity.py now ask togsim_version(); the headers digest
is unchanged. Against PTB main, which still has only togsim_api_version, this needs the pin
bump that follows #315.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…me attributes replace them

a5d1fbd (#412) appended the elements of every argument tile_types.json lists as data_args to the
launch's shape_args (timing.data_values), so the TOG could read the grouped GEMM's group, start and
row tables from the launch. That is the compiler side of PTB #282 (torchsim.data), which was
rejected and is closed; no compiler the pin can reach writes data_args. PTB #315's runtime
attributes replace it: the functional run records each value the TOG reads from data under
runtime/runtime_attribute/, and TOGSim reads those records (the commit before this one), so the
values never travel through shape_args.

data_values and _write_extents' data argument are removed and shape_args is the grid again, as
before #412. The grouped_mm frontend, its registration and tests/ops/gemm/test_grouped_mm.py stay;
the frontend's docstring now says the TOG reads the table as runtime attributes.
YWHyuk added a commit that referenced this pull request Oct 23, 2026
…r reads from togsim_runtime.h

5f74a76 asks the compiler for toolchain.togsim_api_version(), the API_VERSION regex over
togsim.hpp. PTB #315 (e737897) replaced it with toolchain.togsim_version(): TOGSim has one
version, 1.0.0, which the compiler reads by compiling and running a program that prints
TOGSIM_VERSION_STRING and TOGSIM_VERSION. Against that compiler every launch stopped at
store_identity: "module 'pytorchsim_triton_compiler.toolchain' has no attribute
'togsim_api_version'" (tests/system/test_bundle_reuse.py, tests/ops/gemm/test_grouped_mm.py).
The probe and tests/system/test_cache_identity.py now ask togsim_version(); the headers digest
is unchanged. Against PTB main, which still has only togsim_api_version, this needs the pin
bump that follows #315.
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.

2 participants