Contents
  1. Deployment goals and information boundaries
  2. Workloads and device acceptance conditions
  3. Peak memory and shared device capacity
  4. Actual execution across processors
  5. Compatible models, artifacts, and runtimes
  6. Installation and changing readiness
  7. Sustained energy and thermal limits
  8. Admission, cancellation, and application lifetime
  9. Complete offline capabilities
  10. Local-cloud routing and transfer outcomes
  11. Qualification under real operating conditions
  12. Check understanding
  13. Open questions
  14. Selected talks
  15. References
  16. Talk library
← All topics

Local and On-Device AI

Local AI puts model execution near the person using it. Its usefulness depends on more than fitting model files into memory: the application must deliver acceptable results through startup, sustained use, interruptions, and changing connectivity. The engineering decision joins task quality with device capacity and a clear account of what information stays local.

Deployment goals and information boundaries

On-device means execution on the user's endpoint. Here, local also includes a stated nearby computing environment. A nearby server remains another machine, with its own administrator and communication boundary; geographical proximity does not establish ownership.

Inference applies an already trained model without updating its learned parameters. The request-serving path explains that operation. Application location and inference location can differ: a function called from a laptop may execute on a remote GPU, as demonstrated by Runpod's decorated-function workflow.

Execution and disclosure follow separate paths

Example

Local inference can coexist with outbound records.

Inference routes are alternatives. Nearby execution crosses a machine boundary; storage and telemetry create additional information paths.
Read the diagram as text
  • Endpoint application.
  • On-device model. Same endpoint.
  • Nearby model server. Separate machine; identify its administrator.
  • Cloud model. Remote service.
  • Local records.
  • External recipient.
  • Endpoint applicationOn-device model: Local route: prompt.
  • Endpoint applicationNearby model server: Nearby route: network prompt.
  • Endpoint applicationCloud model: Cloud route: network prompt.
  • On-device modelLocal records: Saved output.
  • Local recordsExternal recipient: Optional synchronization.
  • Endpoint applicationExternal recipient: Optional diagnostics.
Mandatory requirements eliminate unsuitable placements before preferences determine the choice among remaining options.
GoalPlacement consequenceRemaining obligation
No external processingKeep every protected processing stage within the permitted environment.Include transcription, tools, and application data paths—not only generation.
Disconnected completionRemove network dependencies from the promised task.Provision required assets before disconnection.
Responsive interactionCompare complete application latency across feasible placements.Removing network delay does not establish faster model execution.
PersonalizationLocal context can support personalized features without a model-server transfer.Specify which personal records the application retains or synchronizes.
Lower operating costCompare cost per completed useful task at equivalent quality and service requirements.Include unsuccessful attempts and retained operational work.

Local cost includes allocated hardware depreciation, energy, maintenance, software, and staff time. Count depreciation or the full purchase in a period model, not both. Low utilization spreads fixed costs over fewer completed tasks. Remote comparison must include service charges and retained integration costs; electricity alone does not represent full local ownership cost.

A trust boundary separates assumptions about control or authority. Local processing changes one boundary; privacy also depends on collection, access, disclosure, and retention. An information inventory should trace prompts, outputs, local records, backups, synchronization, and diagnostic traffic. A model service's isolation or non-retention behavior does not describe everything its calling application does.

Derived information can remain sensitive. An embedding is a numerical representation of input; researchers have reconstructed text from embeddings under specified model-access conditions. Local conversion into vectors therefore does not establish safe disclosure. Minimization limits what is collected and transferred rather than assuming transformation removes identification risk.

The host must also be trusted: operating-system policy can permit inspection of another process's memory. Process separation alone does not protect prompts from a compromised host. Downloaded model files create a separate artifact-exposure surface. Finally, an air gap excludes physical connections and automated logical transfers; temporary disconnection or a loopback endpoint does not establish one.

Workloads and device acceptance conditions

A workload contract states useful results, input and output shapes, arrivals, concurrent work, deadlines, and session conditions. A service objective is a declared acceptance target. Model size cannot substitute for these requirements: a narrow task may benefit more from specialization than from broad generation capabilities.

Tokens are text units represented by vocabulary IDs, not necessarily words; Tokenization explains their boundaries. For summarization, record the joint distribution of complete input and output lengths. Long inputs paired with long outputs create a different device workload from either length in isolation, as described in workload shape and service objectives.

Continuous input and bounded completion

Example timings

Early output and finished work occur at different times.

Dictation task excerpt06 secondsDuration 6 seconds
Audio capture05 secondsDuration 5 secondsWithin Dictation task excerpt
Partial transcription0.55.2 secondsDuration 4.7 secondsWithin Dictation task excerpt
Finalize transcript5.26 secondsDuration 0.8 secondsWithin Dictation task excerpt
Summary task04 secondsDuration 4 seconds
Prompt processing01 secondsDuration 1 secondsWithin Summary task
Output generation14 secondsDuration 3 secondsWithin Summary task
A short dictation excerpt overlaps capture with partial transcription, then finalizes. A separate summary processes its prompt before generating output. Parent spans identify tasks; overlap is not parentage. Do not sum overlapping spans as elapsed time.
Read the diagram as text
  • Dictation task excerpt. Six seconds elapsed. 0 to 6 seconds; duration 6 seconds.
  • Audio capture. 0 to 5 seconds; duration 5 seconds. Parent: Dictation task excerpt.
  • Partial transcription. Revisable text while input continues. 0.5 to 5.2 seconds; duration 4.7 seconds. Parent: Dictation task excerpt.
  • Finalize transcript. 5.2 to 6 seconds; duration 0.8 seconds. Parent: Dictation task excerpt.
  • Summary task. Four seconds elapsed. 0 to 4 seconds; duration 4 seconds.
  • Prompt processing. 0 to 1 seconds; duration 1 seconds. Parent: Summary task.
  • Output generation. First output precedes completion. 1 to 4 seconds; duration 3 seconds. Parent: Summary task.

The following requirements define two example applications; they are acceptance targets, not published device results. Summarization produces a bounded document result. Dictation continuously converts incoming speech into text, and early partial text can change before finalization.

Contract dimensionInteractive summarizationSustained dictation
Useful resultPreserve required facts, names, and qualifications; compare against an extractive baseline that selects source sentences.Preserve spoken content, including names and corrections; score representative audio conditions.
Input and output512–2,048 complete prompt tokens; at most 128 generated tokens.Continuous microphone input; distinguish revisable partial text from final text.
Timing targetsFirst useful text within one second and completed result within five seconds for at least 95% of requests.First partial within 0.5 seconds; finalization within one second after an utterance ends; no growing backlog.
Arrivals and durationOne active request; replacement requests cancel obsolete work.Twenty-minute session, including pauses and resumed speech.
Supported conditionsDeclare device and OS classes, available memory, competing applications, and initialization state.Also declare microphone conditions, screen activity, charging, battery state, and background activity.

