gpustack-runtime 0.1.41.post1__tar.gz → 0.1.41.post2__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.
Files changed (142) hide show
  1. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/PKG-INFO +3 -3
  2. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/buf.gen.yaml +1 -1
  3. gpustack_runtime-0.1.41.post2/buf.yaml +5 -0
  4. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/_version.py +2 -2
  5. gpustack_runtime-0.1.41.post2/gpustack_runtime/_version_appendix.py +1 -0
  6. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/deviceplugin/__init__.py +1 -0
  7. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/deviceplugin/plugin.py +3 -11
  8. gpustack_runtime-0.1.41.post2/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2.py +1129 -0
  9. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/pyproject.toml +3 -2
  10. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/uv.lock +12 -13
  11. gpustack_runtime-0.1.41.post1/buf.yaml +0 -3
  12. gpustack_runtime-0.1.41.post1/gpustack_runtime/_version_appendix.py +0 -1
  13. gpustack_runtime-0.1.41.post1/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2.py +0 -86
  14. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.codespelldict +0 -0
  15. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.codespellrc +0 -0
  16. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.dockerignore +0 -0
  17. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.gitattributes +0 -0
  18. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.gitignore +0 -0
  19. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.pre-commit-config.yaml +0 -0
  20. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/.python-version +0 -0
  21. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/LICENSE +0 -0
  22. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/Makefile +0 -0
  23. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/README.md +0 -0
  24. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/buf.lock +0 -0
  25. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/deploy/manifests/docker-compose.yaml +0 -0
  26. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/deploy/manifests/kubernetes.yaml +0 -0
  27. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/docs/index.md +0 -0
  28. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/docs/modules/gpustack_runtime.deployer.md +0 -0
  29. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/docs/modules/gpustack_runtime.detector.md +0 -0
  30. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/docs/modules/gpustack_runtime.md +0 -0
  31. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/__init__.py +0 -0
  32. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/__main__.py +0 -0
  33. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/_version.pyi +0 -0
  34. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/cmds/__init__.py +0 -0
  35. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/cmds/__types__.py +0 -0
  36. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/cmds/deployer.py +0 -0
  37. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/cmds/detector.py +0 -0
  38. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/cmds/images.py +0 -0
  39. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/__init__.py +0 -0
  40. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/__patches__.py +0 -0
  41. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/__types__.py +0 -0
  42. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/__utils__.py +0 -0
  43. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/__init__.py +0 -0
  44. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/__types__.py +0 -0
  45. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/__utils__.py +0 -0
  46. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/amd.py +0 -0
  47. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/ascend.py +0 -0
  48. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/hygon.py +0 -0
  49. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/iluvatar.py +0 -0
  50. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/metax.py +0 -0
  51. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/cdi/thead.py +0 -0
  52. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/docker.py +0 -0
  53. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/deviceplugin/__types__.py +0 -0
  54. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/__init__.py +0 -0
  55. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api.proto +0 -0
  56. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2.pyi +0 -0
  57. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/api_pb2_grpc.py +0 -0
  58. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/k8s/types/kubelet/deviceplugin/v1beta1/constants.py +0 -0
  59. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/kuberentes.py +0 -0
  60. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/deployer/podman.py +0 -0
  61. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/__init__.py +0 -0
  62. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/__types__.py +0 -0
  63. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/__utils__.py +0 -0
  64. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/amd.py +0 -0
  65. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/ascend.py +0 -0
  66. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/cambricon.py +0 -0
  67. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/hygon.py +0 -0
  68. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/iluvatar.py +0 -0
  69. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/metax.py +0 -0
  70. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/mthreads.py +0 -0
  71. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/nvidia.py +0 -0
  72. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyacl/__init__.py +0 -0
  73. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyamdgpu/__init__.py +0 -0
  74. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyamdsmi/__init__.py +0 -0
  75. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pycuda/__init__.py +0 -0
  76. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pydcmi/__init__.py +0 -0
  77. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyhgml/__init__.py +0 -0
  78. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyhgml/libhgml.so +0 -0
  79. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyhgml/libuki.so +0 -0
  80. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyhsa/__init__.py +0 -0
  81. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyixml/__init__.py +0 -0
  82. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pymxsml/__init__.py +0 -0
  83. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyrocmcore/__init__.py +0 -0
  84. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/pyrocmsmi/__init__.py +0 -0
  85. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/detector/thead.py +0 -0
  86. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/envs.py +0 -0
  87. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/gpustack_runtime/logging.py +0 -0
  88. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/hatch.toml +0 -0
  89. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/mkdocs.yml +0 -0
  90. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/pack/Dockerfile +0 -0
  91. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/pack/Dockerfile.dummy +0 -0
  92. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/pytest.ini +0 -0
  93. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/ruff.toml +0 -0
  94. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/__init__.py +0 -0
  95. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_compare_versions.json +0 -0
  96. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_correct_runner_image.json +0 -0
  97. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json.json +0 -0
  98. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_multiple_jsons.json +0 -0
  99. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_multiple_yamls.yaml +0 -0
  100. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_single_json.json +0 -0
  101. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_load_yaml_or_json_single_yaml.yaml +0 -0
  102. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/fixtures/test_nginx_entrypoint.sh +0 -0
  103. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/deployer/test_utils.py +0 -0
  104. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/fixtures/__init__.py +0 -0
  105. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/README.md +0 -0
  106. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_amd_mi300x.json +0 -0
  107. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_amd_mi308x.json +0 -0
  108. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_amd_rx7800xt.json +0 -0
  109. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_ascend_310p3.json +0 -0
  110. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_ascend_910b2.json +0 -0
  111. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_hygon_k100ai.json +0 -0
  112. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_metax_c500.json +0 -0
  113. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_gb10.json +0 -0
  114. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_h100.json +0 -0
  115. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_h200.json +0 -0
  116. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx4080super.json +0 -0
  117. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx4090d.json +0 -0
  118. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_nvidia_rtx5090d.json +0 -0
  119. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/detect_output_thead_ppu.json +0 -0
  120. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_amd_mi300x.json +0 -0
  121. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_amd_mi308x.json +0 -0
  122. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_amd_rx7800xt.json +0 -0
  123. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_ascend_310p3.json +0 -0
  124. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_ascend_910b2.json +0 -0
  125. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_hygon_k100ai.json +0 -0
  126. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_metax_c500.json +0 -0
  127. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_mthreads_s5000.json +0 -0
  128. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_h100.json +0 -0
  129. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_h200.json +0 -0
  130. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx4080super.json +0 -0
  131. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx4090d.json +0 -0
  132. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_nvidia_rtx5090d.json +0 -0
  133. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/samples/topology_output_thead_ppu.json +0 -0
  134. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_amd.py +0 -0
  135. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_ascend.py +0 -0
  136. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_cambricon.py +0 -0
  137. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_hygon.py +0 -0
  138. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_iluvatar.py +0 -0
  139. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_metax.py +0 -0
  140. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_mthreads.py +0 -0
  141. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/tests/gpustack_runtime/detector/test_nvidia.py +0 -0
  142. {gpustack_runtime-0.1.41.post1 → gpustack_runtime-0.1.41.post2}/uv.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gpustack-runtime
