wondervictor commited on
Commit
627dbc0
·
verified ·
1 Parent(s): 3094fff

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -88,7 +88,7 @@ class Model:
88
  precision = torch.bfloat16
89
  t5_model = T5Embedder(
90
  device="cuda",
91
- local_cache=False,
92
  cache_dir='checkpoints/flan-t5-xl',
93
  dir_or_name='flan-t5-xl',
94
  torch_dtype=precision,
 
88
  precision = torch.bfloat16
89
  t5_model = T5Embedder(
90
  device="cuda",
91
+ local_cache=True,
92
  cache_dir='checkpoints/flan-t5-xl',
93
  dir_or_name='flan-t5-xl',
94
  torch_dtype=precision,