Skip to content

optree v0.19.1

Latest

Choose a tag to compare

@XuehaiPan XuehaiPan released this 05 May 14:50

optree v0.19.1

Added

  • Add attrs integration module optree.integrations.attrs with field, define, frozen, mutable, make_class, register_node, and AttrsEntry by @XuehaiPan in #273.
  • Add optree.dataclasses.register_node to register existing dataclasses as pytree nodes by @XuehaiPan in #273.
  • Extend GetAttrEntry to support dotted attribute paths for traversing nested attributes (e.g., a.b.c) by @XuehaiPan.
  • Add functools.Placeholder support and re-export for optree.functools.partial (Python 3.14+) by @XuehaiPan in #276.

Fixed

  • Fix Windows wheels crashing when another extension preloads an older msvcp140.dll by disabling MSVC's constexpr std::mutex constructor by @XuehaiPan in #279. Issued by @jmkolbe in #278.

Full Changelog: v0.19.0...v0.19.1