Skip to content

Commit

Permalink
Merge pull request #54 from yukiarimo/cpu
Browse files Browse the repository at this point in the history
set to use CPU by default + add ctransformers to req
  • Loading branch information
yukiarimo authored Jan 17, 2024
2 parents 9443379 + ab71159 commit a2c9358
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ torch
torchvision
torchaudio
transformers
ctransformers
diffusers
html2text
bs4
itsdangerous
cryptography
cryptography
4 changes: 2 additions & 2 deletions static/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"stream": false,
"batch_size": 128,
"threads": -1,
"gpu_layers": 50
"gpu_layers": 0
},
"server": {
"port": 4848,
Expand All @@ -43,7 +43,7 @@
"art_default_model": "any_loli.safetensors",
"prompts": "static/db/prompts/",
"default_prompt_file": "dialog.txt",
"device": "mps"
"device": "cpu"
},
"security": {
"secret_key": "YourSecretKeyHere123!",
Expand Down

0 comments on commit a2c9358

Please sign in to comment.