fix spelling errors (#38608)
* fix errors test_modeling_mllama.py * fix error test_modeling_video_llava.py * fix errors test_processing_common.py
This commit is contained in:
@@ -366,15 +366,15 @@ class MllamaForConditionalGenerationModelTest(ModelTesterMixin, GenerationTester
|
||||
def test_assisted_decoding_with_num_logits_to_keep(self):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="Mllama uses self.weights dirrectly causing device mismatch when offloading`")
|
||||
@unittest.skip(reason="Mllama uses self.weights directly causing device mismatch when offloading`")
|
||||
def test_cpu_offload(self):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="Mllama uses self.weights dirrectly causing device mismatch when offloading`")
|
||||
@unittest.skip(reason="Mllama uses self.weights directly causing device mismatch when offloading`")
|
||||
def test_disk_offload_bin(self):
|
||||
pass
|
||||
|
||||
@unittest.skip(reason="Mllama uses self.weights dirrectly causing device mismatch when offloading`")
|
||||
@unittest.skip(reason="Mllama uses self.weights directly causing device mismatch when offloading`")
|
||||
def test_disk_offload_safetensors(self):
|
||||
pass
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ class VideoLlavaForConditionalGenerationModelTest(ModelTesterMixin, GenerationTe
|
||||
for model_class in self.all_model_classes:
|
||||
model = model_class(config).to(torch_device)
|
||||
curr_input_dict = copy.deepcopy(input_dict)
|
||||
_ = model(**curr_input_dict) # successfull forward with no modifications
|
||||
_ = model(**curr_input_dict) # successful forward with no modifications
|
||||
|
||||
# remove one image but leave the image token in text
|
||||
curr_input_dict["pixel_values_images"] = curr_input_dict["pixel_values_images"][-1:, ...]
|
||||
|
||||
Reference in New Issue
Block a user