safihaider commited on
Commit
b50d476
1 Parent(s): a82338b
Files changed (1) hide show
  1. ChatService.py +1 -1
ChatService.py CHANGED
@@ -23,7 +23,7 @@ class ChatService:
23
  pipeline = transformers.pipeline(
24
  task="text-generation",
25
  model=model_name,
26
- torch_dtype=torch.bfloat16,
27
  device_map="auto",
28
  )
29
 
 
23
  pipeline = transformers.pipeline(
24
  task="text-generation",
25
  model=model_name,
26
+ torch_dtype=torch.float16,
27
  device_map="auto",
28
  )
29