Skip to content

Commit

Permalink
Remove comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
congw729 committed Sep 27, 2024
1 parent 3cc66bb commit 3264d1b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/sharegpt_4v/share4v/eval/run_share4v.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# if the project path is not in the system path, add it manually
os.sys.path.append(os.getcwd())
# os.sys.path.append(os.getcwd())

import json

Expand Down Expand Up @@ -93,7 +93,6 @@ def eval_model(args):

inputs["input_ids"] = ids
inputs["images"] = image_tensor
# cong TODO
# actually this won't affect, the value would re-assigned in text_generation.line258
inputs["return_key_value_cache"] = False
output_ids = pipeline.generate(**inputs)
Expand Down

0 comments on commit 3264d1b

Please sign in to comment.