DynamicVLA icon indicating copy to clipboard operation
DynamicVLA copied to clipboard

Streaming (`-s`) inference: arm jitter and low observed success on Isaac Sim 5.1 after the Franka fix

Open Frankggb opened this issue 1 month ago • 4 comments

Hi, thank you for releasing DynamicVLA. I am trying to reproduce the DOM evaluation using the released dynamic-vla-DOM checkpoint on a Linux server with two GPUs.

With -s enabled, I observe frequent arm jitter, difficulty tracking the moving object, and very few successful episodes in my runs. Without -s, some episodes succeed. I have not completed a full benchmark or established a statistically reliable difference between the two modes.

I have read #24 and #29, and applied the Franka configuration fix from PR #30. I would appreciate guidance on what to check next for this setup.

Environment

Component Version / configuration
OS Ubuntu 22.04.5
GPUs 2 × NVIDIA RTX PRO 6000 Blackwell Server Edition, approximately 96 GB each
NVIDIA driver 580.105.08
DynamicVLA master at 434dc7105cf6d559018d15af5fecbcdad44f036e, with the PR #30 Franka fix applied locally
Isaac Sim / Isaac Lab 5.1.0 / 2.3.2
Simulation environment Python 3.11; PyTorch 2.7.0+cu128
Inference environment Python 3.10; PyTorch 2.7.1+cu128; Transformers 5.2.0; LeRobot 0.3.3
Checkpoint Released dynamic-vla-DOM; weights and config SHA-256 verified against the official files
GPU allocation Simulation on physical GPU 0; inference on physical GPU 1

The original checkout also contains an INFO log for streaming chunk indices. It has no local queue, smoothing, or timing changes.

Commands

From the original DynamicVLA directory, in the simulation environment:

python simulations/evaluate.py \
  --scene_dir ../scenes \
  --object_dir ../objects \
  --output_dir ../output/evaluation \
  --env_cfg ../test-envs.txt \
  --device cuda:0 \
  --enable_cameras \
  --headless \
  -n 1 \
  --save

In a separate terminal, in the inference environment:

CUDA_VISIBLE_DEVICES=1 python scripts/inference.py \
  -p /root/autodl-tmp/DynamicVLA/checkpoints/dynamic-vla-DOM \
  -r euler \
  -d \
  -s

For the non-streaming runs, I remove only -s. I use the default control timestep, chunk length, and model-side dt_scale sleep.

Observations and separate diagnostic measurements

An example of a successful non-streaming episode is:

1-2_place_franka_egg13d_O02_01049028_9e3d-1013-152045-SUCCESS.mp4

The video shows the arm picking up the object and placing it in the blue container. This confirms that the current setup can succeed; it is not evidence of streaming success.

In a separate instrumented copy of the repository, small tests across five selected scenes produced 0/12 successes with -s and 0/12 without it. These are diagnostic samples, not full-benchmark success rates, and they did not reproduce the occasional successes from my original runs.

The diagnostic copy added per-step logs and traces, action-source index metadata, and an initial torch/numpy seed of 42 in the inference main process. The streaming subprocess was not separately seeded, so the two modes were not matched by initial inference noise. Instrumentation may also affect timing. The baseline retained the original queue replacement and sleep behavior.

Measurements from the streaming diagnostic baseline:

  • Median model inference time: approximately 156 ms; p95: 166 ms. The control timestep is 40 ms and the action chunk contains 20 steps.
  • Median number of trimmed actions when a new chunk arrives: 5.
  • Across 3,529 valid client calls, the recorded observation indices were consecutive and the popped action indices matched the current client observation indices. This checks client queue alignment; it does not establish zero observation-to-application delay at the server.
  • In one avocado trial, the p95 change in commanded end-effector position at chunk transitions was approximately 22.8 cm, compared with 3.4 cm within a chunk. Another trial had a maximum transition of approximately 55.2 cm. These are changes in the commanded target, not physical movement within one timestep.

These observations suggest that target changes at chunk transitions deserve investigation, but I have not established that they cause the overall success-rate gap or that Isaac Sim 5.1 is the sole cause.

Questions

  1. After applying PR #30, is there a validated reference rollout or recommended test scene for the released checkpoint on Isaac Sim 5.1 / Isaac Lab 2.3.2, preferably with -s enabled?
  2. Given the measured inference time, trimming, and client index alignment, which additional logs would best distinguish expected replanning from a timing, action-conversion, or robot-tracking problem? Would raw model actions, server-applied targets, and actual end-effector poses be the most useful next comparison?
  3. For repeated streaming/non-streaming comparisons, which random seeds and runtime settings should be controlled, including the streaming subprocess, to make the results comparable?

I can provide failure videos, the successful non-streaming video, and per-step traces for selected scenes. Thank you for your help. (first: not -s) https://github.com/user-attachments/assets/5d7fc0a6-4a85-40d3-ba9a-0d8a831bb15e (second: have -s) https://github.com/user-attachments/assets/9df53373-14e1-4f61-b205-1de4c00a6e94

Frankggb avatar Oct 13 '26 07:10 Frankggb

Median model inference time: approximately 156 ms

Seems too slow. If I remember correctly (since happened more than 1 year ago), the inference time should be around ~20ms.

BTW, the jitter might be caused by OOD (but I am not sure), since the VLA model didn't see such scenario before.

hzxie avatar Oct 13 '26 21:10 hzxie

  1. Median model inference time: approximately 156 ms

    Seems too slow. If I remember correctly (since happened more than 1 year ago), the inference time should be around ~20ms. BTW, the jitter might be caused by OOD (but I am not sure), since the VLA model didn't see such scenario before.

Thank you for your reply!

I have a few follow-up questions:

1. Inference latency: My inference time is around 156 ms on an RTX PRO 6000 Blackwell, even with simulation and inference on separate GPUs. You mentioned approximately 20 ms in your experiments. Were there any specific settings (e.g., FP16/BF16, TF32, torch.compile, PyTorch/CUDA versions, or sampling steps) used to achieve this? Does the 20 ms refer to the complete action-chunk inference?

2. Headless rendering: I'm running Isaac Sim 5.1 on a headless server. I initially encountered Vulkan/display-related warnings and adjusted some EGL/Vulkan settings. Could this affect simulation performance or camera observations, or is headless execution sufficient?

3. Evaluation environment: Since the original experiments used Isaac Sim 4.5 / Isaac Lab 2.2.1, would you recommend switching to the original setup instead of the current master branch (5.1 / 2.3.2)? If so, which commit or branch should I use?

4. Single-GPU reproduction: Is it possible to reproduce at least part of the reported performance using a single RTX 4090 (24 GB) for both simulation and inference? Are there any recommended settings, especially for continuous inference (-s)?

Thank you for your help!

Frankggb avatar Oct 14 '26 10:10 Frankggb

I encountered the same problem as you, and I conducted comparative experiments with both naked models and LASS, as well as direct static OBJ grasping tests. The results differ significantly from those reported in the paper.

blackyang-1 avatar Oct 22 '26 09:10 blackyang-1

Hi @Frankggb, thanks for your detailed questions!

1. Inference latency: We used the default settings, with BF16 for the VLM and FP32 for the action expert. We did not use torch.compile or any additional inference optimizations. Apologies for the confusion — the inference latency should be approximately 200 ms, not 20 ms. The previously mentioned value was a mistake.

2. Headless rendering: We also ran our experiments in headless mode, so headless execution itself should not be an issue.

3. Evaluation environment: We recommend using Isaac Sim 4.5 / Isaac Lab 2.2.1, as all our experiments were conducted with this setup. We have also received feedback from another researcher who successfully reproduced our results using this environment. Please use commit a27a06d2ca74d0e987a5e552e01013073e93cfd8 for reproduction.

4. Single-GPU reproduction: Unfortunately, we do not recommend running simulation and inference on a single GPU. Two GPUs are required for our evaluation setup, as sharing one GPU significantly slows down inference, leading to outdated actions being executed in the simulation.

Hope this clarifies your questions!

hzxie avatar Oct 23 '26 02:10 hzxie