Skip to content

Commit 6c974b7

Browse files
committed
remove static crop var
1 parent d5fbc30 commit 6c974b7

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

inference_models/inference_models/models/rfdetr/pre_processing.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,6 @@ def triton_path_eligible(
201201
ipp.grayscale is not None and ipp.grayscale.enabled
202202
):
203203
return False
204-
# Honor overrides that force-disable static_crop (True means "disable").
205-
static_crop_overridden = (
206-
pre_processing_overrides is not None
207-
and pre_processing_overrides.disable_static_crop is True
208-
)
209204
# Two-stage dataset-version resize isn't in the kernel.
210205
ni = network_input
211206
if _needs_two_step_resize(ni):

temp/preproc_microbench.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@
99
import os
1010
import time
1111

12-
os.environ.setdefault(
13-
"DISABLED_INFERENCE_MODELS_BACKENDS",
14-
"torch,torch-script,onnx,hugging-face,ultralytics,mediapipe,custom",
15-
)
16-
1712
import numpy as np
1813
import torch
1914
from inference_models import AutoModel

0 commit comments

Comments
 (0)