# Native serving: startup, reuse and retained attempts

One later Modal native Class deployment completed seven closed-loop calls to Qwen2.5-0.5B-Instruct, FP16/eager, with the fixed prompt “The capital of France is” and 24 greedy output tokens per call. Earlier operational failures and CPU-only preparation remain below. This small workload checks output consistency and observed startup/reuse. It cannot establish representative serving throughput or a Nodus advantage.

The first Modal Function/Cls attempt reached its original deployment deadline and retained a `TimeoutError`. Deployment did not return, and no verified scientific-image receipt, seven-call session, model output or inference timing was retained. Requested model, region and runtime settings in the projection are source configuration, not measured hardware qualification.

The exact owned App was observed stopped with an empty task list. Its local deploy process and reader were joined, and its process group was absent. The independent guard retained 92 stopped-App/empty-task observations through the original deadline. However, the image request journal was empty and the builder closure gate rejected it. The guard therefore did not claim complete closure. Physical GPU allocation, builder closure and invoice cost remain unknown. App closure is narrower than closure of every possible resource.

The retained SDK log warns that three deployment RPCs were made outside the client's task context. The exact pinned Modal 1.6.1 source emits that warning when the caller and client's event loops differ. A later CPU-only control reproduced this composition difference and verified a same-loop correction. This is evidence of a client integration defect, not a complete causal explanation of the remote timeout, and it is not a successful retry.

For the first attempt, the JSON is a sanitized projection of four authenticated Actions archives containing 13 members in total. Original archive/member sizes and SHA-256 digests are preserved. Original archives and logs remain private; App names/IDs, local paths/process IDs and command environment metadata are omitted from that projection. Sanitized data is not described as byte-identical original evidence.

Existing Modal/Lambda stock-training measurements remain a separate workload and are unchanged. This attempt supplies no native inference result, provider ranking, cost score or Nodus treatment result.

A later bounded authenticated read reconfirmed the same stopped App. Its subsequent object-inventory RPC returned `UnimplementedError`, before any inventory or image-chain response. That read made no resource mutation and leaves builder closure unknown; it is not evidence that the inventory was empty.

## Second attempt: CPU receipt failed before inference

A later attempt returned deployment and retained all three owned image-builder task identities. The CPU scientific-image probe then failed while uploading its result. A subsequent read of the exact original stopped App and CPU call found a remote failure created before cancellation; its traceback follows output packaging, blob upload and DNS resolution. This is an output-transport failure before any of the seven inference calls, not a numerical or provider-performance result. No scientific-image payload was recovered.

The separate deployment receipt records successful deployment return. A broader child-completion field is false because that composite child also awaited the failed probe; these observations are not contradictory. Exact App closure, local process/reader/group closure, three terminal builder tasks and 90 independent stopped-App/empty-task observations through the original deadline were retained. This closes the second attempt's observed resources, while the first attempt's builder uncertainty remains unchanged. No physical GPU interval or invoice is inferred from those control-plane observations.

The JSON appends this second attempt and its later read-only metadata, preserving the original first-attempt observation. Source/archive/member hashes bind the retained private evidence. App, image, task and call IDs are omitted from the public projection; numerical, timing, failure and closure fields are preserved. Neither attempt supplies a measured inference latency, provider rank or Nodus treatment result.
## Third closed operational attempt

The separate 436946 attempt ended with an `InvalidError` in the deployment/probe
child before any scientific CPU proof or inference output was retained. Its
original validation message was discarded by that version of the child, so this
record does not assign a more specific cause retrospectively.

The exact App was observed stopped with no tasks. The independent guard completed
its original deadline with 87 stopped, empty-task observations; all returned image
chains were already finished before this attempt. Local process-group and reader
closure is recorded separately from physical device state. No final invoice or
physical GPU allocation interval is known. Zero inference measurements is an
operational outcome, not a provider performance loss or Nodus comparison.

The JSON adds a sanitized field projection and binds every retained original
receipt by size and SHA256. App/task/image identifiers and private process paths
are omitted; the projection is not described as byte-identical original output.
Both earlier attempts remain unchanged.

## Registration refusal and CPU preparation

A deploy/probe-only diagnostic retained the actual validation error: its serialized
registered callable was 66,055 bytes, exceeding the provider's 65,536-byte limit.
It invoked no model and produced no inference result. A subsequent source change
reduced captured registration metadata while keeping the complete scientific image
receipt. A later deploy/probe-only attempt verified all 59 input files: 24 model
files totaling 5,098,162,232 bytes and 35 wheels totaling 40,798,437 bytes. This
successful CPU proof was image preparation, not an inference result. Both attempts
retained stopped-App, completed original guard and preexisting builder closure.

## Seven calls on one A10 worker

The completed serving observation used one NVIDIA A10, Torch 2.7.1+cu128,
Transformers 4.53.0, Python 3.11.13 and the same fixed model revision. The observed
provider region was us-east on OCI. All seven calls returned the same 24 token
IDs; this is within-arm consistency, not a semantic-quality oracle or equality
with an unmeasured Nodus endpoint. The image contains the same A/B/C scientific
payload intended for that later pairing, but only role A was loaded and invoked.
The build was cached; there was no fresh model image build in this observation.

| Call | Offer to terminal result (s) | Offer to verified result (s) | Synchronized generation (s) |
|---|---:|---:|---:|
| 1 | 16.045870358 | 16.123119634 | 0.943708353 |
| 2 | 1.127788272 | 1.208951826 | 1.005311966 |
| 3 | 1.178169841 | 1.254985606 | 1.066964940 |
| 4 | 1.065513055 | 1.145389015 | 0.942713369 |
| 5 | 1.051025554 | 1.121936972 | 0.929210059 |
| 6 | 1.095653598 | 1.171887622 | 0.979046189 |
| 7 | 1.079731322 | 1.158884612 | 0.972351298 |

Terminal-result time ends when the compressed native RPC result arrives.
Verified-result time additionally includes transport decoding, scientific checks
and task metadata observation. Synchronized generation is the model's own elapsed
clock. These are different boundaries; none is a matched product polling timer or
a GPU-allocation-hour rate. A separate initialization warmup took 1.580302173
seconds and returned the same token IDs; it is not one of the seven offered calls.

Both fixed 60-second waits after calls 3 and 5 were preserved. Every offered call
used the same task. All observed provider snapshot enums were
`TASK_SNAPSHOT_BEHAVIOR_UNSPECIFIED`; no idle observation proved scale-zero or
snapshot restoration. The later approximately one-second calls therefore show
same-worker reuse, not a measured snapshot recovery speedup. No provider ranking,
Nodus advantage, cost score, physical GPU interval or final invoice is claimed.

The original cleanup guard reached its deadline with 94 stopped-App/empty-task
observations. Local process/reader/group closure and already-finished builder
chains were recorded separately from unobserved physical device state.

Download [the observations](native-serving-attempts.json) and
[the public checker](native-serving-recompute.py) together, then run
`python3 native-serving-recompute.py`. It recomputes token consistency, original
offer/terminal/verified clocks, the two idle waits and explicit unknown lifecycle
fields. It validates the public field projection, not omitted private archive
bytes. Provider IDs use stable opaque aliases, wire compression is replaced by
decoded result fields, and original receipt hashes remain available for custody.