3
- Version: 0.1.41.post1
3
+ Version: 0.1.41.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
@@ -23,10 +23,10 @@ Requires-Dist: kubernetes>=33.1.0
23
23
  Requires-Dist: mthreads-ml-py>=2.2.10
24
24
  Requires-Dist: nvidia-ml-py>=13.580.65
25
25
  Requires-Dist: podman==5.6.0
26
- Requires-Dist: protobuf>=5.28.3
26
+ Requires-Dist: protobuf<=3.19.6
27
27
  Requires-Dist: pyyaml
28
28
  Requires-Dist: tqdm
29
- Requires-Dist: types-protobuf>=6.32.1.20251210
29
+ Requires-Dist: types-protobuf<=5.28.3.20241203
30
30
  Description-Content-Type: text/markdown
31
31
 
32
32
  # GPUStack Runtime
@@ -1,6 +1,6 @@
1
1
  version: v2
2
2
  plugins:
3
- - remote: buf.build/protocolbuffers/python:v28.3
3
+ - remote: buf.build/protocolbuffers/python:v3.14.0
4
4
  out: .
5
5
  - remote: buf.build/protocolbuffers/pyi:v28.3
6
6
  out: .
@@ -0,0 +1,5 @@
1
+ version: v2
2
+ modules:
3
+ - path: .
4
+ includes:
5
+ - "gpustack_runtime"
@@ -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.post1'
31
- __version_tuple__ = version_tuple = (0, 1, 41, 'post1')
30
+ __version__ = version = '0.1.41.post2'
31
+ __version_tuple__ = version_tuple = (0, 1, 41, 'post2')
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 = "ed331dc"
@@ -110,6 +110,7 @@ async def serve_async(
110
110
  device=dev,
111
111
  id_by="index" if manu == ManufacturerEnum.ASCEND else "uuid",
112
112
  allocation_policy=allocation_policy,
113
+ max_allocations=envs.GPUSTACK_RUNTIME_KUBERNETES_KDP_PER_DEVICE_MAX_ALLOCATIONS,
113
114
  ),
