Skip to content

Commit 5d947fe

Browse files
authored
Merge branch 'dev' into code_owners
2 parents 2f0dc7c + c3a3397 commit 5d947fe

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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)