Skip to content

Commit

Permalink
[CI] Changed triton-nightly to --pre triton (triton-lang#78)
Browse files Browse the repository at this point in the history
The solution proposed in triton-lang#77 can create namespace conflicts when triton and triton-nightly have both been pip installed. Therefore, this PR is moving nightly releases to pre-releases in the main triton index.
  • Loading branch information
ptillet committed Mar 23, 2021
1 parent 9c05ec1 commit ce7c0a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ci/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------
Expand Down
5 changes: 1 addition & 4 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,7 @@ def build_extension(self, ext):
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},
Expand Down

0 comments on commit ce7c0a2

Please sign in to comment.