[Feat] Add torch.compile support #1791
Open
Codacy Production / Codacy Static Code Analysis
succeeded
Nov 21, 2024 in 0s
Your pull request is up to standards!
Here is an overview of what got changed by this pull request:
Complexity increasing per file
==============================
- tests/pytorch/test_models_classification_pt.py 2
- doctr/models/classification/zoo.py 1
- doctr/models/recognition/zoo.py 1
Complexity decreasing per file
==============================
+ tests/pytorch/test_models_zoo_pt.py -1
+ tests/pytorch/test_models_recognition_pt.py -1
+ tests/pytorch/test_models_detection_pt.py -1
+ doctr/models/detection/linknet/pytorch.py -1
Clones added
============
- tests/pytorch/test_models_classification_pt.py 3
Clones removed
==============
+ doctr/models/recognition/parseq/pytorch.py -1
+ doctr/models/recognition/vitstr/pytorch.py -1
+ doctr/models/recognition/crnn/pytorch.py -1
+ doctr/models/recognition/sar/pytorch.py -1
See the complete overview on Codacy
Loading