# transformers 5.24.1 (Apache-2.0), harvested by tools/harvest_corpus.py
=== input
Factory: build a 2-arg OV-op translator for SymInt binary builtins (add, mul, mod, …).

    Mixed int/float operands (e.g. ``symint - 0.5`` in deformable-attention grid math) are
    promoted to the float side — OV element-wise ops require matching types. ``mod`` must map
    to ``floor_mod``: Python's ``%`` is floored (``-7 % 3 == 2``) while OV's ``Mod`` truncates,
    which breaks ``-seq % block``-style padding arithmetic (LongT5).
    
=== parse google
short_description: 'Factory: build a 2-arg OV-op translator for SymInt binary builtins (add, mul, mod, …).'
long_description: |
  Mixed int/float operands (e.g. ``symint - 0.5`` in deformable-attention grid math) are
  promoted to the float side — OV element-wise ops require matching types. ``mod`` must map
  to ``floor_mod``: Python's ``%`` is floored (``-7 % 3 == 2``) while OV's ``Mod`` truncates,
  which breaks ``-seq % block``-style padding arithmetic (LongT5).
blank_after_short_description: True
blank_after_long_description: False
style: google
=== detect
rest
=== compose google
Factory: build a 2-arg OV-op translator for SymInt binary builtins (add, mul, mod, …).

Mixed int/float operands (e.g. ``symint - 0.5`` in deformable-attention grid math) are
promoted to the float side — OV element-wise ops require matching types. ``mod`` must map
to ``floor_mod``: Python's ``%`` is floored (``-7 % 3 == 2``) while OV's ``Mod`` truncates,
which breaks ``-seq % block``-style padding arithmetic (LongT5).