Time to first token, or TTFT, measures request submission to receipt of the first generated response. Completion latency ends at the final response. Neither necessarily measures first useful content. A p95 is a percentile of specified observations, not an average; report deadline misses as well. Bundled streaming responses do not expose every internal token-emission time.

Fast partial transcription can coexist with late or unstable final text. Conversely, a quick summary opening can precede an incomplete answer. Separate these milestones using the latency boundaries. Task effectiveness needs its own evidence: MobileAIBench separates task evaluation from mobile resource measurements, and its summarization overlap scores do not by themselves establish factual fidelity.

Peak memory and shared device capacity

Download size measures transferred files; installed storage measures persistent assets. Resident memory is memory currently held in RAM by a process. Peak running demand includes more than weights: request state, temporary execution storage, media, runtime, and application allocations coexist. The operating system and competing applications need capacity outside that budget.

Weights are learned numerical parameters. Activations are intermediate numerical results; scratch space is temporary execution storage. A language model's KV cache retains context-dependent attention keys and values, not tokens themselves or durable conversation records. KV state and the resident memory budget explains why that request-dependent allocation must remain separate from shared weights.

Loading exceeds an otherwise adequate budget

Example

Later steady execution can fit while initialization fails.

One workload, successive phases

All categories share one allocation allowance.

Scroll sideways if the figure extends beyond the screen.

01.252.53.7550650130019502600Elapsed execution time (seconds)Application allocation (MiB)Simultaneous totalAllocation allowanceLoadingPromptGenerationLonger output
  • 1. Simultaneous total
  • 2. Allocation allowance
Read coordinates and regions as data

X: 05 seconds; Y: 02600 MiB, increasing up. Axes scaled independently; screen angles and distances are not comparable.

Simultaneous total (polyline)

(1, 2300); (2, 2100); (3, 1900); (4, 2000)

Allocation allowance (polyline)

(0.2, 2200); (4.8, 2200)

Loading: (1, 2440)

Prompt: (2, 1920)

Generation: (3, 1720)

Longer output: (4, 1830)

Totals come from the allocation ledger. Loading reaches 2,300 MiB against a 2,200 MiB allowance. Subsequent totals fit. The allowance already excludes system and competing-work reserves; installed files are separate. Connecting segments illustrate the phase sequence, not measured allocation transitions.
Mpeak=maxtiMi(t)M_{\mathrm{peak}}=\max_t\sum_i M_i(t) Here, Mi(t)M_i(t) is the allocation for category ii at time tt. Categories must not overlap. Fit depends on the largest simultaneous total, compared with the applicable process and memory-pool limits—not the sum of category maxima reached at unrelated times.

Assume the application has a 2,200 MiB allocation allowance after reserving capacity for the system and competing work. MiB means 1,048,576 bytes. The ledger below supplies the plotted totals. Temporary loading allocations exceed the allowance even though every later phase fits; independently adding category maxima would instead overestimate simultaneous demand.

Allocation, MiBLoadingPrompt processingGenerationLonger generation
Resident weights800800800800
Request state0400600700
Temporary loading/execution buffers1,100500100100
Runtime and application300300300300
Media buffers100100100100
Simultaneous total2,3002,1001,9002,000

A published fixture illustrates the file-versus-process distinction without supplying an allocation breakdown. Google's FunctionGemma Mobile Actions dynamic-int8 configuration reports a 288 MB model and 551 MB peak RSS, or resident set size. The test used a Samsung S25 Ultra CPU, LiteRT XNNPACK, four threads, 512 prefill tokens, and 32 decode tokens. RSS is not whole-device demand.

Dynamic KV allocations grow with retained history; static caches reserve capacity in advance. Windowed architectures follow different retention rules. More cache slots do not extend a model's supported sequence length. Limit complete input plus reserved output, using complete-request budgeting, and qualify concurrency separately because simultaneous requests can require additional state.

Unified memory lets processors access a shared pool; MLX on Apple silicon avoids explicit array copies between separate CPU and GPU memory spaces. Count shared allocations once. Separate-memory systems require a budget for each pool and any duplicated buffers. Neither arrangement removes competition for capacity. Under memory pressure, a mobile operating system may terminate the application.

Actual execution across processors

An inference runtime loads a model and executes its numerical operations. The CPU is a general-purpose processor; the GPU executes parallel workloads; an NPU, or neural processing unit, specializes in neural-network operations. A backend or execution provider is the runtime component that executes supported work on a processor.

Capacity determines whether allocations fit. Memory bandwidth determines how quickly operands move; arithmetic capacity determines how quickly operations execute. Dispatch and synchronization add overhead. Inference bottlenecks depend on workload shape and hardware. An advertised peak arithmetic rate omits these other limits and cannot predict complete application latency.

Accelerated regions still need connecting work

Example

Processor crossings can outweigh faster operations.

This partially delegated graph alternates CPU and GPU execution. Tensor handoffs require coordination and may require copies or conversion. The exact transfer mechanism depends on memory architecture. No timings are implied.
Read the diagram as text
  • CPU preprocessing.
  • GPU subgraph A. Supported operations.
  • CPU operation. Unsupported by this GPU delegate.
  • GPU subgraph B. Supported operations.
  • CPU postprocessing.
  • CPU preprocessingGPU subgraph A: Input tensor handoff.
  • GPU subgraph ACPU operation: Intermediate tensor; synchronize.
  • CPU operationGPU subgraph B: Intermediate tensor handoff.
  • GPU subgraph BCPU postprocessing: Output tensor; synchronize.

Prompt processing and iterative generation can stress different resources. Processing many prompt positions together often offers more arithmetic reuse; small-batch decoding can depend heavily on repeatedly moving weights and retained state. These are workload tendencies, not universal diagnoses. The DGX Spark account similarly distinguishes enough memory to hold a model from enough bandwidth to run it responsively.

An operator is a numerical operation in the model graph. ONNX Runtime asks execution providers which operations they support, then assigns graph regions accordingly. A successfully loaded model therefore does not establish that every operation reaches the intended accelerator. Preprocessing and postprocessing also contribute to the application path.

Processor placement changes the work around the numerical operations.
Execution arrangementPotential benefitCost to inspect
CPU-onlyNo CPU–GPU crossings inside the graph.CPU computation time and competition with application work.
Partially delegatedSupported graph regions use the accelerator.Synchronization and tensor movement between processor regions.
Shared CPU–GPU memorySome explicit array-copy requirements disappear.Dependencies, bandwidth use, and simultaneous application demand remain.

