backend.ai-accelerator-cuda-mock


Namebackend.ai-accelerator-cuda-mock JSON
Version 23.3.0 PyPI version JSON
download
home_pagehttps://github.com/lablup/backend.ai
SummaryBackend.AI Accelerator Plugin for CUDA (Mockup)
upload_time2023-03-29 16:58:22
maintainer
docs_urlNone
authorLablup Inc. and contributors
requires_python>=3.11,<3.12
licenseLGPLv3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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).

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/lablup/backend.ai",
    "name": "backend.ai-accelerator-cuda-mock",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<3.12",
    "maintainer_email": "",
    "keywords": "",
    "author": "Lablup Inc. and contributors",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/a1/d0/524da5cf6f136b0952aee04d34b9a79d792e33d7d8d1a416c5ea43a39db5/backend.ai-accelerator-cuda-mock-23.3.0.tar.gz",
    "platform": null,
    "description": "# backend.ai-accelerator-cuda-mock\n\nA mockup plugin for CUDA accelerators\n\nThis plugin deceives the agent and manager to think as if there are CUDA devices.\nThe configuration follows `cuda-mock.toml` placed in the same location of `agent.toml`.\nPlease refer the sample configurations in the `configs/accelerator` directory and copy one of them as a starting point.\n\nThe statistics are randomly generated in reasonable ranges, but it may seem like \"jumping around\" because there is no smoothing mechanism of generated values.\nThe configurations for fractional/discrete mode, fraction size, and device masks in etcd are exactly same as the original plugin.\n\nThe containers are created without any real CUDA device mounts but with `BACKENDAI_MOCK_CUDA_DEVICES` and `BACKENDAI_MOCK_CUDA_DEVICE_COUNT` environment variables.\nSince 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).\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Backend.AI Accelerator Plugin for CUDA (Mockup)",
    "version": "23.3.0",
    "project_urls": {
        "Documentation": "https://docs.backend.ai/",
        "Homepage": "https://github.com/lablup/backend.ai",
        "Source": "https://github.com/lablup/backend.ai"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9bff5b55bf5374f7192c5495529189d1f8c015c59eb45424784f2993dba2facd",
                "md5": "f75b8614ea1004f95d1b7d088696f73b",
                "sha256": "6ad9d51f10b7f566e998fac78ba8743503b50f11e4b2c68906fd56f1f47211a6"
            },
            "downloads": -1,
            "filename": "backend.ai_accelerator_cuda_mock-23.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f75b8614ea1004f95d1b7d088696f73b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<3.12",
            "size": 11426,
            "upload_time": "2023-03-29T16:57:57",
            "upload_time_iso_8601": "2023-03-29T16:57:57.763254Z",
            "url": "https://files.pythonhosted.org/packages/9b/ff/5b55bf5374f7192c5495529189d1f8c015c59eb45424784f2993dba2facd/backend.ai_accelerator_cuda_mock-23.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1d0524da5cf6f136b0952aee04d34b9a79d792e33d7d8d1a416c5ea43a39db5",
                "md5": "6cf0e41fb2007e2e3dc49bc526a60af6",
                "sha256": "c4d06d7fc4cddbbff817b2622e9393b5c7b90d70a7e92fd480ef23d8305edf7f"
            },
            "downloads": -1,
            "filename": "backend.ai-accelerator-cuda-mock-23.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "6cf0e41fb2007e2e3dc49bc526a60af6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<3.12",
            "size": 11035,
            "upload_time": "2023-03-29T16:58:22",
            "upload_time_iso_8601": "2023-03-29T16:58:22.577724Z",
            "url": "https://files.pythonhosted.org/packages/a1/d0/524da5cf6f136b0952aee04d34b9a79d792e33d7d8d1a416c5ea43a39db5/backend.ai-accelerator-cuda-mock-23.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-29 16:58:22",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lablup",
    "github_project": "backend.ai",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "backend.ai-accelerator-cuda-mock"
}
        
Elapsed time: 0.11408s