-
Notifications
You must be signed in to change notification settings - Fork 520
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
fix: set rpath for libtorch and protobuf #3636
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Jinzhe Zeng <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## devel #3636 +/- ##
==========================================
+ Coverage 77.80% 77.94% +0.14%
==========================================
Files 438 404 -34
Lines 37707 32876 -4831
Branches 1623 909 -714
==========================================
- Hits 29337 25626 -3711
+ Misses 7506 6722 -784
+ Partials 864 528 -336 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Jinzhe Zeng <[email protected]>
Signed-off-by: Jinzhe Zeng <[email protected]>
njzjz
changed the title
fix(pt): add libtorch directory to rpath
fix: set rpath for libtorch and protobuf
Apr 2, 2024
cc: @Yi-FanLi |
wanghan-iapcm
approved these changes
Apr 2, 2024
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 2, 2024
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this pull request
Jun 20, 2024
The previous `PyTorch_LIBRARY_PATH` in deepmodeling#3636 is wrong: `BACKEND_INCLUDE_DIRS` is a list of paths instead of a single path. Signed-off-by: Jinzhe Zeng <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jun 21, 2024
The previous `PyTorch_LIBRARY_PATH` in #3636 is wrong: `BACKEND_INCLUDE_DIRS` is a list of paths instead of a single path. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the method for retrieving the PyTorch library path during the build process to enhance configuration accuracy. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this pull request
Jul 2, 2024
Fix deepmodeling#3568. Set run path for libtorch and protobuf. Refactor the original `TensorFlow_LIBRARY_PATH` to `BACKEND_LIBRARY_PATH` (list). --------- Signed-off-by: Jinzhe Zeng <[email protected]> (cherry picked from commit 4c546d0) Signed-off-by: Jinzhe Zeng <[email protected]>
Merged
njzjz
added a commit
that referenced
this pull request
Jul 3, 2024
Fix #3568. Set run path for libtorch and protobuf. Refactor the original `TensorFlow_LIBRARY_PATH` to `BACKEND_LIBRARY_PATH` (list). --------- Signed-off-by: Jinzhe Zeng <[email protected]> (cherry picked from commit 4c546d0) Signed-off-by: Jinzhe Zeng <[email protected]>
njzjz
added a commit
to njzjz/deepmd-kit
that referenced
this pull request
Jul 12, 2024
There is a typo in deepmodeling#3636 Signed-off-by: Jinzhe Zeng <[email protected]>
github-merge-queue bot
pushed a commit
that referenced
this pull request
Jul 13, 2024
There was a typo in #3636. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated build configuration to improve compatibility with PyTorch by modifying library path settings. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
mtaillefumier
pushed a commit
to mtaillefumier/deepmd-kit
that referenced
this pull request
Sep 18, 2024
The previous `PyTorch_LIBRARY_PATH` in deepmodeling#3636 is wrong: `BACKEND_INCLUDE_DIRS` is a list of paths instead of a single path. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Improved the method for retrieving the PyTorch library path during the build process to enhance configuration accuracy. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
mtaillefumier
pushed a commit
to mtaillefumier/deepmd-kit
that referenced
this pull request
Sep 18, 2024
There was a typo in deepmodeling#3636. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Refactor** - Updated build configuration to improve compatibility with PyTorch by modifying library path settings. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Jinzhe Zeng <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #3568.
Set run path for libtorch and protobuf. Refactor the original
TensorFlow_LIBRARY_PATH
toBACKEND_LIBRARY_PATH
(list).