mamkkl commited on
Commit
5c3469e
·
verified ·
1 Parent(s): 3281699

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -101,7 +101,10 @@ def loadModel():
101
  device_map="auto",
102
  quantization_config=quantization_config,
103
  max_memory={
104
- 0: "40GB", # GPU 0 with 20GB memory
 
 
 
105
  "cpu": "40GB" # CPU with 100GB memory
106
  },
107
  )
 
101
  device_map="auto",
102
  quantization_config=quantization_config,
103
  max_memory={
104
+ 0: "10GB", # GPU 0 with 20GB memory
105
+ 1: "10GB", # GPU 0 with 20GB memory
106
+ 2: "10GB", # GPU 0 with 20GB memory
107
+ 3: "10GB", # GPU 0 with 20GB memory
108
  "cpu": "40GB" # CPU with 100GB memory
109
  },
110
  )