[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:
Philippe Tillet
2021-03-23 03:32:51 -04:00
committed by Philippe Tillet
parent 2f80a98776
commit b352bc79e3
4 changed files with 4 additions and 7 deletions

View File

@@ -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},