Tonic commited on
Commit
f7d2079
1 Parent(s): 95fe54b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ import gradio as gr
9
  title = "Welcome to Tonic's 🐋🐳Orca-2-13B!"
10
  description = "You can use [🐋🐳microsoft/Orca-2-13b](https://huggingface.co/microsoft/Orca-2-13b) Or clone this space to use it locally or on huggingface! [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."
11
 
12
- os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:50'
13
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
14
  model_name = "microsoft/Orca-2-13b"
15
  model = AutoModelForCausalLM.from_pretrained(model_name)
 
9
  title = "Welcome to Tonic's 🐋🐳Orca-2-13B!"
10
  description = "You can use [🐋🐳microsoft/Orca-2-13b](https://huggingface.co/microsoft/Orca-2-13b) Or clone this space to use it locally or on huggingface! [Join me on Discord to build together](https://discord.gg/VqTxc76K3u)."
11
 
12
+ os.environ['PYTORCH_CUDA_ALLOC_CONF'] = 'max_split_size_mb:24'
13
  device = torch.device("cuda:0" if torch.cuda.is_available() else "cpu")
14
  model_name = "microsoft/Orca-2-13b"
15
  model = AutoModelForCausalLM.from_pretrained(model_name)