You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there are legitimate use case where the destination buffer may be smaller from the user's perspective, for example (but not limited to) when the user wants to receive a message that it is known to be the size of or smaller than the destination buffer.
Python users tend to use more high-level objects, in which cases knowing that a mismatch in size might be due to a potential user error, for example by mixing dtypes in NumPy the following is valid if we don't explicitly truncate, even if not intended by the user:
Should any messages received on both C++ and Python UCXX APIs that are different than the buffer size provided by the user be considered truncated? Should we consider different behavior for C++ and Python?
The text was updated successfully, but these errors were encountered:
We were until now considering TAG messages received that are smaller than the destination buffer to be truncated, which is how UCX-Py dealt with it. This behavior has been reverted in #105 until we decide on the proper behavior.
However, there are legitimate use case where the destination buffer may be smaller from the user's perspective, for example (but not limited to) when the user wants to receive a message that it is known to be the size of or smaller than the destination buffer.
Python users tend to use more high-level objects, in which cases knowing that a mismatch in size might be due to a potential user error, for example by mixing
dtype
s in NumPy the following is valid if we don't explicitly truncate, even if not intended by the user:Should any messages received on both C++ and Python UCXX APIs that are different than the buffer size provided by the user be considered truncated? Should we consider different behavior for C++ and Python?
The text was updated successfully, but these errors were encountered: