Skip to main content

Deep learning tools

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

gpu_queuer-0.0.5.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file gpu_queuer-0.0.5.tar.gz.

File metadata

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

File hashes

Hashes for gpu_queuer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 527c110b6178b86179a38b307f894005b14b7198041d8fd10d35db314f63d654
MD5 27af229a702ca0962f13dc8fe4220a45
BLAKE2b-256 1e9ea0d5476866ef11deb37e8f6b391163b76b09fea7e820af2b4cc2fe3cbb42

See more details on using hashes here.

Supported by

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