[CI] Changed triton-nightly to --pre triton (#78)
The solution proposed in #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.
This commit is contained in:
committed by
Philippe Tillet
parent
2f80a98776
commit
b352bc79e3
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
||||
--------------
|
||||
|
@@ -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},
|
||||
|
Reference in New Issue
Block a user