Instructions to use litert-community/Julia-1-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/Julia-1-LiteRT with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Android sample in android/ (Kotlin host: tokenizer, strict sequence builder, float16 table lookup, GPU FP32 CompiledModel call, decoder; Compose UI), card rows for it, SHA256SUMS extended
8b40504 verified Download android/app/src/release/java/com/julia1/JuliaGateEntry.kt from litert-community/Julia-1-LiteRT: direct link, hf CLI and curl.
- Browser
- Download file 658 Bytes
-
https://huggingface.co/litert-community/Julia-1-LiteRT/resolve/main/android/app/src/release/java/com/julia1/JuliaGateEntry.kt
- Command line
-
hf download hf://litert-community/Julia-1-LiteRT/android/app/src/release/java/com/julia1/JuliaGateEntry.kt
-
curl -L -o JuliaGateEntry.kt https://huggingface.co/litert-community/Julia-1-LiteRT/resolve/main/android/app/src/release/java/com/julia1/JuliaGateEntry.kt
658 Bytes
| // SPDX-License-Identifier: Apache-2.0 | |
| package com.julia1 | |
| import android.content.Context | |
| /** Release has no fixture reader or device gate implementation. */ | |
| object JuliaGateEntry { | |
| /** Shared launch-interface type; no release path creates a gate result. */ | |
| data class Result(val path: String, val status: String, val error: String? = null) | |
| /** Defensive guard; MainActivity and MainViewModel reject gate extras in release. */ | |
| fun run( | |
| context: Context, | |
| engine: JuliaEngine, | |
| backend: JuliaEngine.Backend, | |
| window: Int, | |
| ): Result { | |
| error("Gate execution is available only in debug builds") | |
| } | |
| } | |