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.15.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c690d1adeacc4a6146e7f9a6291f015310a6fe07d8229bec16f77a179518cd1 |
|
MD5 | 7e4b01832656d254fd015d74c663e72c |
|
BLAKE2b-256 | 7fc7500fec7e4648425a13d2c385910c04089988d87b818f8e7a4ead3ee0cf1a |
Hashes for backend.ai_accelerator_cuda_mock-22.9.15-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a48851b9fc41ff3474b72b2cd7614c6e8bb73e05a5eadbc5e312b37e9f272e05 |
|
MD5 | 1ec1ddb0fa404cc6b402c9900c3f6d8f |
|
BLAKE2b-256 | 28a86c63f23a21b6594c880bbdb3943262faafe10848b5cd821d962c2b402ade |