Skip to content

Commit 28f8266

Browse files
committed
remove the test case
Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
1 parent 2d41655 commit 28f8266

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

tests/bundle/test_bundle_download.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -316,19 +316,6 @@ def test_load_weights(self, bundle_files, bundle_name, repo, device, model_file)
316316
output_2 = model_2.forward(input_tensor)
317317
assert_allclose(output_2, expected_output, atol=1e-4, rtol=1e-4, type_test=False)
318318

319-
model_3 = load(
320-
name=bundle_name,
321-
model_file=model_file,
322-
bundle_dir=tempdir,
323-
progress=False,
324-
device=device,
325-
source="github",
326-
**net_args,
327-
)
328-
model_3.eval()
329-
output_3 = model_3.forward(input_tensor)
330-
assert_allclose(output_3, expected_output, atol=1e-4, rtol=1e-4, type_test=False)
331-
332319
@parameterized.expand([TEST_CASE_8])
333320
@skip_if_quick
334321
@skipUnless(has_huggingface_hub, "Requires `huggingface_hub`.")

0 commit comments

Comments
 (0)