libtorch C++ jni#2
Open
nazarblch wants to merge 3 commits into
Open
Conversation
Member
|
Thank you very much for your code. I will definitely have a look at it. Keep you posted. |
Member
|
Is it possible to build without GPU support? |
Author
|
Yes, you can build it with
https://download.pytorch.org/libtorch/cpu/libtorch-shared-with-deps-latest.zip
Pull from the repo first and don't forget to export JAVA_HOME
I would propose to discuss this project in skype, what do you think?
Nazar
чт, 4 апр. 2019 г. в 13:21, Koen Dejonghe <notifications@github.com>:
… Is it possible to build without GPU support?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABslRBWD1Y0CfguviXLxxewwWin_XOxiks5vddISgaJpZM4cI79k>
.
|
Member
|
I created a gitter room. The button is on the readme. We can discuss there. |
This file contains hidden or 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
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.
The main changes:
Tensor[T, TT]andVariable[T, TT]) with templates T corresponded to data type and TT corresponded to device type (exampleTensor[Float, CUDA]orTensor[Int, CPU])