[PATCH] D143218: [mlgo] Hook up the interactive runner to the mlgo-ed passes

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 4 11:50:13 PST 2023


dyung added a comment.

There still seems to be failures related to this change, can you take a look please?

https://lab.llvm.org/buildbot/#/builders/247/builds/1260

  Traceback (most recent call last):
    File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/Transforms/Inline/ML/Output/interactive-mode.ll.tmp.rundir/interactive_main.py", line 21, in <module>
      main(sys.argv[1:])
    File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/Transforms/Inline/ML/Output/interactive-mode.ll.tmp.rundir/interactive_main.py", line 17, in main
      interactive_host.run_interactive(args[0], a.advice, args[1:])
    File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/Transforms/Inline/ML/Output/interactive-mode.ll.tmp.rundir/interactive_host.py", line 71, in run_interactive
      context, next_event, fc, tensor_specs, None)
    File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/Transforms/Inline/ML/Output/interactive-mode.ll.tmp.rundir/log_reader.py", line 100, in read_one_observation
      features.append(read_tensor(f, ts))
    File "/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/test/Transforms/Inline/ML/Output/interactive-mode.ll.tmp.rundir/log_reader.py", line 71, in read_tensor
      size = math.prod(ts.shape) * ctypes.sizeof(ts.element_type)
  AttributeError: module 'math' has no attribute 'prod'
  FileCheck error: '<stdin>' is empty.
  FileCheck command line:  /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/test/Transforms/Inline/ML/interactive-mode.ll


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143218/new/

https://reviews.llvm.org/D143218



More information about the llvm-commits mailing list