ccclemenfff commited on
Commit
1fec799
·
1 Parent(s): 9c89842
Files changed (2) hide show
  1. inference.py +1 -1
  2. requirements.txt +2 -1
inference.py CHANGED
@@ -360,7 +360,7 @@ class Chat:
360
 
361
  if __name__ == '__main__':
362
  # model_path = "/mnt/petrelfs/zhangqinglong/Documents/Husky/work_dirs/husky_v3/EmbodiedGPT/pretrain_0727"
363
- model_path = "/mnt/petrelfs/share_data/gvembodied/workdirs/align_new_myyf"
364
  device = "cuda" if torch.cuda.is_available() else "cpu"
365
  chat = Chat(model_path, device=device, num_gpus=1, max_new_tokens=1024, load_8bit=False)
366
 
 
360
 
361
  if __name__ == '__main__':
362
  # model_path = "/mnt/petrelfs/zhangqinglong/Documents/Husky/work_dirs/husky_v3/EmbodiedGPT/pretrain_0727"
363
+ model_path = "./"
364
  device = "cuda" if torch.cuda.is_available() else "cpu"
365
  chat = Chat(model_path, device=device, num_gpus=1, max_new_tokens=1024, load_8bit=False)
366
 
requirements.txt CHANGED
@@ -6,7 +6,8 @@ torchaudio==2.0.2
6
  transformers==4.28.1
7
  sentence_transformers==2.2.2
8
  decord==0.6.0
9
- huggingface_hub>=0.16.4,<0.18
 
10
  peft==0.4.0
11
  Pillow
12
  einops
 
6
  transformers==4.28.1
7
  sentence_transformers==2.2.2
8
  decord==0.6.0
9
+ huggingface_hub==0.13.3
10
+ tokenizers==0.13.3
11
  peft==0.4.0
12
  Pillow
13
  einops