Mike
Mike
Oh, thanks, actually works with previous transformers ``` transformers 4.40.0 torch 2.4.0.dev20240505+cpu ``` ``` $ python projects/pt1/examples/torchscript_stablehlo_backend_tinybert.py /home/mike/git/hub/com/torch-mlir/mlir_venv/lib/python3.11/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads...
Example diagnostics with poc: ```c++ llvm-project/clang-tools-extra/clangd/index/Index.cpp:75:1: warning: Inconsistent alias name for 'clang::clangd::SwapIndex::indexedFiles' return type: Base return type is alias, but derived return type is not; Consider replacing with base type...
Thanks for the feedback @5chmidti ! > Only fixing the one case is the right way to go, in the other cases it may not be correct or good to...
> Does it mean that the methods with the same name will be suggested to have the same parameters and return types in Base and Derived? The Derived just overrides...
> From my perspective, warnings don't work well here. You might be right that warnings for all cases don't work well here, but at least some could be useful, specifically:...
> As C/C++ do not have "strong typedef" I have been looking forward to such a check as it could be used to enforce type safety across compatible POD types....
Yes please
> My report is about clang-tidy, not about clang++. You could see tidy report in the bottom half > With tbb 2020.3, tidy crashes like before `include/tbb/internal/_allocator_traits.h:31:2: current parser token...
Candidate patch: https://github.com/llvm/llvm-project/pull/87433