Skip to content

Commit 855972f

Browse files
Lint project
1 parent 324db38 commit 855972f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

pytorch_benchmark/benchmark.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ def warm_up(
108108
def measure_detailed_inference_timing(
109109
model, sample, model_device, transfer_to_device_fn=torch.Tensor.to
110110
):
111-
112111
try:
113112
with torch.autograd.profiler.profile(
114113
use_cuda=(model_device.type == "cuda"), profile_memory=True
@@ -135,7 +134,6 @@ def measure_repeated_inference_timing(
135134
num_runs=100,
136135
batch_size: int = None,
137136
):
138-
139137
t_c2d = []
140138
t_inf = []
141139
t_d2c = []

tests/test_example.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77

88
def test_example():
9-
109
model = efficientnet_b0()
1110

1211
if torch.cuda.is_available():

0 commit comments

Comments
 (0)