Ultralytics v8.4.218: Sentry SDK 3 compatibility fix
Ultralytics v8.4.218 fixes a crash that prevented yolo commands, including yolo predict, from running when Sentry SDK 3 was installed. This is a compatibility update: it doesn’t change any models or prediction behavior.
What’s fixed
- CLI commands work again with Sentry SDK 3. Ultralytics now uses the replacement Sentry setting for SDK 3 and keeps the existing setting for older SDK versions.
- Ultralytics Platform worker image builds are fixed. The same compatibility issue affected these builds.
- Local variable collection stays disabled. Sentry still doesn’t capture local variables from stack frames.
Thanks to @glenn-jocher for the Sentry SDK 3 compatibility fix in PR #27341. You can read the full v8.4.218 changelog for the complete diff.
Try it out
Install Ultralytics v8.4.218 with pip install ultralytics==8.4.218 and rerun any yolo command that previously crashed. If you’re using Sentry SDK 3, let us know in the replies how the update works for you!