fix env var

This commit is contained in:
OlivierDehaene 2024-01-10 17:17:19 +01:00 committed by Nicolas Patry
parent 9904f66966
commit 8260dc00d8

View File

@ -777,7 +777,7 @@ class FlashCausalLM(Model):
self.device,
)
if os.getenv("ENABLE_CUDA_GRAPHS", "false") == "true":
if os.getenv("ENABLE_CUDA_GRAPHS", "False") == "True":
try:
# Warmup cuda graphs for all power of twos until 64
for i in range(6):