Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stevhliu committed Dec 18, 2024
1 parent 3d646a1 commit 1b78aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/en/api/pipelines/mochi.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ from transformers import BitsAndBytesConfig as BitsAndBytesConfig, T5EncoderMode
quant_config = BitsAndBytesConfig(load_in_8bit=True)
text_encoder_8bit = T5EncoderModel.from_pretrained(
"genmo/mochi-1-preview",
subfolder="text_encoder2",
subfolder="text_encoder",
quantization_config=quant_config,
torch_dtype=torch.float16,
)
Expand Down

0 comments on commit 1b78aaf

Please sign in to comment.