Skip to main content

Optional DirectML (torch_directml) extra for Voluntas PyTorch packages. Install only on Windows/Python builds where wheels exist.

Project description

morph-directml-vp

Optional DirectML (torch_directml) integration for Voluntas PyTorch packages. Install only on Windows builds where torch_directml wheels exist for your Python version.

Install

pip install morph-directml-vp

Core libraries (e.g. morphoformer) do not depend on this package; use it when you want the directml device in training configs.

Usage

from morph_directml_support import device, has_directml

if has_directml():
    d = device()

Requirements

  • Windows (DirectML)
  • Python >=3.11,<3.14 (matches torch_directml wheel availability)
  • torch and torch_directml (declared as dependencies)

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

morph_directml_vp-3.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

morph_directml_vp-3.0.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file morph_directml_vp-3.0.0.tar.gz.

File metadata

  • Download URL: morph_directml_vp-3.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for morph_directml_vp-3.0.0.tar.gz
Algorithm Hash digest
SHA256 28042fd383a34492b4b8912cc9550967d48df96ac06b6979485820fb7d7849a9
MD5 3a40391055eb6e928c66d99bb9481d29
BLAKE2b-256 bff61d9ecd8b039e3441d20fdbbebd228feac4b9647d3a88d9642a6b2197fc90

See more details on using hashes here.

File details

Details for the file morph_directml_vp-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for morph_directml_vp-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 238d5d675dd581337db1454492d08ddec5828cd476d26d150087141eaefd267d
MD5 2d40d64d61cf7b01d28da9ba1c506a16
BLAKE2b-256 24e6d1abebc6ecb9c8453c867fa3cc4c9c6883cf9beec1ae08db2e26ef891078

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