Verify placement with execution traces, operator timings, and accelerator activity. Windows NPU tooling can identify processes submitting work; hardware presence alone cannot. A utilization percentage also cannot isolate useful computation from waiting or overhead. Detailed kernel diagnosis belongs in finding the limiting resource.

Compatible models, artifacts, and runtimes

Quantization represents numerical values using a smaller set of possibilities, often with fewer bits. It can reduce weight storage and memory traffic, but quality and execution cost depend on the model, format, and supported operations. Weight-only quantization does not automatically shrink KV state, activations, or workspace. Quantization covers numerical formats and calibration.

Select for the required task before selecting for size. FunctionGemma targets structured mobile function calls and is not intended as a direct dialogue model. Its reported task-specialization gain does not establish successful authorized actions. A fluent general-purpose model and a narrow action model solve different parts of an application contract.

A model artifact is a deployable representation of model data. Conversion changes that representation for a target runtime. A hardware delegate assigns supported operations to specialized execution. Architecture, artifact format, and runtime are separate choices: llama.cpp, for example, uses GGUF files and supports several processor backends and quantization formats.

A compatibility record joins independently checked properties. Successful import or loading closes only part of this record.
CheckRequired evidence
Task and output meaningRepresentative task results, including whether an output is dialogue, a summary, or a proposed action.
Exact artifactCheckpoint revision, architecture, numerical format, and supported runtime backend.
Input preparationMatching tokenizer, chat template, media preprocessing, and special-token handling.
Operation coverageAccepted operations and actual processor assignments; record partial acceleration explicitly.
Platform and footprintSupported OS/device configuration, preparation behavior, and measured peak application demand.
Distribution and useActual terms for the artifact revision, referenced policies, and relevant upstream terms.

Models sharing an architecture can require different message serialization. Incorrect role markers or duplicated special tokens can change behavior even when execution succeeds. Preserve the selected checkpoint's preprocessing contract; tokenizer and model compatibility explains this interface.

Packaging determines which lifecycle responsibilities belong to the application.
PackagingIntegration consequence
Native libraryInference can execute inside the application process; compiled dependencies and target compatibility remain part of distribution.
Browser-managed modelBrowser download, update, eligibility, and purge rules affect readiness.
Local serviceA process boundary and endpoint exposure must be configured, independently of model location.

Model-card license metadata helps locate terms; it is not the complete agreement. Download availability and a runtime's software license do not establish permission to distribute model weights. Review the exact intended use and artifact separately. Compatibility tables suit this decision because each row records a distinct requirement rather than a causal sequence.

Installation and changing readiness

Provisioning makes required assets available before use. A model bundle includes weights, tokenizer or other preprocessing assets, and configuration. Installing an inference library does not provision that bundle. Foundry Local's demonstration downloaded models in advance to remove the model-fetch dependency during execution.

A cold start begins without the relevant loaded execution state; it does not describe physical temperature. Warmup performs initialization or preliminary execution before measured work. Initialization, warmup, and steady inference are separate measurements. Keeping a model loaded can avoid repeated startup but retains memory; any energy advantage requires a full-session comparison.

Bundle identity outlasts readiness

Example

Selecting a bundle does not make its assets permanently available.

1 / 5 · Absent

Identity exists without files.

An application lifecycle example separates bundle identity, installed assets, and usable execution. Eviction removes availability. Actual download, initialization, and purge rules remain platform-specific.
Read the diagram as text
  • Selected bundle B. Weights, preprocessing assets, configuration.
  • Assets absent.
  • Download incomplete.
  • Assets installed.
  • Execution ready.
  • Assets evicted.
  • Selected bundle BAssets absent: Not provisioned.
  • Selected bundle BDownload incomplete: Acquisition started.
  • Selected bundle BAssets installed: Installation completed.
  • Assets installedExecution ready: Initialization succeeds.
  • Selected bundle BAssets evicted: Purge removes assets.
  1. Absent. Identity exists without files. Active: Selected bundle B, Assets absent. New: Selected bundle B, Assets absent.
  2. Acquiring. Partial download is unusable. Active: Selected bundle B, Download incomplete. New: Download incomplete.
  3. Installed. Execution remains unloaded. Active: Selected bundle B, Assets installed. New: Assets installed.
  4. Ready. Installed assets remain visible. Active: Selected bundle B, Assets installed, Execution ready. New: Execution ready.
  5. Evicted. Readiness must be restored. Active: Selected bundle B, Assets evicted. New: Assets evicted.

Readiness means the required assets and execution state are usable now. Firebase distinguishes unavailable, downloadable, downloading, and available models; warmup separately initializes execution. An inference request does not automatically download missing assets. Its configured execution mode determines whether local unavailability causes failure or permitted cloud fallback.

Initialization caches are implementation-specific. Apple's Stable Diffusion implementation distinguishes first-load preparation from subsequent cached loads, with behavior depending on asset form and compute selection. An earlier successful run cannot establish that a changed configuration will reuse the same preparation state.

For application-managed bundles, require complete downloads, compatibility checks, staged activation, interrupted-install cleanup, and recovery to a known working bundle. Reserve storage for temporary assets and any retained previous version. These are implementation requirements: authenticated files alone do not establish atomic installation or successful initialization.

Artifact verification starts with trusted update metadata and checks authorized signatures, versions, expiration, hashes, and lengths. TUF illustrates why a signature alone does not establish freshness. Authentication also does not prove model safety. Model artifacts and inference exposure separates these controls from protecting user inputs during execution.

Sustained energy and thermal limits

Power, measured in watts, is the rate of energy use; energy, measured in joules, accumulates over time. A thermal budget is sustainable heat dissipation under current conditions; thermal throttling reduces performance near thermal limits.

Duty cycle is the fraction of time actively computing. Continuous dictation and occasional summaries impose different active and idle patterns. Compare processor choice, residency, and work frequency over the whole session while holding quality and deadlines fixed. Lower instantaneous power can still consume more energy per useful task if completion takes longer.

Heat dissipation limits sustained work

Initial speed can exceed sustained throughput.

Thermal observations support diagnosis, not exclusive causal attribution.
Read the diagram as text
  • Sustained computation.
  • Heat balance.
  • Sustainable load.
  • Protective limits.
  • Possible slowdown.
  • Thermal observations.
  • Sustained computationHeat balance: Heat production.
  • Heat balanceSustainable load: Sufficient dissipation.
  • Heat balanceProtective limits: Heat accumulation.
  • Protective limitsPossible slowdown: Performance reduced.
  • Heat balanceThermal observations: Monitor.
