srush / Triton-Puzzles

Puzzles for learning Triton
Apache License 2.0
925 stars 57 forks source link

ImportError: cannot import name 'interpreter_builder' from 'triton.runtime.interpreter' #15

Open siriusctrl opened 1 month ago

siriusctrl commented 1 month ago

By directly running on colab, I saw this error

ImportError: cannot import name 'interpreter_builder' from 'triton.runtime.interpreter'

by inspecting the import with dir(triton.runtime.interpreter), there seems no interpreter_builder

['BlockPointerHandle',
 'Builder',
 'GridExecutor',
 'InterpretedFunction',
 'RESERVED_KWS',
 'TensorHandle',
 '__builtins__',
 '__cached__',
 '__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__spec__',
 '_implicit_cvt',
 '_interpreter',
 '_patch_lang_core',
 '_patch_lang_math',
 '_patch_lang_tensor',
 '_unwrap',
 'builder',
 'inspect',
 'np',
 'patch_attr',
 'str_to_ty',
 'tl',
 'triton',
 'wrap_ret']