Skip to content

Commit

Permalink
minor correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Char15Xu committed Jul 10, 2024
1 parent df60dcc commit dba5c42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from app.embedding.table_create import execute_all, connect, insert

# Set the environment variable to use the SQL database
SQLDB = True
SQLDB = False

class Message(BaseModel):
role: str
Expand All @@ -35,7 +35,7 @@ class Message(BaseModel):
"text-generation",
model=model_id,
model_kwargs={"torch_dtype": torch.bfloat16},
device="mps",
device="cuda",
)

lock = threading.Lock()
Expand Down

0 comments on commit dba5c42

Please sign in to comment.