LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.38k stars 525 forks source link

fix Float16_t related onnx build issues #1918

Closed borg323 closed 11 months ago

borg323 commented 12 months ago

The upcoming release of onnxruntime 1.16 breaks our build because they forbid direct assignment from already encoded uint16_t to their Float16_t. They do provide access to the uint16_t val member, but this was named value in previous versions, so it can't be used for direct assignment in a portable way.