Skip to content

Commit

Permalink
bring back TINYGRAD_DEBUG. not sure why it was removed
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexCheema committed Jul 31, 2024
1 parent 7676625 commit 980d5d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exo/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ def get_inference_engine(inference_engine_name):
return MLXDynamicShardInferenceEngine()
elif inference_engine_name == "tinygrad":
from exo.inference.tinygrad.inference import TinygradDynamicShardInferenceEngine
import tinygrad.helpers
tinygrad.helpers.DEBUG.value = int(os.getenv("TINYGRAD_DEBUG", default="0"))

return TinygradDynamicShardInferenceEngine()
else:
Expand Down

0 comments on commit 980d5d2

Please sign in to comment.