Skip to content

Commit 7e9e784

Browse files
authored
disable download progress for smoke test weights (#8158)
1 parent 490929c commit 7e9e784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/smoke_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def smoke_test_torchvision_resnet50_classify(device: str = "cpu") -> None:
5353

5454
# Step 1: Initialize model with the best available weights
5555
weights = ResNet50_Weights.DEFAULT
56-
model = resnet50(weights=weights).to(device)
56+
model = resnet50(weights=weights, progress=False).to(device)
5757
model.eval()
5858

5959
# Step 2: Initialize the inference transforms

0 commit comments

Comments
 (0)