3LC Python Package Version 2.13

2.13.1

Enhancements and Fixes

  • Fixes an issue that could cause an assert during shutdown of 3lc service


2.13.0

Features

  • [14495] Added support for instance segmentation

  • [13949] As part of ending the 3LC Beta, removed support for doing import tlc and running the 3lc service without a key. From now on, it will be necessary to provide an API key (or a license key for the 3LC Enterprise Customer Managed deployment).

  • [14612] Made torch and torchvision required dependencies for 3lc

    • 3lc has always relied in practice on having torch and torchvision installed in the environment, raising an exception at runtime if they are not both present. This change updates the 3lc to explicitly specify them as required dependencies.

    • If a user already has a version of torch and/or torchvision that targets specific hardware in their environment, doing pip install 3lc will not interfere with them as long as the versions are within the generally loose constraints defined by 3lc

    • If torch and/or torchvision are not installed, the versions on PyPI are installed

    • See this FAQ for more details and recommendations

    • Also added an optional extra dependency group called lightning for the Pytorch Lightning integration that mirrors the other integrations and corresponding extras

Enhancements and Fixes

  • [14587] Added root_url param to tlc.init to make it possible to locally override the default

  • [14498] Made TableFromPandas a subclass of _InMemoryColumnsTable, which makes its representation more efficient and also fixed a number of bugs, such as schema overrides being ignored

  • [14624] Loosened the number dependency version constraint

  • [14667] Limited repeated warnings about alias expansion

  • [14594] Reduced the number of updates to indexing timestamp files by coalescing writes within an interval, which reduces bandwidth uses and prevents unnecessary updates in indexing

  • [14656] Added incompatibility check for COCO exporter so a better error message is provided before export starts

  • [14655] Updated TableWriter.add_batch to provide a clearer error message when a non-dict batch is provided

  • [14697] Fixed an issue with logging from tlcsaas package

  • [14708] Added logging on successful object creation

  • [14712] Made it so we do not delete model files for reduced tables when the delete_source_tables argument is passed, which is not the desired behavior and could be harmful

  • [14760] Fixed an issue where an EditedTable for Dashboard edits with empty bounding boxes would fail to be saved

  • [14718] Made it so TableFromHuggingFace is automatically imported during Object Service startup to avoid issues with loading such tables at runtime

  • [14716] Fixed bugs where deriving from an input Table could inadvertently modify schema row values

Known Issues

  • The tlc Python package does not detect, handle, or support NaN (Not-a-Number) values in tlc.Table, and their presence may lead to unpredictable behavior or inconsistencies within the system.