Fix MiniMax (docs and integration tests checkpoint) (#38575)
* update checkpoints for integration tests * minor fixes in docs
This commit is contained in:
@@ -243,7 +243,7 @@ class MiniMaxModelTest(CausalLMModelTest, unittest.TestCase):
|
||||
@slow
|
||||
class MiniMaxIntegrationTest(unittest.TestCase):
|
||||
def test_small_model_logits(self):
|
||||
model_id = "geetu040/MiniMax-tiny"
|
||||
model_id = "hf-internal-testing/MiniMax-tiny"
|
||||
dummy_input = torch.LongTensor([[0, 1, 0], [0, 1, 0]]).to(torch_device)
|
||||
|
||||
model = MiniMaxForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, low_cpu_mem_usage=True).to(
|
||||
@@ -262,7 +262,7 @@ class MiniMaxIntegrationTest(unittest.TestCase):
|
||||
torch.testing.assert_close(logits[1, :3, :3], expected_slice, atol=1e-3, rtol=1e-3)
|
||||
|
||||
def test_small_model_generation(self):
|
||||
model_id = "geetu040/MiniMax-tiny"
|
||||
model_id = "hf-internal-testing/MiniMax-tiny"
|
||||
dummy_input = torch.LongTensor([[0, 1, 0], [0, 1, 0]]).to(torch_device)
|
||||
|
||||
model = MiniMaxForCausalLM.from_pretrained(model_id, torch_dtype=torch.bfloat16, low_cpu_mem_usage=True).to(
|
||||
|
||||
Reference in New Issue
Block a user