Skip to content

Commit

Permalink
[FIX Pytest] Resolve 'importlib' issue (#78)
Browse files Browse the repository at this point in the history
This commit resolves issue, that occurs on main 'pytest run'.
```
    _triton_C_dir = importlib.resources.files(triton._C).joinpath("")
E   AttributeError: module 'importlib' has no attribute 'resources'
```
  • Loading branch information
Devjiu authored Jul 29, 2024
1 parent f3a642c commit 3485bfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions third_party/cpu/backend/driver.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import hashlib
import importlib
import importlib.resources
import tempfile

import triton._C
Expand Down

0 comments on commit 3485bfd

Please sign in to comment.