forked from triton-lang/triton
-
Notifications
You must be signed in to change notification settings - Fork 29
Closed
Description
Just noticed that this breaks on 3.12 with an uncaught StopIteration
:
_triton_C_dir = importlib.resources.files(triton._C).joinpath("") |
Apparently I am using unsupported behavior, per python/cpython#106614
I think the right fix is to use importlib.resources.as_file()
, though I think that causes the shared lib to get copied on disk. It would also require some refactoring. As I understand, there are other issues blocking us on 3.12 for now, so I don't think this is the highest pri, but let me know if it's blocking you and I'll fix it.
Metadata
Metadata
Assignees
Labels
No labels