diff --git a/.ci/azure-pipelines.yml b/.ci/azure-pipelines.yml index d6891d460..fd56ee836 100644 --- a/.ci/azure-pipelines.yml +++ b/.ci/azure-pipelines.yml @@ -8,7 +8,7 @@ variables: value: venv # Run CI when something pushed to master -# trigger: [ master ] +trigger: none # Run CI when a PR is created or updated from master pr: - master diff --git a/.ci/build-wheels.yml b/.ci/build-wheels.yml index 71f79e06c..414a81fd7 100644 --- a/.ci/build-wheels.yml +++ b/.ci/build-wheels.yml @@ -17,7 +17,7 @@ jobs: pip3 install twine displayName: Install dependencies - bash: | - sed -i 's/name\=\"triton\"/name="triton-nightly"/g' python/setup.py + #sed -i 's/name\=\"triton\"/name="triton-nightly"/g' python/setup.py sed -i -r "s/version\=\"(.*)\"/version=\"\1-dev`date '+%Y%m%d'`\"/g" python/setup.py echo "" >> python/setup.cfg echo "[build_ext]" >> python/setup.cfg diff --git a/docs/getting-started/installation.rst b/docs/getting-started/installation.rst index fb56eca43..1a514fe9f 100644 --- a/docs/getting-started/installation.rst +++ b/docs/getting-started/installation.rst @@ -10,7 +10,7 @@ You can install the latest nightly release of Triton from pip: .. code-block:: bash - pip install triton-nightly + pip install -U --pre triton -------------- diff --git a/python/setup.py b/python/setup.py index ef45a3a37..c3e818787 100644 --- a/python/setup.py +++ b/python/setup.py @@ -97,10 +97,7 @@ setup( long_description="", packages=["triton", "triton/_C", "triton/ops", "triton/ops/blocksparse"], install_requires=["numpy", "torch"], - package_data={ - "triton/ops": ["*.c"], - "triton/ops/blocksparse": ["*.c"] - }, + package_data={"triton/ops": ["*.c"], "triton/ops/blocksparse": ["*.c"]}, include_package_data=True, ext_modules=[CMakeExtension("triton", "triton/_C/")], cmdclass={"build_ext": CMakeBuild},