Metadata-Version: 2.4
Name: morph-directml-vp
Version: 1.0.1
Summary: Optional DirectML (torch_directml) extra for Voluntas PyTorch packages. Install only on Windows/Python builds where wheels exist.
Author: F000NK, Voluntas Progressus
License-Expression: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.13
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: <3.14,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: torch>=2.0.0
Requires-Dist: torch_directml>=0.2.5.dev240914
Dynamic: license-file

# 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

```bash
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

```python
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)
