bkhmsi commited on
Commit
1af3855
·
1 Parent(s): e63a1d1
Files changed (1) hide show
  1. router_backend.py +1 -1
router_backend.py CHANGED
@@ -238,7 +238,7 @@ def build_model(model_id: str, hf_token: str, ablations: List[str], use_cache: b
238
  if "olmo" in model_id:
239
  model_config.vocab_size = len(tokenizer)
240
 
241
- model = model_class.from_pretrained(model_path, config=model_config, low_cpu_mem_usage=True, dtype=torch.float16)
242
 
243
  model.to(DEVICE)
244
  model = model.half()
 
238
  if "olmo" in model_id:
239
  model_config.vocab_size = len(tokenizer)
240
 
241
+ model = model_class.from_pretrained(model_path, config=model_config, low_cpu_mem_usage=True)
242
 
243
  model.to(DEVICE)
244
  model = model.half()