hi-spike


Namehi-spike JSON
Version 0.1.1 PyPI version JSON
download
home_pagehttps://github.com/deng1fan
Summary工具包,包含 Redis 安装、基于 Redis 的GPU 任务队列管理等功能
upload_time2024-02-27 09:20:35
maintainer
docs_urlNone
authordeng1fan
requires_python>=3.7
license
keywords gpu queuer redis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
### GPU 自动选择、排队
- gpu_queue(config: Union[DictConfig, dict] = {}):设置处理器
    ```
    支持自动选择和手动选择、排队和不排队

    Args:
        config (dict, optional): Defaults to {}.
            queuing: 是否排队,依赖 Redis,默认为 True
            visible_devices: 可见的 GPU 序号,用逗号分隔,默认为 -1, 表示全部可见
            memo: 备注
    Returns:
        Union[DictConfig, dict]: config
    ```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/deng1fan",
    "name": "hi-spike",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "gpu,queuer,redis",
    "author": "deng1fan",
    "author_email": "dengyifan@iie.ac.cn",
    "download_url": "https://files.pythonhosted.org/packages/9f/92/723bfb344ba75c717bb592b4b9cc96e8dda848a25db376777d59580e7bc5/hi_spike-0.1.1.tar.gz",
    "platform": null,
    "description": "\n### GPU \u81ea\u52a8\u9009\u62e9\u3001\u6392\u961f\n- gpu_queue(config: Union[DictConfig, dict] = {})\uff1a\u8bbe\u7f6e\u5904\u7406\u5668\n    ```\n    \u652f\u6301\u81ea\u52a8\u9009\u62e9\u548c\u624b\u52a8\u9009\u62e9\u3001\u6392\u961f\u548c\u4e0d\u6392\u961f\n\n    Args:\n        config (dict, optional): Defaults to {}.\n            queuing: \u662f\u5426\u6392\u961f\uff0c\u4f9d\u8d56 Redis\uff0c\u9ed8\u8ba4\u4e3a True\n            visible_devices: \u53ef\u89c1\u7684 GPU \u5e8f\u53f7\uff0c\u7528\u9017\u53f7\u5206\u9694\uff0c\u9ed8\u8ba4\u4e3a -1, \u8868\u793a\u5168\u90e8\u53ef\u89c1\n            memo: \u5907\u6ce8\n    Returns:\n        Union[DictConfig, dict]: config\n    ```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "\u5de5\u5177\u5305\uff0c\u5305\u542b Redis \u5b89\u88c5\u3001\u57fa\u4e8e Redis \u7684GPU \u4efb\u52a1\u961f\u5217\u7ba1\u7406\u7b49\u529f\u80fd",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/deng1fan"
    },
    "split_keywords": [
        "gpu",
        "queuer",
        "redis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9f92723bfb344ba75c717bb592b4b9cc96e8dda848a25db376777d59580e7bc5",
                "md5": "cb38c0ff669a65b4085d5531693472fb",
                "sha256": "a05b4fcdaeee970c9ba0673f2dc36f5588297d7478290176ccd505373da79813"
            },
            "downloads": -1,
            "filename": "hi_spike-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "cb38c0ff669a65b4085d5531693472fb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10843,
            "upload_time": "2024-02-27T09:20:35",
            "upload_time_iso_8601": "2024-02-27T09:20:35.166295Z",
            "url": "https://files.pythonhosted.org/packages/9f/92/723bfb344ba75c717bb592b4b9cc96e8dda848a25db376777d59580e7bc5/hi_spike-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-27 09:20:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hi-spike"
}
        
Elapsed time: 0.20117s