-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
format on latest dev #603
format on latest dev #603
Conversation
command used on ubuntu container
|
testing on other OS.. |
@shicong this commands can detect the project root config file which indicates google style? |
No ready for merge |
indeed there are difference between versions on different os |
I guess maybe because the formatter are installed by pip, and that the versions of the formatters are different in different os? |
Hi After sync-ing all the versions between different OS
the result is almost constistent except one small code snippet, Kindly let me know any comment and it is helpful to test at your side. thanks |
Oh, I see, my formator version was:
I think I will need to upgrade my formatter to 9.0 |
@joddiy I think your formatter should be upgraded to this version, so all the versions we use will be the same |
@dcslin Thanks for your information.
@joddiy @nudles I think we may use the same version as shicong did to get the same format, otherwise will lead to lots of github conflicts when everyone format differently |
agree! |
@nudles |
download link of LLVM 9.0 to provide clang-format version 9.0.0 |
so to fix the formatting issue I suggest we may update the instruction in sing-doc how to reproduce the same formatting |
Seems this PR does not need any modification? |
@dcslin The nccl communicator is inside src/io , why it is not included for formatting? |
then pls add the nccl related files. |
@dcslin Thanks a lot! |
Among hunderds of files in Singa, there are only a few lines of mis-match, which is showed in 4739c6e Currently the code format result is on OSX/Wins. I agree with you on the preference on OSX/wins. |
I am going to merge this PR if there is no more probem. |
adding files from chris comment. please wait a second |
Added NCCL files mentioned by @chrishkchris
This is ready for merge. |
Current code is up to date comparing
|
No description provided.