Chun Cai
Chun Cai
Add a script to update hosts file.
- 需求:以[ubuntu源](https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/)为例,修改`/etc/apt/sources.list`需要打开网页,复制相应的内容,在系统中打开该文件,黏贴进去。希望能提供一个`sources.list`的raw file,以实现形如`curl mirrors.tuna.tsinghua.edu.cn/config/ubuntu-22.04 | tee /etc/apt/sources.list`的操作。 - 场景:在docker镜像等不方便/不希望使用文本编辑器/从剪贴板读取内容的情况下。
https://github.com/platisd/clang-tidy-pr-comments/blob/10dea67599cd21bff5391960fe080aa6fd3a164b/README.md?plain=1#L114-L117 Here, the comment says this is "the number of comments per review", but the variable name gives us "suggestions per comment". I suppose the latter one is actually what...
### Reminder - [ ] Have you linked an issue with this pull request? - [ ] Have you added adequate unit tests and/or case tests for your pull request?...
### Describe the Code Quality Issue clang-format can format c++ source files; clang-tidy is used to perform static analysis, helping improve code quality. Adding CI checks utilizing the existed `.clang-tidy`...
[`torch_scatter.segment_coo`](https://pytorch-scatter.readthedocs.io/en/latest/functions/segment_coo.html) performs the same operation as `index_add` of native pytorch. Here, we can leverage the sorted trait of the index. My test shows an **~25% speed-up** on DPA3 dynamic sel...