Skip to main content

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).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

backend_ai_accelerator_mock-26.8.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

backend_ai_accelerator_mock-26.8.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file backend_ai_accelerator_mock-26.8.0.tar.gz.

File metadata

File hashes

Hashes for backend_ai_accelerator_mock-26.8.0.tar.gz
Algorithm Hash digest
SHA256 c12af760c5445490e47d6c05cf660b6b0b864a4408d18d51ca32dc0dd49aa003
MD5 605898acb61b0300e4591e5e3a720c9f
BLAKE2b-256 8e0a80903450c116635d82b47889f9ff8ae622eed95f1a6e665574d13d84e199

See more details on using hashes here.

File details

Details for the file backend_ai_accelerator_mock-26.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for backend_ai_accelerator_mock-26.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61848e189492dc86629cca7df57cd752256a9876e37e7dd97ae3787a9bea0e47
MD5 bba13eeaca0f8a0e2dc185ee05eb830f
BLAKE2b-256 8053c315cf6438ee2d8d2ed1ec25db3f46c5cc83a00d198111b86cd21dfb514b

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page