114
115
  )
115
116
 
@@ -11,7 +11,6 @@ import grpc
11
11
  from grpc_interceptor import AsyncServerInterceptor
12
12
  from grpc_interceptor.exceptions import GrpcException
13
13
 
14
- from .... import envs
15
14
  from ....detector import Device, str_range_to_list
16
15
  from ...cdi import (
17
16
  generate_config,
@@ -135,7 +134,7 @@ class SharableDevicePlugin(PluginServer, DevicePluginServicer):
135
134
  device: Device,
136
135
  id_by: Literal["uuid", "index"] = "uuid",
137
136
  allocation_policy: Literal["env", "cdi", "opaque"] = "cdi",
138
- max_allocations: int | None = None,
137
+ max_allocations: int | None = 10,
139
138
  ):
140
139
  """
141
140
  Initializes the SharableDevicePlugin.
@@ -150,18 +149,12 @@ class SharableDevicePlugin(PluginServer, DevicePluginServicer):
150
149
  Controls the device allocation policy.
151
150
  max_allocations:
152
151
  Controls the maximum allocations per underlying device.
153
- If None, uses the environment variable `GPUSTACK_RUNTIME_KUBERNETES_KDP_PER_DEVICE_MAX_ALLOCATIONS`.
154
152
 
155
153
  """
156
154
  self._device = device
157
155
  self._id_by = id_by
158
156
  self._allocation_policy = allocation_policy
159
- self._max_allocations = max_allocations
160
- if not self._max_allocations:
161
- self._max_allocations = (
162
- envs.GPUSTACK_RUNTIME_KUBERNETES_KDP_PER_DEVICE_MAX_ALLOCATIONS
163
- )
164
- self._max_allocations = max(self._max_allocations, 1)
157
+ self._max_allocations = max(max_allocations, 1)
165
158
  self._cdi_kind = manufacturer_to_cdi_kind(device.manufacturer)
166
159
  self._runtime_env = manufacturer_to_runtime_env(device.manufacturer)
167
160
  self._kdp_resource = cdi_kind_to_kdp_resource(
@@ -425,8 +418,7 @@ class SharableDevicePlugin(PluginServer, DevicePluginServicer):
425
418
  self,
426
419
  req: ContainerAllocateRequest,
427
420
  ) -> ContainerAllocateResponse:
428
- policy = envs.GPUSTACK_RUNTIME_KUBERNETES_KDP_DEVICE_ALLOCATION_POLICY.lower()
429
-
421
+ policy = self._allocation_policy
430
422
  request_dp_device_ids = req.devices_ids
431
423
 
432
424
  # CDI device allocation.