ΔE=(E2E1)106,P=ΔEΔt,e=ΔEN\Delta E=(E_2-E_1)10^{-6},\qquad \overline P=\frac{\Delta E}{\Delta t},\qquad e=\frac{\Delta E}{N} For matching Perfetto rail counters, E1,E2E_1,E_2 are accumulated microwatt-seconds. ΔE\Delta E is interval joules, Δt>0\Delta t>0 is elapsed seconds, and N>0N>0 counts completed useful tasks. Thus P\overline P is average watts and ee is joules per task.

Assume one valid counter increases by 24,000,000 microwatt-seconds over 12 seconds while four useful tasks finish. That is 24 joules, two watts on average, and six joules per task. The result describes the measured rail and interval, not automatically the entire device or the application's isolated consumption.

Use matching rail identities and counter epochs, rejecting resets. Android's power observations are device-level and can include other applications. Missing rails are unavailable coverage, not zero consumption. Battery percentage, charge, and instantaneous current are not themselves energy. Record elapsed time, ambient conditions, charging, cooling, screen activity, and background work alongside useful completions.

Track latency, completions, and thermal state throughout identical sustained work. Correlated slowdown need not be exclusively thermal. Execution warmup does not establish thermal equilibrium.

Admission, cancellation, and application lifetime

Admission control decides whether new work may start within resource and policy limits. Backpressure slows producers when consumers cannot keep up. Graceful degradation reduces work while exposing a narrower result. Bound input size, concurrency, and pending work; a request count alone ignores differences in resource demand.

A queue does not automatically provide backpressure. Pipecat's inspected FrameQueue inherits unbounded capacity; its interruption reset is separate from limiting incoming work. For dictation, accumulating audio faster than it is processed increases delay and pending storage. For summaries, obsolete requests should not consume an unlimited queue behind the current request.

Admit work only within the current contract

Example

Platform eligibility precedes resource scheduling.

An application policy checks eligibility, memory, thermal headroom, and deadlines. Reduced modes need approval and validation. Deferral is bounded; otherwise the outcome is explicit unavailability.
Read the diagram as text
  • Platform and policy eligibility.
  • Resource and deadline check.
  • Admit full work.
  • Reduced-mode check.
  • Run validated reduced mode.
  • Bounded-deferral check.
  • Defer until deadline.
  • Report unavailable.
  • Platform and policy eligibilityReport unavailable: Execution prohibited.
  • Platform and policy eligibilityResource and deadline check: Execution permitted.
  • Resource and deadline checkAdmit full work: Full work fits.
  • Resource and deadline checkReduced-mode check: Full work exceeds limits.
  • Reduced-mode checkRun validated reduced mode: Validated mode fits.
  • Reduced-mode checkBounded-deferral check: No suitable reduced mode.
  • Bounded-deferral checkDefer until deadline: Queue space and time remain.
  • Bounded-deferral checkReport unavailable: Bounded wait unavailable.

A reduced-work mode must retain its declared usefulness. An approved smaller summarizer may meet the same fidelity target; simply discarding audio samples may destroy recognition evidence. If no validated reduced mode meets the contract, defer within a bounded deadline or report unavailability. General capacity scheduling belongs in LLM Inference.

Platform eligibility is independent of spare hardware capacity. ML Kit GenAI requires the top foreground application and applies request and battery-use quotas; a foreground service can still be blocked. These restrictions apply to those managed APIs, not every Android runtime.

Cancellation must reach the computation that consumes resources. gRPC generally cannot interrupt application handlers automatically; handlers must cooperate. Ending a stream therefore does not establish stopped inference. Verify queued-work removal and buffer release separately, and distinguish request-owned buffers from intentionally resident model allocations.

Android may reclaim an application process even while a thread is doing work. Persist task identity and committed progress separately from transient inference state, then recheck readiness when resuming. Harness Engineering covers durable execution; progress and interruption covers communicating what actually stopped, survived, or needs restarting.

Complete offline capabilities

Offline inference executes a model without a network dependency during execution. A complete offline task additionally needs dependency closure: every prerequisite required for its promised outcome must be available. Audit assets, authentication, local documents and indexes, preprocessing, tools, license checks, save locations, telemetry, and updates.

Offline capability changes with application state.
StateHonest capability contract
Unprovisioned first launchFeatures needing absent model assets remain unavailable until provisioning completes.
Provisioned disconnectionOnly tasks whose assets, inputs, and completion paths are local can finish.
Model evictionA previous successful run does not ensure another disconnected run.
Stale local dataExpose the applicable freshness limit; cached records may not represent current remote state.
Expired remote credentialsDo not treat queued retries as authorized remote completion.

Local completion precedes optional synchronization

Example

A saved summary and a confirmed remote copy are different outcomes.

The local task requires provisioned assets and a local document. Saving completes that task; optional synchronization needs connectivity and separate confirmation.
Read the diagram as text
  • Provisioned model assets.
  • Local document.
  • Local summarization.
  • Locally saved summary.
  • Pending synchronization.
  • Remote copy confirmed.
  • Provisioned model assetsLocal summarization: Required execution assets.
  • Local documentLocal summarization: Required source data.
  • Local summarizationLocally saved summary: Result saved locally.
  • Locally saved summaryPending synchronization: If synchronization requested.
  • Pending synchronizationRemote copy confirmed: Authorized transfer acknowledged.

Local computation can support complete, bounded actions. A demonstrated laptop agent interpreted dice requests and called a local random-number tool. That example establishes a narrow local execution path; it does not establish that arbitrary agents, remote tools, or their initial installation work disconnected.

Generated text, a locally saved result, queued synchronization, and confirmed remote completion are distinct outcomes. Reconnection can introduce conflicts. Keep pending work visible and preserve authorization at disclosure boundaries; offline operation creates no exception to permissions.

An unconfirmed remote mutation remains uncertain. A timed-out operation may already have changed the receiving system. Retain its operation identifier and reconcile before repeating it, using enforced idempotency where supported. Uncertain effects and safe retries explains why timeout and cancellation are not evidence of reversal.

Local-cloud routing and transfer outcomes

Routing chooses an execution location for a request or stage. Cloud fallback uses remote processing when the preferred local route cannot proceed. The decision must join task capability, current resources, connectivity, latency, transfer cost, and data permissions. Local failure alone supplies no authority to disclose information.

The same document-summary task can use different stage placements.
PlacementInformation crossing the boundaryWithout the remote stage
Fully localNo model-server transfer is needed for summarization.The provisioned local task can continue.
Local preparation, cloud generationPrepared text or another derived representation goes to the remote model.Preparation may remain available, but the cloud-generated summary does not.
Local-first with permitted escalationA payload crosses only when escalation conditions and transfer authorization hold.Return an acceptable local result or explicit unavailability.

Authorization and display eligibility differ

