Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobKong authored Dec 3, 2024
1 parent 168e908 commit a624c34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hyvideo/utils/preprocess_text_encoder_tokenizer_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@
from transformers import (
AutoProcessor,
LlavaForConditionalGeneration,
LlavaProcessor
)


def preprocess_text_encoder_tokenizer(args):

processor: LlavaProcessor = AutoProcessor.from_pretrained(args.input_dir)
processor = AutoProcessor.from_pretrained(args.input_dir)
model = LlavaForConditionalGeneration.from_pretrained(
args.input_dir,
torch_dtype=torch.float16,
Expand Down

0 comments on commit a624c34

Please sign in to comment.