name: Build Xformers on: [push] jobs: build: runs-on: ubuntu-latest # container: # image: pytorch/manylinux-cuda113 container: image: python:3.9-slim env: CU_VERSION: cu113 PYTHON_VERSION: "3.9" PYTORCH_VERSION: "1.12" DEBIAN_FRONTEND: noninteractive steps: - run: | apt-get update apt-get install git -y git clone https://github.com/facebookresearch/xformers x cd x ./packaging/build_wheel.sh