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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64e2fbc6003adfa003d3180ccde806c8e5790ea8f05d65560e9cfc3b6c166900 |
|
MD5 | d9ea9443085f9d52461331551b559d41 |
|
BLAKE2b-256 | a6a50355603b96aee05cb3114c3be7774d1b902e85be02d7f08755064e55492c |
Hashes for backend.ai_accelerator_cuda_mock-22.9.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca05358ce233e97c7b78328994f5ff849d52638bd5ad639bdb75d2eda8ee459 |
|
MD5 | 937ba19e7b64f4d490bd78e46b58f732 |
|
BLAKE2b-256 | 1aa97994dca91b12d461d8f6dbfd9ec9771969573c91873e5e055e268251b45e |