Skip to content

Do not use -inf in boolean masks? #2561

@justinchuby

Description

@justinchuby

Should we set

neg_inf = op.Constant(value=ir.tensor(-float("inf"), dtype=query.dtype))

to use float.lowest()?

Ref: microsoft/onnxruntime#25966 (review)

Metadata

Metadata

Assignees

Labels

module: torchlibRelated to the torch/aten function lib in development

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions