Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
yzh119 committed Nov 20, 2022
1 parent 289cf1d commit a47a0eb
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 30 deletions.
28 changes: 21 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:

build-docker-image:
runs-on: self-hosted
outputs:
tag: ${{ steps.generate-tag.outputs.tag }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -21,8 +23,7 @@ jobs:
id: generate-tag
run: |
export TAG=sparsetir:$(date +%s)
echo "Docker image tag: $TAG"
echo "::set-output name=tag::$TAG"
echo "tag=$TAG" >> $GITHUB_OUTPUT
- name: Build Docker image
run: |
Expand All @@ -36,13 +37,26 @@ jobs:
needs: build-docker-image
steps:
- name: Run tests
run: docker run --gpus all ${{ needs.build-docker-image.outputs.tag }} bash tests/scripts/task_python_sparsetir_unittest.sh
id: run-tests
run: docker run --gpus all ${{ needs.outputs.tag }} bash tests/scripts/task_python_sparsetir_unittest.sh

build-doc-and-push-gh-pages:
build-doc:
runs-on: self-hosted
needs: build-docker-image
steps:
- name: Build Documentation
run: docker run ${{ needs.build-docker-image.outputs.tag }} sphinx-build -b html docs/ docs-html/
# - name: Push changes
# run: docker
id: build-doc
run: |
docker run ${{ needs.outputs.tag }} sphinx-build -b html docs/ public/
docker cp ${{ needs.outputs.tag }}:public/ public/
deploy-doc:
runs-on: self-hosted
needs: build-doc
steps:
- name: Deploy documentation
id: deploy-doc
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public
22 changes: 0 additions & 22 deletions .github/workflows/docs.yml

This file was deleted.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ SparseTIR: Sparse Tensor Compiler for Deep Learning
[Paper](https://arxiv.org/abs/2207.04606)

[![Build Status](https://github.com/uwsampl/sparsetir/actions/workflows/build.yml/badge.svg)](https://github.com/uwsampl/sparsetir/actions/workflows/build.yml)
[![Documentation Status](https://github.com/uwsampl/sparsetir/actions/workflows/docs.yml/badge.svg)](https://github.com/uwsampl/sparsetir/actions/workflows/docs.yml)

SparseTIR is a tensor-level compiler for sparse/irregular operators in Deep Learning. The design goal of SparseTIR is to provide a general programming abstraction that can cover both sparse and irregular (e.g. Ragged Tensors) workloads in Deep Learning including Graph Neural Networks, Sparse Transformers, Sparse Convolutions, Network Pruning, etc. while generating high-performance code on heterogeneous hardware.

Expand Down

0 comments on commit a47a0eb

Please sign in to comment.