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

Uploaded Python 3

File details

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

File metadata

  • Download URL: morph_directml_vp-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 314898d22754c5b3ae69218717b7720b6834190d58312014c61300d9b8f41810
MD5 64d4852359aa206296d08cc134dd31eb
BLAKE2b-256 460387f3657a8fe6a7fa17655c04b07db9c785746912681523c6127a6ee2f656

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for morph_directml_vp-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f3844a117cc4ccb72fac600107192a8b77b1001b0667abff1ee5a421d0964355
MD5 d94b4159e3445af8323dc375707c6571
BLAKE2b-256 b9e010d0e5e3da8085b05fb286ea2b5e20aeeac241c1bf2e9b0297d7346caab6

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