gpustack-runtime 0.1.38.post1__py3-none-any.whl → 0.1.38.post2__py3-none-any.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.
- gpustack_runtime/_version.py +2 -2
- gpustack_runtime/_version_appendix.py +1 -1
- gpustack_runtime/detector/amd.py +7 -2
- gpustack_runtime/detector/pyrocmsmi/__init__.py +1 -8
- {gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/METADATA +2 -2
- {gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/RECORD +9 -9
- {gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/WHEEL +0 -0
- {gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/entry_points.txt +0 -0
- {gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/licenses/LICENSE +0 -0
gpustack_runtime/_version.py
CHANGED
|
@@ -27,8 +27,8 @@ version_tuple: VERSION_TUPLE
|
|
|
27
27
|
__commit_id__: COMMIT_ID
|
|
28
28
|
commit_id: COMMIT_ID
|
|
29
29
|
|
|
30
|
-
__version__ = version = '0.1.38.
|
|
31
|
-
__version_tuple__ = version_tuple = (0, 1, 38, '
|
|
30
|
+
__version__ = version = '0.1.38.post2'
|
|
31
|
+
__version_tuple__ = version_tuple = (0, 1, 38, 'post2')
|
|
32
32
|
try:
|
|
33
33
|
from ._version_appendix import git_commit
|
|
34
34
|
__commit_id__ = commit_id = git_commit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
git_commit = "
|
|
1
|
+
git_commit = "2567d66"
|
gpustack_runtime/detector/amd.py
CHANGED
|
@@ -123,8 +123,13 @@ class AMDDetector(Detector):
|
|
|
123
123
|
|
|
124
124
|
dev_cc = dev_hsa_agent.compute_capability
|
|
125
125
|
if not dev_cc:
|
|
126
|
-
|
|
127
|
-
dev_cc =
|
|
126
|
+
if "target_graphics_version" in dev_gpu_asic_info:
|
|
127
|
+
dev_cc = dev_gpu_asic_info.get("target_graphics_version")
|
|
128
|
+
else:
|
|
129
|
+
with contextlib.suppress(pyrocmsmi.ROCMSMIError):
|
|
130
|
+
dev_cc = pyrocmsmi.rsmi_dev_target_graphics_version_get(
|
|
131
|
+
dev_idx,
|
|
132
|
+
)
|
|
128
133
|
|
|
129
134
|
dev_bdf = None
|
|
130
135
|
dev_card_id = None
|
|
@@ -223,14 +223,7 @@ def rsmi_dev_target_graphics_version_get(device=0):
|
|
|
223
223
|
c_version = c_uint64()
|
|
224
224
|
ret = rocmsmiLib.rsmi_dev_target_graphics_version_get(device, byref(c_version))
|
|
225
225
|
_rocmsmiCheckReturn(ret)
|
|
226
|
-
version =
|
|
227
|
-
if len(version) == 4:
|
|
228
|
-
dev_name = rsmi_dev_name_get(device)
|
|
229
|
-
if "Instinct MI2" in dev_name:
|
|
230
|
-
hex_part = str(hex(int(version[2:]))).replace("0x", "")
|
|
231
|
-
version = version[:2] + hex_part
|
|
232
|
-
else:
|
|
233
|
-
version = str(c_version.value // 10 + c_version.value % 10)
|
|
226
|
+
version = hex(c_version.value)[2:]
|
|
234
227
|
return "gfx" + version
|
|
235
228
|
except AttributeError:
|
|
236
229
|
return None
|
{gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gpustack-runtime
|
|
3
|
-
Version: 0.1.38.
|
|
3
|
+
Version: 0.1.38.post2
|
|
4
4
|
Summary: GPUStack Runtime is library for detecting GPU resources and launching GPU workloads.
|
|
5
5
|
Project-URL: Homepage, https://github.com/gpustack/runtime
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/gpustack/gpustack/issues
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Requires-Dist: argcomplete>=3.6.3
|
|
17
17
|
Requires-Dist: docker
|
|
18
|
-
Requires-Dist: gpustack-runner
|
|
18
|
+
Requires-Dist: gpustack-runner==0.1.22.post6
|
|
19
19
|
Requires-Dist: kubernetes
|
|
20
20
|
Requires-Dist: nvidia-ml-py>=13.580.65
|
|
21
21
|
Requires-Dist: pyyaml
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
gpustack_runtime/__init__.py,sha256=kKcK6DMIXOdpWhgMS7xlsNrBNvEmY0L8eyQtBIC3CU4,160
|
|
2
2
|
gpustack_runtime/__main__.py,sha256=Peh1iQnBiQ8GS0lew9rDwlciAHFJn2x7Tm8jyx1PJW8,3488
|
|
3
|
-
gpustack_runtime/_version.py,sha256=
|
|
3
|
+
gpustack_runtime/_version.py,sha256=ouuYyFNWHR0cA89x0BUEhiLvsudYfbD6bnvl5BAIkko,792
|
|
4
4
|
gpustack_runtime/_version.pyi,sha256=A42NoSgcqEXVy2OeNm4LXC9CbyonbooYrSUBlPm2lGY,156
|
|
5
5
|
gpustack_runtime/envs.py,sha256=qvGn57dVQSdC01QtIQQ7gVRJEls-IvrWXk7WHmPCZM0,25750
|
|
6
6
|
gpustack_runtime/logging.py,sha256=h_fvD5FV7GHCo00IUDLQmkPR-H6r66IX_WSwZwl0mCw,6869
|
|
@@ -17,7 +17,7 @@ gpustack_runtime/deployer/kuberentes.py,sha256=Ftvt2cGsrYUf6MZI3czOwGM_G-C5kFLUK
|
|
|
17
17
|
gpustack_runtime/detector/__init__.py,sha256=kLVxZ9iud2aLwqqAOanIYNb4QSHavUPhqay-FU5ndbU,5443
|
|
18
18
|
gpustack_runtime/detector/__types__.py,sha256=nVh9OV8tZdHFjHPlYul3u2zMvnpa9KOL5GxlPJhEvGk,13163
|
|
19
19
|
gpustack_runtime/detector/__utils__.py,sha256=Yj4GvGvuDuscDG5OpExYdv-1VhmEHBpRrBC9rTsB-kA,24584
|
|
20
|
-
gpustack_runtime/detector/amd.py,sha256=
|
|
20
|
+
gpustack_runtime/detector/amd.py,sha256=_9E1168KvMYeax7XDn_oxGmQO2pR7YC9nVuJeV8z1nU,18785
|
|
21
21
|
gpustack_runtime/detector/ascend.py,sha256=VkmNM-enbjMNVXKFfv7z6S-4BkwD6YkBmcC0J1ZGEuc,18588
|
|
22
22
|
gpustack_runtime/detector/cambricon.py,sha256=bqWo2mUuf3a5kV8NC1PzFtHIUhVQkSejUSWR5Z5XaGA,3899
|
|
23
23
|
gpustack_runtime/detector/hygon.py,sha256=ieXIPS99ITx8aCyfg7IDoLkE7ZnZNt2SCL2yrmh9uxo,13352
|
|
@@ -38,10 +38,10 @@ gpustack_runtime/detector/pymxsml/mxsml.py,sha256=nRuKSVxIsJj2SJX-SYnE9NGZ7hGjWO
|
|
|
38
38
|
gpustack_runtime/detector/pymxsml/mxsml_extension.py,sha256=zfWFRGa9eSup336t2lPhIvCbPpa7Prn-7xCHRljg4CI,26967
|
|
39
39
|
gpustack_runtime/detector/pymxsml/mxsml_mcm.py,sha256=a4rX7hJNJKTqLodKU9rYeDaAEKef6UNVThl1w-aiFsA,15363
|
|
40
40
|
gpustack_runtime/detector/pyrocmcore/__init__.py,sha256=8XxKmwLX4-uoP7cfxjGoEmk9qlrGf0804pgyb74mJKs,2108
|
|
41
|
-
gpustack_runtime/detector/pyrocmsmi/__init__.py,sha256=
|
|
42
|
-
gpustack_runtime/_version_appendix.py,sha256=
|
|
43
|
-
gpustack_runtime-0.1.38.
|
|
44
|
-
gpustack_runtime-0.1.38.
|
|
45
|
-
gpustack_runtime-0.1.38.
|
|
46
|
-
gpustack_runtime-0.1.38.
|
|
47
|
-
gpustack_runtime-0.1.38.
|
|
41
|
+
gpustack_runtime/detector/pyrocmsmi/__init__.py,sha256=wuSue_p48-JjkdCK82pd1KS9c42w_xkBPmhGnu5kp-k,11481
|
|
42
|
+
gpustack_runtime/_version_appendix.py,sha256=0uQRTtcOX04gPFN1zUuiipbVLMP5bnddPMs9ZGKfgPU,23
|
|
43
|
+
gpustack_runtime-0.1.38.post2.dist-info/METADATA,sha256=EuFK6z_K-7EfwQh9rfbc-H3NwVX8nPtCmsB7cpYluxc,1971
|
|
44
|
+
gpustack_runtime-0.1.38.post2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
45
|
+
gpustack_runtime-0.1.38.post2.dist-info/entry_points.txt,sha256=bBO_61GxP6dIT74uZwbSDgW5Vt2pTePUS3CgjUJkUgg,68
|
|
46
|
+
gpustack_runtime-0.1.38.post2.dist-info/licenses/LICENSE,sha256=OiPibowBvB-NHV3TP_NOj18XNBlXcshXZFMpa3uvKVE,10362
|
|
47
|
+
gpustack_runtime-0.1.38.post2.dist-info/RECORD,,
|
|
File without changes
|
{gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.38.post1.dist-info → gpustack_runtime-0.1.38.post2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|