Skip to main content

工具包,包含 Redis 安装、基于 Redis 的GPU 任务队列管理等功能

Project description

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
    

Project details


Download files

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

Source Distribution

xspike-0.1.1.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file xspike-0.1.1.tar.gz.

File metadata

  • Download URL: xspike-0.1.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for xspike-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d79fc65fee06ba5718c86d5a55c21bef24b01b222fe504ef4019b4d40df79392
MD5 ac55c3ec6fe5bb51971f50d2bc1918e8
BLAKE2b-256 f1cba3b81a15f2c37e988f7e3a1b5bd6d3fe342cf82d1dad2f51357ea5a83783

See more details on using hashes here.

Supported by

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