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-1.0.1.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-1.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morph_directml_vp-1.0.1.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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 23ca6fe717073d7d3359b633cdbac4eaadb590e0e69f90f094b04a836413c61d
MD5 3009d92722b637d8c4a0f21cfe3007c9
BLAKE2b-256 a4a38ff4d44b59ecb7d23060148cab8513d74fec2d0e7d9d9869eb5cd1799af4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for morph_directml_vp-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 528a6a8540e4cf196bef227448632750ac9eb75c0deb0c6c58e0656173c0978c
MD5 cc8305380f74531c0857c16940839d79
BLAKE2b-256 206aa9ea61c3bf702064796b21c4ef471702323f2e550184412fe88c2cdccbba

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