Skip to content

FIXME artifact scripts export TOGSIM_CONFIG and name configs that are not shipped #415

Open

Description

@YWHyuk

experiments/artifact/cycle_validation/run_cycle.sh:61-63 and experiments/artifact/speedup/scripts/run_speed_ils_{matmul,conv,bert,resnet}.sh export TOGSIM_CONFIG. On this branch, TOGSIM_CONFIG raises NoTarget: TOGSIM_CONFIG=... is retired already at import torch (pytorchsim/driver/compiler_bridge.py:70-72).

The scripts also name systolic_ws_* configs (run_speedup.sh:11-12, run_cycle.sh:63). $TOGSIM_DIR/configs now holds only the tpuv3*, tpuv4 and tpuv6e machines.

What happens in docker local/torchsim_base:ptb-9618c0e:

  • run_cycle.sh --only matmul exits rc=1 on its first workload.
  • run_speed_ils_matmul.sh exits rc=0 but every iteration reports simulation_time = NA, so it fails silently.

The README's Artifact Evaluation section scopes these scripts to the v1.0.0 image.

To decide: port the scripts to TORCHSIM_TARGET and the shipped machines, or state that they run only on v1.0.0.

Found while reviewing #413.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions