triton-windows 3.3.0a0.post18__cp313-cp313-win_amd64.whl → 3.3.0.post19__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of triton-windows might be problematic. Click here for more details.
- triton/_C/libtriton.pyd +0 -0
- triton/backends/nvidia/driver.c +1 -0
- triton/backends/nvidia/driver.py +1 -0
- triton/runtime/build.py +9 -1
- {triton_windows-3.3.0a0.post18.dist-info → triton_windows-3.3.0.post19.dist-info}/METADATA +1 -1
- {triton_windows-3.3.0a0.post18.dist-info → triton_windows-3.3.0.post19.dist-info}/RECORD +8 -8
- {triton_windows-3.3.0a0.post18.dist-info → triton_windows-3.3.0.post19.dist-info}/WHEEL +1 -1
- {triton_windows-3.3.0a0.post18.dist-info → triton_windows-3.3.0.post19.dist-info}/top_level.txt +0 -0
triton/_C/libtriton.pyd
CHANGED
|
Binary file
|
triton/backends/nvidia/driver.c
CHANGED
triton/backends/nvidia/driver.py
CHANGED
|
@@ -208,6 +208,7 @@ def make_launcher(constants, signature):
|
|
|
208
208
|
params = [f"&arg{i}" for i, ty in signature.items() if ty != "constexpr"]
|
|
209
209
|
params.append("&global_scratch")
|
|
210
210
|
src = f"""
|
|
211
|
+
#define _CRT_SECURE_NO_WARNINGS
|
|
211
212
|
#include \"cuda.h\"
|
|
212
213
|
#include <stdbool.h>
|
|
213
214
|
#define PY_SSIZE_T_CLEAN
|
triton/runtime/build.py
CHANGED
|
@@ -35,6 +35,11 @@ def is_msvc(cc):
|
|
|
35
35
|
return cc == "cl" or cc == "cl.exe"
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
def is_clang(cc):
|
|
39
|
+
cc = os.path.basename(cc).lower()
|
|
40
|
+
return cc == "clang" or cc == "clang.exe"
|
|
41
|
+
|
|
42
|
+
|
|
38
43
|
def _cc_cmd(cc, src, out, include_dirs, library_dirs, libraries):
|
|
39
44
|
if is_msvc(cc):
|
|
40
45
|
out_base = os.path.splitext(out)[0]
|
|
@@ -49,7 +54,10 @@ def _cc_cmd(cc, src, out, include_dirs, library_dirs, libraries):
|
|
|
49
54
|
cc_cmd += [f"/PDB:{out_base + '.pdb'}"]
|
|
50
55
|
else:
|
|
51
56
|
# for -Wno-psabi, see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111047
|
|
52
|
-
cc_cmd = [cc, src, "-O3", "-shared", "-
|
|
57
|
+
cc_cmd = [cc, src, "-O3", "-shared", "-Wno-psabi", "-o", out]
|
|
58
|
+
if not (os.name == "nt" and is_clang(cc)):
|
|
59
|
+
# Clang does not support -fPIC on Windows
|
|
60
|
+
cc_cmd += ["-fPIC"]
|
|
53
61
|
cc_cmd += [f'-l{lib}' for lib in libraries]
|
|
54
62
|
cc_cmd += [f"-L{dir}" for dir in library_dirs]
|
|
55
63
|
cc_cmd += [f"-I{dir}" for dir in include_dirs if dir is not None]
|
|
@@ -4,7 +4,7 @@ triton/_utils.py,sha256=5RiCLwW14w0Q3mdZ-9yz-VO5KiSexNj9xeDt4gaNsvE,1014
|
|
|
4
4
|
triton/errors.py,sha256=8WfnuRKLG578mgY6cBA3ECruVMf9ULEKFNgRcJ6IhWM,89
|
|
5
5
|
triton/testing.py,sha256=ivFf1Fq9frmfVahaVUp0bgJxmvVZNACZfj3Sai6zfAs,20048
|
|
6
6
|
triton/windows_utils.py,sha256=YUl-1QbLINQRaAAMNYPjLiTFZlVsCNi9mTFck5aemwk,12778
|
|
7
|
-
triton/_C/libtriton.pyd,sha256=
|
|
7
|
+
triton/_C/libtriton.pyd,sha256=fBQdubPERBR6FRKjYoRwK9ZGv_XRr6EMGBhHDll0e1M,87287808
|
|
8
8
|
triton/backends/__init__.py,sha256=opAo_vgEMt3tLO_bYFrYGksnIu0qohbmyuu_s3-rNAs,1595
|
|
9
9
|
triton/backends/compiler.py,sha256=ymaG0kpveAuESbQ9QZ0RyXjr0Aq4el_G5XGYogJ2gNA,3588
|
|
10
10
|
triton/backends/driver.py,sha256=AN60upJlPgia0JwvZ8vIVgLITNPuI0fdz8zMIIHPpF4,1450
|
|
@@ -113,8 +113,8 @@ triton/backends/amd/lib/ockl.bc,sha256=wQKCzkKukIHbu0lyjKUYlhndc7S27xto6L54J0Bn-
|
|
|
113
113
|
triton/backends/amd/lib/ocml.bc,sha256=UPNTXW0gCXUNB-c6orSYwb-mz9_mjUc7zny_vfFza44,205964
|
|
114
114
|
triton/backends/nvidia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
115
115
|
triton/backends/nvidia/compiler.py,sha256=4BnLUapsoh8lsQPYlm-_ZCyKvU3DgJY3NgDMo8leV9c,19996
|
|
116
|
-
triton/backends/nvidia/driver.c,sha256=
|
|
117
|
-
triton/backends/nvidia/driver.py,sha256=
|
|
116
|
+
triton/backends/nvidia/driver.c,sha256=HqtiJDPRxVav9pHl_swBja28RasjHZ7oFOpWKMT627c,18912
|
|
117
|
+
triton/backends/nvidia/driver.py,sha256=kMMVl4SMbJc6obI2Brxoj7RNJt6YBGKYSB56dPeUY6w,21037
|
|
118
118
|
triton/backends/nvidia/bin/ptxas.exe,sha256=iCva9hIYg-Q2NybchwaQJFkwDzNiliFOTDdZrHPLb6A,24732160
|
|
119
119
|
triton/backends/nvidia/include/cuda.h,sha256=Fn44OjeRImxegJ39apYUspseEfTWNGwpqSGUOnHj5WY,1183268
|
|
120
120
|
triton/backends/nvidia/lib/libdevice.10.bc,sha256=XC-uN8huaMOjhgWpX1EtfRLV89uYYxC-R_VzBKpype4,473728
|
|
@@ -142,7 +142,7 @@ triton/language/extra/hip/libdevice.py,sha256=EVraUfeXzQmN3F5Lleg2mohVcbFWOWlLaA
|
|
|
142
142
|
triton/runtime/__init__.py,sha256=mKL5cqIBDUw2WO80NRCh4s1G8KYaqgM59TTAbTkPPjQ,621
|
|
143
143
|
triton/runtime/_allocation.py,sha256=zaW4B7I7c-2rkVuN7IZaUB6IQSI1t4FvnTPZH-r7DTk,798
|
|
144
144
|
triton/runtime/autotuner.py,sha256=0ku0wjPo8xOvom6P4uEVZHsgPkxAFOqP1LjUVue0HLM,17854
|
|
145
|
-
triton/runtime/build.py,sha256=
|
|
145
|
+
triton/runtime/build.py,sha256=6akPf7jgSRDWqcDGvJXxxiO0MzH6503YrM7xmr24l-Y,3825
|
|
146
146
|
triton/runtime/cache.py,sha256=uoU1UH3HPxkxT0r-69HIZgLBls3T-TDxJedRULX9lbM,10583
|
|
147
147
|
triton/runtime/driver.py,sha256=VZ-883Xri71R72lHB6usIpLo3gGLbZJkAlLP3ewWSpc,1509
|
|
148
148
|
triton/runtime/errors.py,sha256=CwfJXciwel_-K3BfQfKUpLPDWrSyTnGsfJkqJojrdfQ,1052
|
|
@@ -247,7 +247,7 @@ triton/tools/link.py,sha256=u7qtfZRLriZkAMEGNvj8YF-k1cthmLL7BwHYqBgT63E,11871
|
|
|
247
247
|
triton/tools/mxfp.py,sha256=YQdpBrGkOVNOtnLeRjMCeVFHWkSwUubGeWsItIjO8TU,11737
|
|
248
248
|
triton/tools/extra/cuda/compile.c,sha256=TdIENsqk6wrvv1C4Mk-sq9keXe3SJuMQcf0UpxmjNZk,2153
|
|
249
249
|
triton/tools/extra/cuda/compile.h,sha256=n9QKIFZTL4RSsiXtAxBP9XGSnxjyaevQQ9bBpwDsvAg,332
|
|
250
|
-
triton_windows-3.3.
|
|
251
|
-
triton_windows-3.3.
|
|
252
|
-
triton_windows-3.3.
|
|
253
|
-
triton_windows-3.3.
|
|
250
|
+
triton_windows-3.3.0.post19.dist-info/METADATA,sha256=n16mof1EMhLJdnP2tX85LoRgmCIpznA9Bx1IJBS-O2w,1627
|
|
251
|
+
triton_windows-3.3.0.post19.dist-info/WHEEL,sha256=JI6TipV6L5PIs92M_MEmWFBmpkHoCQOVHMpLZsFLd2o,101
|
|
252
|
+
triton_windows-3.3.0.post19.dist-info/top_level.txt,sha256=KhMzHYsArnZ3IkjAQ-xLnx1n_FjvEpJNelg2xPiDl-U,254
|
|
253
|
+
triton_windows-3.3.0.post19.dist-info/RECORD,,
|
{triton_windows-3.3.0a0.post18.dist-info → triton_windows-3.3.0.post19.dist-info}/top_level.txt
RENAMED
|
File without changes
|