diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d17496c..4fc3c0b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,19 +1,13 @@ -name: Build Images +name: Build Xformers on: [push] jobs: build: - strategy: - matrix: - profile: - - auto - - hlky - - lstein - - download - runs-on: ubuntu-latest - name: ${{ matrix.profile }} + runs-on: pytorch/manylinux-cuda113 steps: - - uses: actions/checkout@v3 - # better caching? - - run: docker compose --profile ${{ matrix.profile }} build --progress plain + - run: | + git clone https://github.com/facebookresearch/xformers /x + cd /x + export CU_VERSION=cu113 PYTHON_VERSION=3.10 PYTORCH_VERSION=1.12 + ./packaging/build_wheel.sh diff --git a/.github/workflows/docker.yml1 b/.github/workflows/docker.yml1 new file mode 100644 index 0000000..d17496c --- /dev/null +++ b/.github/workflows/docker.yml1 @@ -0,0 +1,19 @@ +name: Build Images + +on: [push] + +jobs: + build: + strategy: + matrix: + profile: + - auto + - hlky + - lstein + - download + runs-on: ubuntu-latest + name: ${{ matrix.profile }} + steps: + - uses: actions/checkout@v3 + # better caching? + - run: docker compose --profile ${{ matrix.profile }} build --progress plain diff --git a/.github/workflows/executable.yml1 b/.github/workflows/executable.yml1 deleted file mode 100644 index 45d9c98..0000000 --- a/.github/workflows/executable.yml1 +++ /dev/null @@ -1,22 +0,0 @@ -name: Check executable - -on: [push] - -jobs: - check: - runs-on: ubuntu-latest - name: Check all sh - steps: - - run: git config --global core.fileMode true - - uses: actions/checkout@v3 - - shell: bash - run: | - shopt -s globstar; - FAIL=0 - for file in **/*.sh; do - if [ -f "${file}" ] && [ -r "${file}" ] && [ ! -x "${file}" ]; then - echo "$file" is not executable; - FAIL=1 - fi - done - exit ${FAIL}