You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][Frontend] TOG host C flags hard-coded to debug -Og via 'if True:' #239
PyTorchSimFrontend/extension_config.py:14-24 carries a left-over if True: so the host CFLAGS for the dlopen-ed *_tog.so / tile_operation_graph.so are permanently -g -Og -fno-omit-frame-pointer .... The release branch (-O2 ...) is unreachable.
Every TOG .so produced by extension_codecache is compiled at -Og with debug symbols. This is dead-weight CPU + memory cost for every TOGSim run (large models compile and load these .so files repeatedly). The release path should be the default; TORCHSIM_TOG_SO_DEBUG=1 is the existing opt-in for debug builds.
Git context
Likely introduced as a temporary debugging override that was never reverted. Worth checking git log -p PyTorchSimFrontend/extension_config.py for context.
Activity
[Frontend] Drop unused TOG host-cflags/ldflags config (issue #239)