Zhiding commited on
Commit
0635cb1
·
1 Parent(s): d1b50fe
Files changed (1) hide show
  1. eagle_vl/serve/inference.py +1 -1
eagle_vl/serve/inference.py CHANGED
@@ -27,7 +27,7 @@ def load_model(model_path: str = "NVEagle/Eagle2.5-VL-8B-Preview"):
27
  config.text_config._attn_implementation = "flash_attention_2"
28
  print("Successfully set the attn_implementation to flash_attention_2")
29
  token = os.environ.get("HF_TOKEN")
30
- print(f"token = {token[0]}***{token[-1]}")
31
  model = AutoModel.from_pretrained(
32
  model_path,
33
  trust_remote_code=True,
 
27
  config.text_config._attn_implementation = "flash_attention_2"
28
  print("Successfully set the attn_implementation to flash_attention_2")
29
  token = os.environ.get("HF_TOKEN")
30
+ logger.info(f"token = {token[:4]}***{token[-2:]}")
31
  model = AutoModel.from_pretrained(
32
  model_path,
33
  trust_remote_code=True,