We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
os.sep
filter_traceback
1 parent ccf97fd commit 3467f99Copy full SHA for 3467f99
python/triton/compiler/compiler.py
@@ -190,9 +190,10 @@ def filter_traceback(e: BaseException):
190
filter_traceback(e.__context__)
191
192
# If a user has a file that matches one of these, they're out of luck.
193
+ sep = os.sep
194
BAD_FILES = [
- "/triton/compiler/code_generator.py",
195
- "/ast.py",
+ f"{sep}triton{sep}compiler{sep}code_generator.py",
196
+ f"{sep}ast.py",
197
]
198
199
tb = e.__traceback__
0 commit comments