-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Labels
performanceissues related to performance regressionsissues related to performance regressionsstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot
Description
Describe the issue
Description
We observed a performance regression in the SVMClassifier operator (RBF kernel with float32 and probabilities) between ONNXRuntime v1.18.0 and v1.19.0.
Affected Operator
SVMClassifier
- Opset Version: 1
- Data Type: float32
- Configuration: RBF kernel with probabilities
- Regression: +9.34% slowdown
- Suspected Commit:
08ecf30e(not confirmed, requires git bisect)
Test Case Details
Model Information:
- Operator: SVMClassifier
- Opset: 1
- Input data type: float32
- Kernel type: RBF (Radial Basis Function)
- Output: class predictions with probabilities
Performance Comparison:
- v1.18.0: 0.003 ms (baseline)
- v1.19.0: 0.003 ms
- Regression: +9.34% slowdown
Root Cause Analysis
Suspected Commit
- Commit
08ecf30eis suspected based on version range analysis - Further investigation (git bisect) recommended to confirm
Suspected Causes
The 9.34% regression in SVMClassifier suggests:
- Changes in RBF kernel computation
- Modifications to probability calculation logic
- Inefficiencies in class prediction algorithms
- Changes in memory access patterns or vectorization
To reproduce
-
Download and unzip test.zip
-
Run benchmark:
python script.py ./svmclassifier 1.18.0 1.19.0
-
Compare the reported latencies between the two versions.
Urgency
No response
Platform
Linux
OS Version
Ubuntu 24.04.3 LTS
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
ONNX Runtime API
Python
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response
Model File
No response
Is this a quantized model?
Yes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
performanceissues related to performance regressionsissues related to performance regressionsstaleissues that have not been addressed in a while; categorized by a botissues that have not been addressed in a while; categorized by a bot