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

Link with pytorch/xla when build for Linux #289

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Link with pytorch/xla when build for Linux #289

wants to merge 9 commits into from

Conversation

wangkuiyi
Copy link
Owner

@wangkuiyi wangkuiyi commented Sep 3, 2020

This change refactorized cgotorch/build.sh. In two cases, it builds libcgotorch.so for Linux: (1) Linux and no CUDA, and (2) Linux, with CUDA, but unsupported version. When it builds for Linux, it always link the pre-built pytorch/xla.

I will add wrappers and example code in the next PR.

@codecov
Copy link

codecov bot commented Sep 3, 2020

Codecov Report

Merging #289 into develop will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #289   +/-   ##
========================================
  Coverage    80.58%   80.58%           
========================================
  Files           34       34           
  Lines         1638     1638           
========================================
  Hits          1320     1320           
  Misses         253      253           
  Partials        65       65           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 615d347...7c9b6e2. Read the comment docs.

@wangkuiyi wangkuiyi changed the title WIP Enable XLA Link with pytorch/xla when build for Linux Sep 3, 2020
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.

1 participant