backend.ai-accelerator-cuda-mock-23.3.0a4
توضیحات
Backend.AI Accelerator Plugin for CUDA (Mockup)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | backend.ai-accelerator-cuda-mock-23.3.0a4 |
| نام | backend.ai-accelerator-cuda-mock |
| نسخه کتابخانه | 23.3.0a4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Lablup Inc. and contributors |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/lablup/backend.ai |
| آدرس اینترنتی | https://pypi.org/project/backend.ai-accelerator-cuda-mock/ |
| مجوز | LGPLv3 |
# backend.ai-accelerator-cuda-mock
A mockup plugin for CUDA accelerators
This plugin deceives the agent and manager to think as if there are CUDA devices.
The configuration follows `cuda-mock.toml` placed in the same location of `agent.toml`.
Please refer the sample configurations in the `configs/accelerator` directory and copy one of them as a starting point.
The statistics are randomly generated in reasonable ranges, but it may seem like "jumping around" because there is no smoothing mechanism of generated values.
The configurations for fractional/discrete mode, fraction size, and device masks in etcd are exactly same as the original plugin.
The containers are created without any real CUDA device mounts but with `BACKENDAI_MOCK_CUDA_DEVICES` and `BACKENDAI_MOCK_CUDA_DEVICE_COUNT` environment variables.
Since the manager does not know if the reported devices are real or not, you can start any CUDA-only containers (but of course they won't work as expected).
نیازمندی
| مقدار | نام |
|---|---|
| ~=0.21.0 | aiodocker |
| ==23.03.0 | backend.ai-agent |
| ==23.03.0 | backend.ai-cli |
| ==23.03.0 | backend.ai-common |
| ==23.03.0 | backend.ai-kernel-binary |
| ==23.03.0 | backend.ai-kernel-helper |
| ==23.03.0 | backend.ai-kernel |
| ==23.03.0 | backend.ai-plugin |
| ~=2.1 | trafaret |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.11,<3.12 | Python |
نحوه نصب
نصب پکیج whl backend.ai-accelerator-cuda-mock-23.3.0a4:
pip install backend.ai-accelerator-cuda-mock-23.3.0a4.whl
نصب پکیج tar.gz backend.ai-accelerator-cuda-mock-23.3.0a4:
pip install backend.ai-accelerator-cuda-mock-23.3.0a4.tar.gz