Skip to content

Commit 01605e6

Browse files
authored
[CLN] Remove numpy dependency of launcher as unused (#5244)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent e80a21c commit 01605e6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

python/triton/runtime/build.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@ def _build(name: str, src: str, srcdir: str, library_dirs: list[str], include_di
8787
if cxx is None:
8888
raise RuntimeError("Failed to find C++ compiler. Please specify via CXX environment variable.")
8989
cc = cxx
90-
import numpy as np
91-
numpy_include_dir = np.get_include()
92-
include_dirs = include_dirs + [numpy_include_dir]
90+
9391
if cxx is icpx:
9492
ccflags += ["-fsycl"]
9593
else:

third_party/intel/backend/driver.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,10 +513,8 @@ def format_of(ty):
513513
#define EXPORT_FUNC __attribute__((visibility("default")))
514514
#endif
515515
516-
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
517516
#include <Python.h>
518517
#include <stdio.h>
519-
#include <numpy/arrayobject.h>
520518
521519
namespace {{
522520

0 commit comments

Comments
 (0)