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.19.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 518b3c6cefe46f9f8011e99540262a338bffdf4067e8817fae5c69d0396b3bff |
|
MD5 | 20837e217d695c63979e8fd0762a5a49 |
|
BLAKE2b-256 | 9ef5b5c6365b1405acaeccb8af4eb35f3feb62531c1d0fbf1207483ca3ddf25e |
Hashes for backend.ai_accelerator_cuda_mock-22.9.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e1629beb930cf3027a9b114beb1d0e2ed6a449d337fe3eee380e62c3b1f663 |
|
MD5 | 0ee6efaed0149a53f6e478d3ee1f9c46 |
|
BLAKE2b-256 | 0212978db135de61a15e2ab4b238e926edf83511cdfb1a8d61478572cb1cd39b |