Skip to content
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

[docs] Update pytorch native JNI development document #2613

Merged
merged 1 commit into from
May 24, 2023

Conversation

frankfliu
Copy link
Contributor

Description

Brief description of what this PR is about

  • If this change is a backward incompatible change, why must this change be made?
  • Interesting edge cases to note here

@frankfliu frankfliu requested review from zachgk and a team as code owners May 22, 2023 14:43
cd engines/pytorch/pytorch-native
./gradlew cleanJNI compileJNI

./gradlew :engines:pytorch:pytorch-jni:clean
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may want to have a cd back to djl root before this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cd is not required, :engine:pytorch:... is absolute path for the gradle task

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be cd back. On line 111, you move to the local directory engines/pytorch/pytorch-native to run that command. On 114, you expect it to be from root directory so they would have to cd back to root

@frankfliu frankfliu merged commit 1682646 into deepjavalibrary:master May 24, 2023
@frankfliu frankfliu deleted the pydoc branch May 24, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants