Spaces:
Paused
Paused
safihaider
commited on
Commit
•
b50d476
1
Parent(s):
a82338b
update
Browse files- 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.
|
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 |
|