Skip to main content

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

Metadata

Release files for backend.ai-accelerator-cuda-mock 23.3.0

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-cuda-mock 23.3.0
File Size Uploaded
backend.ai-accelerator-cuda-mock-23.3.0.tar.gz 11.0 kB Details

Built distribution (wheel)

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

Total release size: 22.5 kB

Release files / backend.ai-accelerator-cuda-mock-23.3.0.tar.gz

Download URL backend.ai-accelerator-cuda-mock-23.3.0.tar.gz
Size 11.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c4d06d7fc4cddbbff817b2622e9393b5c7b90d70a7e92fd480ef23d8305edf7f
BLAKE2b-256 checksum
How to use checksums
a1d0524da5cf6f136b0952aee04d34b9a79d792e33d7d8d1a416c5ea43a39db5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / backend.ai_accelerator_cuda_mock-23.3.0-py3-none-any.whl

Download URL backend.ai_accelerator_cuda_mock-23.3.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6ad9d51f10b7f566e998fac78ba8743503b50f11e4b2c68906fd56f1f47211a6
BLAKE2b-256 checksum
How to use checksums
9bff5b55bf5374f7192c5495529189d1f8c015c59eb45424784f2993dba2facd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

23.3.0 This release

2 release files

22.9.9

2 release files

22.9.8

2 release files

22.9.5

2 release files

22.9.4

2 release files

22.9.3

2 release files

22.9.2

2 release files

22.9.0

2 release files

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