main
[npu] change device to accelerator api (#5239)
[legacy] clean up legacy code (#4743)
[misc] update pre-commit and run all files (#4752)