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 agent loads the plugin only when allow-compute-plugins in agent.toml lists ai.backend.accelerator.mock.

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

Metadata

Release files for backend.ai-accelerator-mock 26.4.19

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backend.ai-accelerator-mock 26.4.19
File Size Uploaded Provenance Actions
backend_ai_accelerator_mock-26.4.19.tar.gz 12.3 kB Without provenance Details for backend_ai_accelerator_mock-26.4.19.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for backend.ai-accelerator-mock 26.4.19
File Interpreter ABI Platform Actions
backend_ai_accelerator_mock-26.4.19-py3-none-any.whl Python 3 none any Details for backend_ai_accelerator_mock-26.4.19-py3-none-any.whl

Total release size: 24.4 kB

Release files / backend_ai_accelerator_mock-26.4.19.tar.gz

Download URL backend_ai_accelerator_mock-26.4.19.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
df0deaff6ecbadc935a99b32299ea8812814aad58a776bddf5fb62ce722e3319
BLAKE2b-256 checksum
How to use checksums
e65d2335738412a70009ae59ee24af2f27dacddba30f092bc95e0f9a68aafd3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.13.18

Release files / backend_ai_accelerator_mock-26.4.19-py3-none-any.whl

Download URL backend_ai_accelerator_mock-26.4.19-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01c6959d5a5dd88a4a408975ef59e07bbcc0ba5bbf7412bd478a83227eeba466
BLAKE2b-256 checksum
How to use checksums
d76c0c1568e1b08423ea56e89d187e55187781b80a7860e64a01c6a6fecb3993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.2.0 CPython/3.13.18

Security for backend.ai-accelerator-mock 26.4.19

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.4.19 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page