-
Notifications
You must be signed in to change notification settings - Fork 62
maintenance: Separate Code into Separate Files #163
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
Conversation
|
pre-commit fails on a file I have not changed 😤 |
I found that, too. Pre-commit is now using Python 3.14. |
2e66c48 to
015d383
Compare
This change breaks the monolithic src/libtorch.cc into multiple files, with a modern separation of classes into separate header and code files.
015d383 to
642f74e
Compare
| @@ -0,0 +1,106 @@ | |||
| // Copyright 2019-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer string_utils.hh or simply utils.hh
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated per request.
Renamed 'string_utilities.*' to 'string_utils.*' as requested.
| #include "model_instance_state.hh" | ||
| #include "model_state.hh" | ||
| #include "naming_convention.hh" | ||
| #include "string_utilities.hh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least, this header file is not defined.
This change breaks the monolithic src/libtorch.cc into multiple files, with a modern separation of classes into separate header and code files.
No actual code changes were made besides the separation of the code into multiple files.