Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
ydshieh committed Feb 7, 2024
1 parent f5a7e3a commit 2b3dfb1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/models/llama/test_inference_llama.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

from transformers import AutoModelForCausalLM, AutoTokenizer

torch.backends.cudnn.deterministic = True
torch.backends.cuda.matmul.allow_tf32 = False
torch.backends.cudnn.allow_tf32 = False

device = "cuda"


Expand Down

0 comments on commit 2b3dfb1

Please sign in to comment.