Example

A late reply cannot replace the current revision.

1 / 4 · Accepted

Only V1 was authorized.

R1 was authorized for V1. New revision V2 stays local. Cancellation is requested, not proven complete. R1's late reply is ignored for display; this reverses no remote effect.
Read the diagram as text
  • Cloud request R1: V1.
  • Local request R2: V2.
  • R1 accepted remotely.
  • R1 superseded; cancellation requested.
  • R2 result: current display.
  • R1 late reply: display rejected.
  • Cloud request R1: V1R1 accepted remotely: Remote acceptance.
  • Cloud request R1: V1R1 superseded; cancellation requested: Revision replaced.
  • Local request R2: V2R2 result: current display: Local completion.
  • Cloud request R1: V1R1 late reply: display rejected: Obsolete revision.
  1. Accepted. Only V1 was authorized. Active: Cloud request R1: V1, R1 accepted remotely. New: Cloud request R1: V1, R1 accepted remotely.
  2. Corrected. V2 has no cloud authorization. Active: Cloud request R1: V1, R1 accepted remotely, Local request R2: V2, R1 superseded; cancellation requested. New: Local request R2: V2, R1 superseded; cancellation requested.
  3. Completed locally. V2 meets the task contract. Active: Cloud request R1: V1, R1 accepted remotely, Local request R2: V2, R1 superseded; cancellation requested, R2 result: current display. New: R2 result: current display.
  4. Late reply. Current V2 output remains. Active: Cloud request R1: V1, R1 accepted remotely, Local request R2: V2, R1 superseded; cancellation requested, R2 result: current display, R1 late reply: display rejected. New: R1 late reply: display rejected.

Firebase's PREFER_ON_DEVICE permits fallback, whereas ONLY_ON_DEVICE fails when local execution cannot proceed. Unsupported request features can also cause permitted fallback; responses identify the execution source. These settings implement routing behavior, not user authorization. The application must independently enforce and communicate its transfer policy.

A handoff contract records payload identity, destination, authorization scope and lifetime, retained copies, application/model version, request identity, and expected result. Validate the result before downstream use. Authorization to process one document revision does not automatically authorize transferring its replacement.

Model-reported confidence is not automatically a reliable escalation signal. An acceptance threshold changes how much work remains local, but the error rate among accepted cases must be measured. Calibration and selective automation explains that evidence. General routing optimization belongs in AI Cost and Performance Engineering.

For a corrected summary request, two checks remain independent: whether an earlier transfer was authorized and whether its reply still belongs in the current view. Track request and revision identity. A superseded reply can be excluded from display while remote cancellation remains incomplete; suppressing display does not reverse remote effects.

Qualification under real operating conditions

A deployment is qualified for a stated configuration and operating envelope, not for a model name alone. Record artifact revision, preprocessing, numerical format, runtime/backend, processor placement, OS, workload lengths, concurrency, arrivals, repetitions, and measurement boundaries. Engine benchmarks must be followed by measurements inside the actual application.

Select prompts, formats, and other configurations using validation cases, then freeze them before final held-out evaluation. Repeatedly tuning against the final test set makes reported results optimistic. Controlled comparisons explain this separation. Device feasibility and task correctness need to pass together.

Use an acceptance matrix with pass, fail, and untested outcomes. These rows specify qualification evidence; they report no device results.
ConditionRequired observationDecision rule
Representative tasksFidelity or recognition errors, baseline comparison, and declared useful completions.Apply the frozen quality criterion, including important failure categories.
Fresh versus reused execution stateInitialization, first useful output, and completion latency.Do not hide startup behind a warm-only result.
Long session and competing workDeadline misses, thermal observations, and useful throughput over time.Require the intended session to remain within its operating contract.
Loading and memory pressurePeak application demand, allocation failures, and process survival.Qualify the least-capable supported configuration.
Disconnected and damaged readinessCompletion after missing assets, interrupted updates, eviction, or unusable credentials.Distinguish successful local work from explicit unavailability.
Transfer and cancellation boundariesActual execution source, outbound traffic, cancellation outcome, and late-reply handling.Forbidden escalation must not become an undisclosed cloud request.
Cost comparisonAllocated costs divided by comparable useful completions, including failed-attempt costs.Keep task mix, quality, and service requirements equivalent.

Report failures and deadline misses alongside latency distributions. A remote benchmark includes network and client behavior; an inadequate load generator can conceal serving capacity. Separate those effects before attributing a result to the model. A single successful request cannot qualify the workload's arrival pattern or sustained concurrency.

Keep process state and thermal state independent in the test matrix: a newly loaded model may run on an already hot device. Missing observations remain untested coverage. Telemetry resource limits explain why instrumentation cannot observe everything. Requalify affected claims after changes to models, numerical formats, backends, platform behavior, or application dependencies.

Open questions

  1. Portable admission estimates remain difficult because runtime allocations and competing application demand change independently. Better estimates would prevent avoidable failures without rejecting useful work. Progress would mean predicting peak demand within stated error bounds across loading, request lengths, concurrency, and unseen device conditions.

  2. The best residency and duty-cycle policy for intermittent assistance remains workload-dependent. Keeping execution state ready may reduce delay while changing retained resources and session energy. Progress would compare policies over identical arrival traces, including idle periods, with equal quality and deadline criteria and clearly bounded energy coverage.

  3. Reliable bundle replacement during disconnection remains an integration problem. Authenticity checks cannot ensure compatible initialization, and retained assets consume limited storage. Progress would demonstrate interrupted-download recovery, complete-bundle activation, and restoration of a working version without mixing preprocessing and weight revisions.

  4. Useful local-to-cloud minimization remains difficult because derived representations may retain sensitive source information. Smaller payloads alone do not establish reduced disclosure. Progress would pair task-utility measurements with explicit reconstruction or identification attacks under a stated recipient-access model.

Follow the curated reading path through the speakers and demonstrations behind this entry.

Explore more talks

The rest of the library, beyond the curated path. Cited talks support this entry; reviewed transcripts were processed in full. Metadata candidates have not been reviewed as sources or verified as topic members.

115 matching talks

TalkSpeakerEventYear
Adrien GrondinAI Engineer Europe 20262026
Soumith ChintalaAI Engineer Summit 20252025
Compilers in the Age of LLMs

Cited in this entry

