Skip to content

Commit

Permalink
Tutorial: JAX Export to StableHLO (#2232)
Browse files Browse the repository at this point in the history
See tutorial rendering using "View File"
([example](https://github.com/openxla/stablehlo/blob/f85d9fffc3d4e0fe4f09bfadd4739d09baaf60c1/docs/tutorials/jax-export.ipynb)).

Once merged the "Open in Colab" button should work. Also once integrated
this should appear on the openxla.org documentation as well.
  • Loading branch information
GleasonK authored Apr 18, 2024
1 parent f212180 commit 9654ee6
Show file tree
Hide file tree
Showing 4 changed files with 447 additions and 1 deletion.
1 change: 1 addition & 0 deletions build_tools/github_actions/lint_check_license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ echo
SKIPPED_SUFFIXES=(
.clang-format
.gitignore
.ipynb
.json
.md
.mlir
Expand Down
2 changes: 1 addition & 1 deletion build_tools/github_actions/lint_whitespace_checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [[ $# -ne 0 ]] ; then
fi

echo "Gathering changed files..."
mapfile -t CHANGED_FILES < <(git diff "$BASE_BRANCH" HEAD --name-only --diff-filter=d | grep -Ev '.*\.(bc|png|svg)$')
mapfile -t CHANGED_FILES < <(git diff "$BASE_BRANCH" HEAD --name-only --diff-filter=d | grep -Ev '.*\.(bc|png|svg|ipynb)$')
if (( ${#CHANGED_FILES[@]} == 0 )); then
echo "No files to check."
exit 0
Expand Down
4 changes: 4 additions & 0 deletions docs/_toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ toc:
path: /stablehlo/reference
- title: Roadmap
path: /stablehlo/roadmap
- title: Tutorials
section:
- title: JAX Export to StableHLO
path: /stablehlo/tutorials/jax-export
- title: Contributing
section:
- title: Governance
Expand Down
Loading

0 comments on commit 9654ee6

Please sign in to comment.