Skip to content

Commit 63cdfcd

Browse files
committed
fix typos
1 parent 00d50f8 commit 63cdfcd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cosmos1/models/autoregressive/tokenizer/discrete_video.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
from cosmos1.models.autoregressive.tokenizer.quantizers import FSQuantizer
2222

23-
# Make sure jit model output consistenly during consecutive calls
23+
# Make sure jit model output consistently during consecutive calls
2424
# Check here: https://github.com/pytorch/pytorch/issues/74534
2525
torch._C._jit_set_texpr_fuser_enabled(False)
2626

@@ -34,7 +34,7 @@ def load_jit_model(jit_filepath: str = None, device: str = "cuda") -> torch.jit.
3434
Returns:
3535
The JIT compiled model loaded to device and on eval mode.
3636
"""
37-
# Make sure jit model output consistenly during consecutive calls
37+
# Make sure jit model output consistently during consecutive calls
3838
# Check here: https://github.com/pytorch/pytorch/issues/74534
3939
torch._C._jit_set_texpr_fuser_enabled(False)
4040

cosmos1/models/autoregressive/tokenizer/text_tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def encode(
126126
add_special_tokens (`bool`, *optional*, defaults to `True`):
127127
Whether or not to add special tokens when encoding the sequences. This will use the underlying
128128
`PretrainedTokenizerBase.build_inputs_with_special_tokens` function, which defines which tokens are
129-
automatically added to the input ids. This is usefull if you want to add `bos` or `eos` tokens
129+
automatically added to the input ids. This is useful if you want to add `bos` or `eos` tokens
130130
automatically.
131131
padding (`bool`, `str`, *optional*, defaults to `False`):
132132
Activates and controls padding. Accepts the following values:

0 commit comments

Comments
 (0)