You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #46 from DeepKnowledge1/develop
feat(inference): add backend-specific warm-up support
- Implemented warmup() in each backend:
• TorchBackend: runs dummy or provided tensor through model with AMP/cuDNN
• TorchScriptBackend: runs dummy or provided tensor on-device a few times
• OnnxBackend: generates dummy numpy input matching model metadata and executes
• OpenVinoBackend: creates infer request and runs with dummy or provided input
• TensorRTBackend: added stub (warns and skips, since not implemented)
- Added ModelWrapper.warmup() to delegate to backend if supported
- Updated detect.py to run warm-up with first dataloader batch before inference loop
Warm-up stabilizes first-batch latency, preloads kernels, and reduces variance,
especially on CUDA backends (Torch/TorchScript/ONNX).
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[tool.poetry]
2
2
name = "AnomaVision"
3
-
version = "2.0.30"
3
+
version = "2.0.37"
4
4
description = "Deep learnIng Anomaly Detection EnvironMent [AnomaVision] is a deep learning library that aims to collect state-of-the-art anomaly detection algorithms for benchmarking on both public and private datasets. PaDimOpti provides several ready-to-use implementations of anomaly detection algorithms described in the recent literature, as well as a set of tools that facilitate the development and implementation of custom models. The library has a strong focus on image-based anomaly detection, where the goal of the algorithm is to identify anomalous images, or anomalous pixel regions within images in a dataset. PaDimOpti is constantly being updated with new algorithms and training/inference extensions, so stay tuned!!"
0 commit comments