Skip to content

Commit

Permalink
Merge branch 'main' into nvfuser_slice
Browse files Browse the repository at this point in the history
  • Loading branch information
jjsjann123 authored Feb 3, 2025
2 parents 249b60f + 7f7b8bd commit af854f5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions thunder/executors/triton_crossentropy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

triton_ex: None | OperatorExecutor = None
if triton_version is not None:
from thunder.executors.triton_crossentropy_impl import triton_ex as impl_ex
try:
from thunder.executors.triton_crossentropy_impl import triton_ex as impl_ex

triton_ex = impl_ex
triton_ex = impl_ex
except Exception:
import warnings

warnings.warn("triton is present but cannot be initialized")
triton_version = None

0 comments on commit af854f5

Please sign in to comment.