chaokunyang commented on code in PR #3329:
URL: https://github.com/apache/fory/pull/3329#discussion_r2836124227
##########
python/pyfory/registry.py:
##########
@@ -321,6 +322,17 @@ def _initialize_common(self):
serializer=Float64Serializer,
)
register(float, type_id=TypeId.FLOAT64, serializer=Float64Serializer)
+ # BFloat16 is optional if the extension module is unavailable.
+ try:
Review Comment:
this should always be available, could you remove the tra excep clause
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]