{"id":26698,"library":"ai-edge-litert-nightly","title":"AI Edge LiteRT Nightly","description":"Nightly build of the LiteRT runtime for on-device machine learning, targeting TensorFlow Lite models on mobile and edge devices. Currently at version 2.2.0.dev20260430.","status":"active","version":"2.2.0.dev20260430","language":"python","source_language":"en","source_url":"https://github.com/ai-edge-litert/ai-edge-litert","tags":["litert","tensorflow-lite","on-device","mobile","nightly"],"install":[{"cmd":"pip install ai-edge-litert-nightly","lang":"bash","label":"Install nightly build"}],"dependencies":[],"imports":[{"wrong":"from ai_edge_litert import LiteRTOptions","symbol":"LiteRTOptions","correct":"from ai_edge_litert import LiteRTOptions"}],"quickstart":{"code":"from ai_edge_litert import LiteRTOptions, LiteRTModel\n\n# Load a TFLite model from file\nmodel_path = \"model.tflite\"\noptions = LiteRTOptions()\nmodel = LiteRTModel(model_path, options)\n\n# Run inference (simplified for illustration)\n# input_data = ...\n# output = model.run(input_data)\nprint(\"LiteRT model loaded successfully\")","lang":"python","description":"Basic model loading using LiteRT API. Replace model.tflite with your model file."},"warnings":[{"fix":"Use a stable release like ai-edge-litert (non-nightly) for production.","message":"This is a nightly build; API may change without notice. Pin to a specific version for stability.","severity":"gotcha","affected_versions":"all"},{"fix":"Migrate to ai_edge_litert imports, e.g., from ai_edge_litert import LiteRTModel.","message":"The old tflite_runtime package is superseded; direct imports from tflite_runtime will not work with ai-edge-litert-nightly.","severity":"deprecated","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'2.2.0':29 'ai':1 'build':6 'current':26 'dev20260430':30 'devic':14,25,37 'edg':2,24 'learn':16 'lite':19,34 'litert':3,9,31 'machin':15 'mobil':22,38 'model':20 'night':4,5,39 'on-devic':12,35 'runtim':10 'target':17 'tensorflow':18,33 'tensorflow-lit':32 'version':28","created_at":"2026-05-01T17:42:25.634109+00:00","updated_at":"2026-05-01T17:42:25.634109+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'LiteRTOptions' from 'ai_edge_litert' (/tmp/tmpwwpueqnu/venv/lib/python3.12/site-packages/ai_edge_litert/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":"https://www.tensorflow.org/lite/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/ai-edge-litert-nightly/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}