[BE] Remove conda from scripts and build files Part 2 (#145015)

Continuation of https://github.com/pytorch/pytorch/pull/144870

Remove conda logic from scripts:

1. Remove conda build from triton build script
2. Remove conda checks from setup.py
3. Remove conda from release scripts
4. Script read_conda_versions.sh is not used (checked via git grep)

Related to: https://github.com/pytorch/pytorch/issues/138506
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145015
Approved by: https://github.com/malfet, https://github.com/Skylion007
This commit is contained in:
atalman
2025-01-17 16:26:24 +00:00
committed by PyTorch MergeBot
parent b7af210d8d
commit a215e174a1
7 changed files with 1 additions and 404 deletions

View File

@ -699,7 +699,7 @@ class build_ext(setuptools.command.build_ext.build_ext):
# It's an old-style class in Python 2.7...
setuptools.command.build_ext.build_ext.run(self)
if IS_DARWIN and package_type != "conda":
if IS_DARWIN:
self._embed_libomp()
# Copy the essential export library to compile C++ extensions.