Yusuf OlokobaAI Engineer Code 20252025
Ishan AnandAI Engineer World's Fair 20252025
Philip Kiely, Pankaj GuptaAI Engineer World's Fair 20242024
Phil NashAI Engineer Europe 20262026
Mark MoyouAI Engineer World's Fair 20242024
Dylan PatelAI Engineer World's Fair 20242024
Stephen Hood, Justine TunneyAI Engineer World's Fair 20242024
Mithun HunsurAI Engineer Summit 20232023
Sarah ChiengAI Engineer Europe 20262026
Ziv IlanAI Engineer Europe 20262026
Hamed Firooz, Maziar SanjabiAI Engineer World's Fair 20252025
Vibhu SapraAI Engineer World's Fair 20252025
Jerry LiuAI Engineer Summit 20232023
Roy DerksAI Engineer Summit 20252025
Abi AryanAI Engineer Summit 20232023
Simon WillisonAI Engineer World's Fair 20242024
Fouad MatinAI Engineer World's Fair 20252025
How to Build Trustworthy AI

Transcript reviewed

Allie HoweAI Engineer World's Fair 20252025
Lukas BiewaldAI Engineer World's Fair 20242024
Ibragim BadertdinovAI Engineer Europe 20262026
Sayash KapoorAI Engineer Summit 20252025
Walden, Carter, Tanay, Alex Atallah, NavAI Engineer World's Fair 20262026
Nader Khalil, Alex Cheema, Matthew Berman, Ahmad Osman, Joseph NelsonAI Engineer World's Fair 20262026
Lech KalinowskiAI Engineer World's Fair 20262026
Kyle KranenAI Engineer World's Fair 20252025
Rishabh BhargavaAI Engineer Europe 20262026
Building a Chess Coach

Transcript reviewed

Anant Dole, Asbjørn SteinskogAI Engineer Europe 20262026
Steve KorshakovAI Engineer World's Fair 20262026
Tun Shwe, Jeremy FrenayAI Engineer Europe 20262026
Ben BurtenshawAI Engineer Europe 20262026
Dmytro (Dima) DzhulgakovAI Engineer World's Fair 20242024
AI Engineer Summit 20252025
Gabriel Jorge MenezesAI Engineer World's Fair 20262026
Keegan McCallumAI Engineer World's Fair 20252025
Vinoth GovindarajanAI Engineer World's Fair 20262026
Alex AtallahAI Engineer World's Fair 20252025
Mike ChambersAI Engineer World's Fair 20252025
Audry HsuAI Engineer Europe 20262026
Sandipan BhaumikAI Engineer Europe 20262026
Cormac BrickAI Engineer Europe 20262026
Rachel Lee Nabors (RL Nabors)AI Engineer World's Fair 20262026
Sally Ann O'MalleyAI Engineer Europe 20262026
Shafik Quoraishee, Joanne SongAI Engineer World's Fair 20262026
Carter Abdallah, Vincent Weisser, Lucas Atkins, Chris AlexiukAI Engineer World's Fair 20262026
Angelos PerivolaropoulosAI Engineer Europe 20262026
Rajkumar SakthivelAI Engineer World's Fair 20262026
Cormac BrickAI Engineer Europe 20262026
Joseph NelsonAI Engineer Summit 20232023
Chintan Parikh, Weiyi WangAI Engineer Europe 20262026
Ievgen VakulenkoAI Engineer World's Fair 20242024
Ezra Tanzer, Dan ArpinoAI Engineer World's Fair 20262026
Leonie MonigattiAI Engineer Europe 20262026
Armanas PovilionisAI Engineer World's Fair 20262026
Charles FryeAI Engineer Summit 20232023
Philipp SchmidAI Engineer World's Fair 20252025
AI Platform Engineering

Metadata candidate

Patrick DeboisAI Engineer World's Fair 20242024
Nagkumar Arkalgud, Keiji KanazawaAI Engineer World's Fair 20252025
Niklas NielsenAI Engineer Summit 20232023
Paul Klein IVAI Engineer World's Fair 20262026
Paige Bailey, Guillaume Vernade, Ian BallantyneAI Engineer Europe 20262026
Jeff NgAI Engineer World's Fair 20262026
Du’An Lightfoot, Banjo ObayomiAI Engineer World's Fair 20252025
Mahesh MuragAI Engineer Summit 20252025
Thor Schaeff, Philipp SchmidAI Engineer Europe 20262026
Eric ZakariassonAI Engineer Europe 20262026
Abed MatiniAI Engineer World's Fair 20262026
Jedrick Kosinski, ComfyAnonymousAI Engineer World's Fair 20252025
Compression at the Edge

Metadata candidate

Chris Alexiuk, Daniel Han, Asma Beevi, Merve Noyan, Parth SareenAI Engineer World's Fair 20262026
Liam HamptonAI Engineer Europe 20262026
Hanchi WangAI Engineer World's Fair 20242024
Defying Gravity

Metadata candidate

Kevin HouAI Engineer Code 20252025
Ben HylakAI Engineer World's Fair 20262026
Chintan Agrawal, Daniel WirjoAI Engineer World's Fair 20262026
Maxime LabonneAI Engineer Europe 20262026
Gaurav MishraAI Engineer World's Fair 20262026
Antje Barth, Mike ChambersAI Engineer World's Fair 20242024
KitzeAI Engineer World's Fair 20252025
Alex CheemaAI Engineer Europe 20262026
Frontier Feud

Metadata candidate

Barr Yaron, Mihir, John, Tina, Shresta, Paige, Colin, Petra, StevenAI Engineer Summit 20252025
Cassidy HardinAI Engineer Europe 20262026
Dave Burnison, Alex Malebranche, Dimitrios Philliou, Christina Warren, HaraldAI Engineer World's Fair 20242024
John PhamAI Engineer World's Fair 20252025
Kyle Jaejun LeeAI Engineer World's Fair 20262026
Ritvik PandyaAI Engineer World's Fair 20262026
Juan PeredoAI Engineer Summit 20252025
2025 in LLMs so far

Metadata candidate

Simon WillisonAI Engineer World's Fair 20252025
Kelvin MaAI Engineer World's Fair 20252025
Ronan McGovernAI Engineer World's Fair 20252025
Stefania DrugaAI Engineer World's Fair 20262026
Vikhyat KorrapatiAI Engineer World's Fair 20242024
Neil ZeghidourAI Engineer Europe 20262026
Simon WillisonAI Engineer Summit 20232023
Juan Herreros ElorzaAI Engineer Europe 20262026
Hursh AgrawalAI Engineer World's Fair 20262026
Jon PeckAI Engineer World's Fair 20252025
Pamela Fox, Harald Kirschner, Gabriela de QueirozAI Engineer World's Fair 20242024
Merve NoyanAI Engineer Europe 20262026
Arjun Desai, Rohit TalluriAI Engineer World's Fair 20252025
Gus Martins, Ian BallantyneAI Engineer Europe 20262026
Thiyagarajan MaruthavananAI Engineer World's Fair 20262026
Cedric ClyburnAI Engineer World's Fair 20262026
Ahmad OsmanAI Engineer World's Fair 20262026
The Log Is The Agent

