Skip to content

feat: export should support --batch-size #1072

Description

@xieofxie

It’s here:

Python

src/winml/modelkit/export/config.py

batch_size: int = 1 # Static batch for QNN compatibility
Then auto-resolution uses that default explicitly:

Python

src/winml/modelkit/export/config.py

export_config = _resolve_export_config_from_specs(
...
batch_size=WinMLExportConfig().batch_size,
**(shape_config or {}),
)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions