Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alpayariyak authored Jan 16, 2024
1 parent a5dc8b5 commit ed48093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def _get_n_current_jobs(self):
return total_sequences

def _get_quantization(self):
quantization = os.getenv("QUANTIZATION").lower()
quantization = os.getenv("QUANTIZATION", "").lower()
return quantization if quantization in ["awq", "squeezellm", "gptq"] else None

def concurrency_modifier(self, current_concurrency):
Expand Down

0 comments on commit ed48093

Please sign in to comment.