gpustack-runtime 0.1.41.post2__tar.gz → 0.1.41.post3__tar.gz
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-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/PKG-INFO +1 -1
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/_version.py +2 -2
- gpustack_runtime-0.1.41.post3/gpustack_runtime/_version_appendix.py +1 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/deviceplugin/__init__.py +20 -2
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/kuberentes.py +4 -20
- gpustack_runtime-0.1.41.post2/gpustack_runtime/_version_appendix.py +0 -1
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.codespelldict +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.codespellrc +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.dockerignore +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.gitattributes +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.gitignore +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.pre-commit-config.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/.python-version +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/LICENSE +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/Makefile +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/README.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/buf.gen.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/buf.lock +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/buf.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/deploy/manifests/docker-compose.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/deploy/manifests/kubernetes.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/docs/index.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/docs/modules/gpustack_runtime.deployer.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/docs/modules/gpustack_runtime.detector.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/docs/modules/gpustack_runtime.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/__main__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/_version.pyi +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/__types__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/deployer.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/detector.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/images.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/__patches__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/__types__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/__utils__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/__types__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/__utils__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/amd.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/ascend.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/hygon.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/iluvatar.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/metax.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/thead.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/docker.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/deviceplugin/__types__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/deviceplugin/plugin.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api.proto +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2.pyi +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2_grpc.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/constants.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/podman.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/__types__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/__utils__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/amd.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/ascend.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/cambricon.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/hygon.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/iluvatar.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/metax.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/mthreads.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/nvidia.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyacl/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyamdgpu/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyamdsmi/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pycuda/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pydcmi/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyhgml/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyhgml/libhgml.so +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyhgml/libuki.so +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyhsa/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyixml/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pymxsml/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyrocmcore/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/pyrocmsmi/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/thead.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/envs.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/logging.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/hatch.toml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/mkdocs.yml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/pack/Dockerfile +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/pack/Dockerfile.dummy +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/pyproject.toml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/pytest.ini +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/ruff.toml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_compare_versions.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_correct_runner_image.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_multiple_jsons.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_multiple_yamls.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_single_json.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_single_yaml.yaml +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/fixtures/test_nginx_entrypoint.sh +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/deployer/test_utils.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/fixtures/__init__.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/README.md +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_amd_mi300x.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_amd_mi308x.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_amd_rx7800xt.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_ascend_310p3.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_ascend_910b2.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_hygon_k100ai.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_metax_c500.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_gb10.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_h100.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_h200.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx4080super.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx4090d.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx5090d.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/detect_output_thead_ppu.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_amd_mi300x.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_amd_mi308x.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_amd_rx7800xt.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_ascend_310p3.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_ascend_910b2.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_hygon_k100ai.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_metax_c500.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_mthreads_s5000.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_h100.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_h200.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx4080super.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx4090d.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx5090d.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/samples/topology_output_thead_ppu.json +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_amd.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_ascend.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_cambricon.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_hygon.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_iluvatar.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_metax.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_mthreads.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/tests/gpustack_runtime/detector/test_nvidia.py +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/uv.lock +0 -0
- {gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/uv.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gpustack-runtime
|
|
3
|
-
Version: 0.1.41.
|
|
3
|
+
Version: 0.1.41.post3
|
|
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
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/_version.py
RENAMED
|
@@ -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.41.
|
|
31
|
-
__version_tuple__ = version_tuple = (0, 1, 41, '
|
|
30
|
+
__version__ = version = '0.1.41.post3'
|
|
31
|
+
__version_tuple__ = version_tuple = (0, 1, 41, 'post3')
|
|
32
32
|
try:
|
|
33
33
|
from ._version_appendix import git_commit
|
|
34
34
|
__commit_id__ = commit_id = git_commit
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
git_commit = "3840255"
|
|
@@ -65,7 +65,7 @@ async def serve_async(
|
|
|
65
65
|
if not devices:
|
|
66
66
|
continue
|
|
67
67
|
|
|
68
|
-
allocation_policy =
|
|
68
|
+
allocation_policy = get_device_allocation_policy(manu)
|
|
69
69
|
logger.info(
|
|
70
70
|
"Using device allocation policy '%s' for manufacturer '%s'",
|
|
71
71
|
allocation_policy,
|
|
@@ -277,7 +277,23 @@ def is_kubelet_socket_accessible(
|
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
@lru_cache
|
|
280
|
-
def
|
|
280
|
+
def get_resource_injection_policy() -> Literal["env", "kdp"]:
|
|
281
|
+
"""
|
|
282
|
+
Get the resource injection policy (in lowercase) for the deployer.
|
|
283
|
+
|
|
284
|
+
Returns:
|
|
285
|
+
The resource injection policy.
|
|
286
|
+
|
|
287
|
+
"""
|
|
288
|
+
policy = envs.GPUSTACK_RUNTIME_KUBERNETES_RESOURCE_INJECTION_POLICY.lower()
|
|
289
|
+
if policy != "auto":
|
|
290
|
+
return policy
|
|
291
|
+
|
|
292
|
+
return "kdp" if is_kubelet_socket_accessible() else "env"
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
@lru_cache
|
|
296
|
+
def get_device_allocation_policy(
|
|
281
297
|
manufacturer: ManufacturerEnum,
|
|
282
298
|
) -> Literal["env", "cdi", "opaque"]:
|
|
283
299
|
"""
|
|
@@ -320,6 +336,8 @@ def _get_device_allocation_policy(
|
|
|
320
336
|
|
|
321
337
|
__all__ = [
|
|
322
338
|
"cdi_kind_to_kdp_resource",
|
|
339
|
+
"get_device_allocation_policy",
|
|
340
|
+
"get_resource_injection_policy",
|
|
323
341
|
"is_kubelet_socket_accessible",
|
|
324
342
|
"serve",
|
|
325
343
|
"serve_async",
|
|
@@ -7,9 +7,9 @@ import operator
|
|
|
7
7
|
import os
|
|
8
8
|
from dataclasses import dataclass, field
|
|
9
9
|
from enum import Enum
|
|
10
|
-
from functools import
|
|
10
|
+
from functools import reduce
|
|
11
11
|
from pathlib import Path
|
|
12
|
-
from typing import TYPE_CHECKING
|
|
12
|
+
from typing import TYPE_CHECKING
|
|
13
13
|
|
|
14
14
|
import kubernetes
|
|
15
15
|
import kubernetes.stream.ws_client
|
|
@@ -43,7 +43,7 @@ from .__utils__ import (
|
|
|
43
43
|
sensitive_env_var,
|
|
44
44
|
validate_rfc1123_domain_name,
|
|
45
45
|
)
|
|
46
|
-
from .k8s.deviceplugin import cdi_kind_to_kdp_resource,
|
|
46
|
+
from .k8s.deviceplugin import cdi_kind_to_kdp_resource, get_resource_injection_policy
|
|
47
47
|
|
|
48
48
|
if TYPE_CHECKING:
|
|
49
49
|
from collections.abc import Callable, Generator
|
|
@@ -381,22 +381,6 @@ class KubernetesDeployer(EndoscopicDeployer):
|
|
|
381
381
|
|
|
382
382
|
return wrapper
|
|
383
383
|
|
|
384
|
-
@staticmethod
|
|
385
|
-
@lru_cache
|
|
386
|
-
def _get_resource_injection_policy() -> Literal["env", "kdp"]:
|
|
387
|
-
"""
|
|
388
|
-
Get the resource injection policy (in lowercase) for the deployer.
|
|
389
|
-
|
|
390
|
-
Returns:
|
|
391
|
-
The resource injection policy.
|
|
392
|
-
|
|
393
|
-
"""
|
|
394
|
-
policy = envs.GPUSTACK_RUNTIME_KUBERNETES_RESOURCE_INJECTION_POLICY.lower()
|
|
395
|
-
if policy != "auto":
|
|
396
|
-
return policy
|
|
397
|
-
|
|
398
|
-
return "kdp" if is_kubelet_socket_accessible() else "env"
|
|
399
|
-
|
|
400
384
|
def _create_ephemeral_configmaps(
|
|
401
385
|
self,
|
|
402
386
|
workload: KubernetesWorkloadPlan,
|
|
@@ -1008,7 +992,7 @@ class KubernetesDeployer(EndoscopicDeployer):
|
|
|
1008
992
|
|
|
1009
993
|
# Parameterize resources
|
|
1010
994
|
if c.resources:
|
|
1011
|
-
kdp =
|
|
995
|
+
kdp = get_resource_injection_policy() == "kdp"
|
|
1012
996
|
|
|
1013
997
|
resources: dict[str, str] = {}
|
|
1014
998
|
r_k_runtime_env = workload.resource_key_runtime_env_mapping or {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
git_commit = "ed331dc"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/deploy/manifests/docker-compose.yaml
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/deploy/manifests/kubernetes.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/docs/modules/gpustack_runtime.md
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/__init__.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/__main__.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/_version.pyi
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/__init__.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/__types__.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/deployer.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/detector.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/cmds/images.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/cdi/amd.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/docker.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/deployer/podman.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/amd.py
RENAMED
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/ascend.py
RENAMED
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/hygon.py
RENAMED
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/metax.py
RENAMED
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/nvidia.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gpustack_runtime-0.1.41.post2 → gpustack_runtime-0.1.41.post3}/gpustack_runtime/detector/thead.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|