Skip to content

Commit

Permalink
Bump stage2_batch_size to 16
Browse files Browse the repository at this point in the history
According to multimodal-art-projection/YuE#38,
this could help with inference times.
  • Loading branch information
tvararu committed Feb 1, 2025
1 parent 72e4d05 commit aab7091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def infer(genre_txt_content, lyrics_txt_content, num_segments, max_new_tokens):
"--genre_txt", f"{genre_txt_path}",
"--lyrics_txt", f"{lyrics_txt_path}",
"--run_n_segments", str(num_segments),
"--stage2_batch_size", "4",
"--stage2_batch_size", "16",
"--output_dir", f"{output_dir}",
"--cuda_idx", "0",
"--max_new_tokens", str(max_new_tokens)
Expand Down

0 comments on commit aab7091

Please sign in to comment.