aksinghyaani commited on
Commit
08631f8
·
verified ·
1 Parent(s): 232ef3f

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -159,8 +159,8 @@ model = AutoModelForCausalLM.from_pretrained(
159
  ).eval()
160
 
161
 
162
- model.config.kv_cache_mode = "shared"
163
- # model.config.kv_cache_mode = "vanilla"
164
 
165
  prompt = """The night was quiet and the streets were empty"""
166
 
 
159
  ).eval()
160
 
161
 
162
+ #model.config.kv_cache_mode = "shared" # Use this one if wants to save 50% KV cache, but this will slight more compute
163
+ model.config.kv_cache_mode = "vanilla"
164
 
165
  prompt = """The night was quiet and the streets were empty"""
166