Backend.AI Accelerator Plugin for CUDA (Mockup)
Project description
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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for backend.ai-accelerator-cuda-mock-22.9.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20239508e78cc5840ec10d0e29f26a66526ffe9050d0eb3bb2fd0c8645cf77d9 |
|
MD5 | 1ca28bfc8f07be9c672ebb488dfaad9a |
|
BLAKE2b-256 | 6c7b2ed4d4917a3cc1e3ada5a17a30069881d73ee5191272599f4d068a24d1ef |
Hashes for backend.ai_accelerator_cuda_mock-22.9.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d251d5563519e480f0c64c08e022aeffa18855aa73c560b008fda7e5fa8010c |
|
MD5 | 32a53216f3a4cc0fccd03252303b42e7 |
|
BLAKE2b-256 | a7e50adcc1a96e235f9b29824ac2a841aee3a3c15458588e37fcee5d7b8b9531 |