gpt comments
This commit is contained in:
parent
76148ad344
commit
5c4ff32efc
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ def detect_hardware() -> DeviceType:
|
|||
3. CPU (fallback)
|
||||
"""
|
||||
global DEVICE, CHAT_ONLY
|
||||
CHAT_ONLY = True # reset — only CUDA sets it to False
|
||||
|
||||
# --- CUDA: try PyTorch ---
|
||||
if _has_torch():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue