Skip to content

Commit 88fb6c6

Browse files
committed
[SPEC][METAX] Unify Python backend specialization
1 parent bbda301 commit 88fb6c6

14 files changed

Lines changed: 2 additions & 2355 deletions

File tree

python/setup_tools/utils/metax.py

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,5 @@
1818
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919
# SOFTWARE.
2020

21-
import shutil
22-
from pathlib import Path
23-
24-
2521
def install_extension(*args, **kargs):
26-
# Copy knobs.py
27-
_python_dir = Path(__file__).parent.parent.parent
28-
src_triton_dir = _python_dir / "../third_party/metax/python/triton"
29-
dst_triton_dir = _python_dir / "triton"
30-
31-
# copy runtime/driver.py
32-
shutil.copy(src_triton_dir / "runtime/driver.py", dst_triton_dir / "runtime/driver.py")
33-
# copy language/core.py semantic.py target_info.py
34-
shutil.copytree(src_triton_dir / "language", dst_triton_dir / "language", dirs_exist_ok=True)
22+
return

python/triton/spec/metax

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../third_party/metax/spec/

third_party/metax/python/triton/experimental/__init__.py

Whitespace-only changes.

third_party/metax/python/triton/experimental/tle/__init__.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

third_party/metax/python/triton/experimental/tle/language/__init__.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)