-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use PJRT to compile and execute graph * allow users to choose runtime device, via wrapped PJRT plugins * allow users to create and use custom PJRT plugins * remove source dependency on TensorFlow * build all binaries in spidr, rather than using elixir-nx * build (not test) spidr for CUDA in CI * automatically install support libraries to idris path (not global for user) * add tutorial on spidr internals
- Loading branch information
1 parent
076a62e
commit bb92821
Showing
147 changed files
with
2,166 additions
and
881 deletions.
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: master | ||
paths: | ||
- 'spidr/backend/VERSION' | ||
|
||
jobs: | ||
create-release: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
upload_url: ${{ steps.create-release.outputs.upload_url }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Read C XLA version | ||
run: echo "C_XLA_VERSION=$(cat spidr/backend/VERSION)" >> $GITHUB_ENV | ||
- name: Create C XLA release | ||
id: create-release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: c-xla-v${{ env.C_XLA_VERSION }} | ||
release_name: C XLA release ${{ env.C_XLA_VERSION }} | ||
body: "C XLA release ${{ env.C_XLA_VERSION }}" | ||
c-xla: | ||
needs: create-release | ||
runs-on: ubuntu-latest | ||
container: tensorflow/build:latest-python3.9 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build C XLA lib | ||
run: ./spidr/backend/build.sh | ||
- name: Publish C XLA lib | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ needs.create-release.outputs.upload_url }} | ||
asset_path: libc_xla-linux.so | ||
asset_name: libc_xla-linux.so | ||
asset_content_type: application/x-sharedlib |
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
Oops, something went wrong.