cphoward
Results
2
comments of
cphoward
After playing around with models, I've found something like ``` python def prepare_preprompt_kv_cache(preprompt): inputs = tokenizer(preprompt, return_tensors="np", add_special_tokens=False) model_inputs = { "input_ids": inputs["input_ids"], "attention_mask": inputs["attention_mask"] } # Generate position ids...
@geofflittle Were you able to get it installed? I've encountered the same problem on install with Ubuntu 22.04.3 LTS.