Metadata candidate

Ishaan SehgalAI Engineer World's Fair 20262026
Arturo NunezAI Engineer World's Fair 20262026
Jonathan FernandesAI Engineer World's Fair 20252025
Thabang LedwabaAI Engineer World's Fair 20252025
Kathleen KenealyAI Engineer World's Fair 20242024
Nico AlbaneseAI Engineer Summit 20252025
Harald KirschnerAI Engineer World's Fair 20252025
Lucas PalmaAI Engineer World's Fair 20262026
Fryderyk Wiatrowski, Peter AlbertAI Engineer World's Fair 20242024
Why MLX

Metadata candidate

AI Engineer Europe 20262026
Subbiah Sethuraman, Abhilash AsokanAI Engineer World's Fair 20262026

References

Coverage and source review
Processed transcripts
46 processed in full · 5 in the curated path
Automated source review
Passed
Metadata candidates
74 unreviewed; not verified topic membership
Corpus version
1bd8e407b26a07b33815594e1b2db5f41827119a2b3cb6fbf240f9fc571fc767

Automated review checks source support; it is not publication approval.

A synthesis of selected conference talks and technical references. Citations link to the source material; they do not imply that every talk on this subject is included.

  1. Stable Diffusion with Core ML on Apple Silicon

    README FAQ Q5–Q6; concrete startup and shared-device memory example.

  2. NIST SP 500-325: Fog Computing Conceptual Model

    Sections 2.1–2.2 and 2.7; terminology supporting endpoint, nearby-server, and cloud placement diagrams.

  3. PyTorch Quickstart: forward computation, training, and loading

    Working with data; Creating Models; Optimizing the Model Parameters; Saving Models; Loading Models.

  4. GPU Cloud Deployment Without Leaving Your IDE — Audry Hsu, RunPod

    Flash separates local orchestration from a decorated Python function that is packaged for execution on cloud GPUs.

  5. Hacking the Inference Pareto Frontier

    Set required quality and latency from the application experience, then minimize cost within those constraints.

  6. Foundry Local: Cutting-Edge AI Experiences on Device with ONNX Runtime and Olive — Emma Ning, Microsoft

    A customer example pairs local speech-to-text with local generative inference for scenarios that restrict external processing.

  7. Transformers installation: offline mode

    Set up: cache directory and offline mode.

  8. Engineering voice agents: Latency, quality, and scale

    Measure network time separately from engine time and consider colocating the orchestrator and models.

  9. Gemini Nano on device — Florina Muntenescu & Oli Gaymond, Google DeepMind

    Local inference processes prompts without sending them to a server; the described AICore service also isolates requests and does not retain their inputs and outputs.

  10. FinOps: comparable workload denominators and cost boundaries

    Definition; resource versus business unit metrics; Maturity Assessment; Functional Activities for FinOps Practitioner, Product and Finance.

  11. FinOps terminology: ownership, depreciation and utilization

    Capitalization; Depreciation; Fixed Cost; Cost Allocation; Total Cost of Ownership; Activity Based Costing; Shared cost.

  12. Ollama: FAQ

    Official FAQ, disabling cloud features and network exposure.

  13. Text Embeddings Reveal (Almost) As Much As Text

    Sections 2–3 and reported reconstruction experiments; contextual warning for local preprocessing followed by remote processing.

  14. Linux Yama: process-memory inspection and privileged tracing

    Official Linux kernel Yama documentation, ptrace_scope threat discussion and modes 0–3. Local-assistant application is a stated implication, not a gVisor-specific tracing recipe.

  15. Hugging Face model cards: locating license terms

    Model card metadata: Specifying a license.

  16. NIST CSRC glossary: air gap

    Air gap definition attributed to CNSSI 4009-2022 and IETF RFC 4949 version 2.

  17. Customized, production ready inference with open source models: Dmytro (Dima) Dzhulgakov

    A smaller domain-adapted model is a candidate when broad model capabilities are unnecessary and response latency matters, especially across repeated agent calls.

  18. Transformers: model-specific chat serialization

    Chat templates introduction; Using apply_chat_template; special-token warning; add_generation_prompt subsection.

  19. From model weights to API endpoint with TensorRT-LLM

    Vary workload dimensions, warm up the deployment, repeat runs, and inspect distributions rather than trusting one successful request.

  20. ML Kit GenAI Speech Recognition API

    Key capabilities and integration lifecycle for the documented speech-recognition API.

  21. Scikit-learn: scoring rules and baseline estimators

    Section 3.4.3 scoring parameter; 3.4.4.2 Accuracy score; 3.4.4.4 Balanced accuracy; 3.4.8 Dummy estimators.

  22. MobileAIBench: Benchmarking LLMs and LMMs for On-Device Use Cases

    Sections 3.1–3.4 and 4; published evaluation design rather than a current hardware ranking.

  23. Transformers GenerationConfig: output reservation and termination

    GenerationConfig: Parameters that control the length of the output; Special tokens that can be used at generation time.

  24. GenAI-Perf: latency and throughput measurement

    Metrics table; Input Data; Profiling Options; warmup, concurrency, request-rate, and measurement-interval options.

  25. Engineering voice agents: Latency, quality, and scale

    Streaming-native encoders can replace repeated batch-model chunking with bounded look-ahead and cached activations, but turn detection remains a separate challenge.

  26. Your Agent Didn’t Fail. Your Harness Did.

    Bound external waits, record terminal outcomes, and keep recovery commands outside the blocked work queue.

  27. Android Power Profiler: observations and attribution limits

    Introduction; Profileable power rails, tables 1–2; Example scenarios; Important notes.

  28. Why Large? Tiny LMs & Agents on Edge/Robotics

    Budget for weights, runtime, KV cache, the operating system, and competing workloads; compressed weight size is only one component.

  29. vLLM GPU worker: profiling available KV capacity

    Official main-branch source, determine_available_memory and subsequent graph-memory accounting inspected.

  30. Mastering LLM Inference Optimization: From Theory to Cost-Effective Deployment

    Retaining key and value representations avoids repeating earlier prompt work during decoding, at the cost of GPU memory.

  31. Transformers: cache allocation versus retained history

    Default cache; Fixed-size cache; Cache offloading; Quantized cache.

  32. FunctionGemma model card

    Evaluation: Mobile Actions specialization and on-device performance tables; intended usage.

  33. Transformers LlamaConfig: supported sequence positions

    LlamaConfig parameter descriptions: max_position_embeddings, rope_parameters; budgeting synthesis with chat-template and GenerationConfig documentation.

  34. MLX: Unified memory

    Official MLX unified-memory guide, checked documentation version 0.32.2.

  35. CUDA Programming Guide: Programming Model

    Sections 1.2.1–1.2.2.2; foundational CUDA terminology and logical versus physical concurrency.

  36. Android: Processes and app lifecycle

    Process-lifetime explanation, broadcast-receiver example, and foreground-process memory-pressure behavior.

  37. ONNX Runtime Architecture

    Official runtime architecture, high-level execution flow and execution-provider interface.

  38. Develop AI applications for Copilot+ PCs

    How to access the NPU; measuring local AI performance using Windows tracing tools.

  39. Roofline Performance Model — NERSC

    Official NERSC performance methodology: Roofline, arithmetic intensity, empirical machine limits, and hierarchical memory levels.

  40. Your Coding Agent Should Do AI System Engineering

    Diagnose kernel performance across compute, memory movement, and overhead; the speaker identifies memory movement as a frequent bottleneck.

  41. Compute & System Design for Next Generation Frontier Models

    Prompt processing and token generation stress different resources: prefill is compute-intensive, while iterative decode is memory-bandwidth-intensive.

  42. Running LLMs locally: Practical LLM Performance on DGX Spark — Mozhgan Kabiri chimeh, NVIDIA

    Memory capacity determines whether a model fits, but data-movement efficiency remains a separate constraint on throughput.

  43. GPU delegates for LiteRT

    GPU ML operations support, troubleshooting, and image-channel optimization for the documented GPU delegate.

  44. Infra behind Krea 2 - How to train and serve at scale

    Krea used tensor core utilization as a proxy for useful compute activity because GPU utilization alone only indicated time spent working.

  45. Quantize ONNX models — ONNX Runtime

    Official quantization guide: scale/zero point, static versus dynamic parameters, QAT, and accuracy debugging.

  46. Mastering LLM Inference Optimization: From Theory to Cost-Effective Deployment

    Reducing representation size can free GPU memory for more token state, but accuracy must remain an explicit constraint.

  47. MCP tools: application security responsibilities

    User Interaction Model; Tool data type; Output Schema; Error Handling; Security Considerations.

  48. llama.cpp: LLM inference in C/C++

    Official project README, supported backends, quantization, and CPU/GPU hybrid execution.

  49. Compilers in the Age of LLMs

    The example translates an EmbeddingGemma inference function into native code and packages it as a loadable library.

  50. Understand built-in model management in Chrome

    Initial download, supplementary assets, automatic updates, and model deletion for Chrome's managed built-in models.

  51. Foundry Local: Cutting-Edge AI Experiences on Device with ONNX Runtime and Olive — Emma Ning, Microsoft

    Download the required model before losing connectivity; local execution does not imply offline first-time setup.

  52. LiteRT: Benchmark Interpreter API

    Benchmark metrics and Android benchmark-app guidance.

  53. Keynote: The AI developer experience doesn't have to suck – why and how we built Modal

    A deployed function handle can persist while its backing containers shut down after idling.

  54. Firebase AI Logic: hybrid inference on Android

    Setup steps 4–6, model availability, warmup, inference modes, and unsupported capabilities.

  55. The Update Framework: authenticated update workflow

    Sections 5.1–5.7: trusted root, timestamp, snapshot, targets, and target download verification.

  56. Perfetto PowerRails: accumulated energy and interval calculations

    PowerRails; PowerRails.RailDescriptor; PowerRails.EnergyData field definitions.

  57. Android Thermal API: sustained performance limits

    Thermal API introduction; thermal-state monitoring and workload adjustment guidance.

  58. Google SRE: Handling Overload

    Handling Overload introduction; The Pitfalls of Queries per Second; Per-Customer Limits; Client-Side Throttling.

  59. Pipecat FrameQueue capacity and interruption reset

    FrameQueue.__init__, _put, _get and reset; capacity follows the Python asyncio.Queue contract.

  60. Overview of the ML Kit GenAI APIs

    Local execution, shared models, version identification, per-application quotas, and background restrictions.

  61. gRPC: Cancellation

    Cancellation overview and server-handler cooperation; applicable when a local-cloud handoff uses gRPC.

  62. Ship it! Building Production-Ready Agents

    The demonstration runs a framework-free Python agent locally using Ollama and Llama 3.1 8B to interpret tabletop-game requests and invoke a dice-rolling tool.

  63. Android: Build an offline-first app

    Network error handling, write strategies, synchronization, and stale-cache limitations.

  64. Temporal Activity Execution

    What is an Activity Execution?; task-loss, Start-To-Close timeout and retry discussion; Cancellation.

  65. The State of Model Routing — NVIDIA, Cognition, OpenRouter

    Hybrid routing can account for sensitive data and spare local capacity, but local inference economics also depend on context length and throughput.

  66. Your Agent Didn’t Fail. Your Harness Did.

    Approval must remain bound to one specific action and its scope, identity, arguments, and lifetime; expiration should terminate the approval path.

  67. Compilers in the Age of LLMs

    Hybrid inference is presented as a future architecture in which small models near users cooperate with larger cloud models.

  68. Gemini Nano on device — Florina Muntenescu & Oli Gaymond, Google DeepMind

    The described hybrid approach routes inference locally when Gemini Nano is available and otherwise uses cloud inference.

  69. Selective Classification for Deep Neural Networks

    Sections 2–3: problem setting, equations 1–3, empirical risk and coverage, SGR algorithm; Section 5 experiments.

  70. Scikit-learn: separating fitting, selection, and final evaluation

    Section 3.1 introduction; Computing cross-validated metrics; Data transformation with held-out data.

  71. A Practical Guide to Efficient AI

    Evaluate task quality and trust and safety alongside device latency, hardware usage, and battery drain; Mobile AI Bench is presented as tooling for this work.

  72. From model weights to API endpoint with TensorRT-LLM

    Endpoint measurements include network effects, and the load generator itself can become a bottleneck.

  73. Mastering LLM Inference Optimization: From Theory to Cost-Effective Deployment

    The illustrated inference loop has a prefill stage for the prompt followed by incremental decoding, with different computation shapes.

  74. Running LLMs locally: Practical LLM Performance on DGX Spark — Mozhgan Kabiri chimeh, NVIDIA

    In the speaker's DGX Spark experiments, the 14B NVFP4 variant delivered higher completion throughput and faster response onset than the 14B base variant.

  75. Foundry Local: Cutting-Edge AI Experiences on Device with ONNX Runtime and Olive — Emma Ning, Microsoft

    The presented stack combines runtime acceleration with hardware-specific model variants and device-aware model discovery.

  76. A Practical Guide to Efficient AI

    Weight quantization reduces the precision used to represent model weights, shrinking their storage and memory requirements.