Skip to content

[circle-schema] Add MX dtype restrictions comment#16344

Merged
jinevening merged 1 commit intoSamsung:masterfrom
hseok-oh:mx_type_comment
Jan 14, 2026
Merged

[circle-schema] Add MX dtype restrictions comment#16344
jinevening merged 1 commit intoSamsung:masterfrom
hseok-oh:mx_type_comment

Conversation

@hseok-oh
Copy link
Copy Markdown
Contributor

This commit adds comprehensive comments documenting current restrictions for MX dtypes (MXFP4, MXINT8) in the circle schema.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh [email protected]

seanshpark
seanshpark previously approved these changes Jan 14, 2026
Copy link
Copy Markdown
Contributor

@seanshpark seanshpark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hseok-oh hseok-oh requested a review from jinevening January 14, 2026 06:45
Comment thread nnpackage/schema/circle_schema.fbs Outdated
Comment on lines +93 to +94
// - Model does not have MX dtype's parameters (block size, exponent scale, etc).
// Backend should define and use internally if needed
Copy link
Copy Markdown
Collaborator

@jinevening jinevening Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MX type is quite flexible, but some types (FP4, INT8) have pre-determined parameters according to OCP spec. The ones in the circle schema (MXFP4 and MXINT8) follow OCP spec.

PTAL Concrete MX-compliant Formats in https://www.opencompute.org/documents/ocp-microscaling-formats-mx-v1-0-spec-final-pdf

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to write "These MX dtypes follow MX-compliant Formats in OCP spec"?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've updated comment

This commit adds comprehensive comments documenting current restrictions for MX dtypes (MXFP4, MXINT8) in the circle schema.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
Copy link
Copy Markdown
Collaborator

@jinevening jinevening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thank you!

@jinevening jinevening merged commit d3587cc into Samsung:master Jan 14, 2026
14 checks passed
@hseok-oh hseok-oh deleted the mx_type_comment branch January 15, 2026 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants