Backend.AI Mockup Accelerator Plugin
Project description
backend.ai-accelerator-mock
A mockup plugin for accelerators
This plugin deceives the agent and manager to think as if there are accelerator devices.
The configuration follows mock-accelerator.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.
Notes when setting up mock CUDA devices
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-mock-23.9.10rc6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18f73416ed7d76eeb874386968fba067350b7e56de3062e5b48ea32464445f98 |
|
MD5 | 58d414912fcb05dc1339a74f91eb1361 |
|
BLAKE2b-256 | 14873ce1e2cc8876e45c87ed487525e51ff8e25ffb5d1db877730dc638bc07de |
Hashes for backend.ai_accelerator_mock-23.9.10rc6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c668960e548efacece1e4353c1bf5a75a5d46364eba515fff2d062fa91541c |
|
MD5 | 4a7eb0205c591e7d453e6a29b2f763c5 |
|
BLAKE2b-256 | 3dccb99dc7ae385bbe3c60dc81136a4c265801fbf8686e349c1c176053794a56 |