hche-nvidia commited on
Commit
a15b6bc
·
verified ·
1 Parent(s): 20c4bc4

Release multitask SF-DMD EMA and document default raw-HDMap quickstart

Browse files
README.md CHANGED
@@ -49,6 +49,32 @@ The framework also supports cross-sensor generation with intensity, and its
49
  tokenizer generalizes to an unseen scanning pattern.
50
 
51
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  # LidarVerse Overview
53
 
54
  > **Current checkpoint scope:** the quickstarts use the range-only NVIDIA PAI
 
49
  tokenizer generalizes to an unseen scanning pattern.
50
 
51
 
52
+ ## Stage 3 Quickstart
53
+
54
+ `lidarverse-sfdmd-pai/` contains the EMA-only SF-DMD student. Use the current
55
+ [LidarVerse code](https://github.com/nv-tlabs/LidarVerse) and run from its repository root:
56
+
57
+ ```bash
58
+ python scripts/download_checkpoints.py
59
+ CUDA_VISIBLE_DEVICES=0 STAGE=3 MODE=all NUM_SAMPLES=1 \
60
+ NUM_STEPS=4 SAMPLER=sde SDE_ETA=1 GUIDANCE=1 SEED=0 \
61
+ bash scripts/diffusion/getting_started.sh
62
+ ```
63
+
64
+ The single-sample quickstart uses the second official NVIDIA PAI clip.
65
+ Sampling uses four-frame blocks, KV9 including the sink, FP32 tokenizer
66
+ encoding/decoding, and a persistent spatial cache with 0.10 m voxels.
67
+ HDMap generation rasterizes raw lanes and actor edges with calibrated rays
68
+ and rolling-shutter poses, then widens only bbox returns to 3x3 pixels before
69
+ encoding. Set `RAW_HDMAP_CONDITION_RASTERIZE=0` for the original cached
70
+ condition; forecasting/resimulation do not use this HDMap override.
71
+ Set `PREPARE_DATA=0` to reuse prepared examples.
72
+
73
+ The package contains no regular-model, fake-score, optimizer, or training state.
74
+ Fine-tuning from it starts a new run, not an exact full-state continuation.
75
+ Its teacher came from the same causal-training lineage as the released Stage 2,
76
+ but not from the exact Stage-2 snapshot packaged here.
77
+
78
  # LidarVerse Overview
79
 
80
  > **Current checkpoint scope:** the quickstarts use the range-only NVIDIA PAI
lidarverse-sfdmd-pai/config.json ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "pai_factorized_sfdmd_p1x2",
3
+ "weights": "ema",
4
+ "stage": "stage3",
5
+ "model_channels": 2048,
6
+ "num_blocks": 28,
7
+ "num_heads": 16,
8
+ "input_channels": 193,
9
+ "output_channels": 64,
10
+ "patch_spatial": [
11
+ 1,
12
+ 2
13
+ ],
14
+ "num_dataset_embeddings": 3,
15
+ "sensor_dataset_id": 0,
16
+ "resolution": [
17
+ 128,
18
+ 1024
19
+ ],
20
+ "min_range_m": 2.5,
21
+ "max_range_m": 100,
22
+ "input_has_prepend": false,
23
+ "shift": 5,
24
+ "shift_clamp_percentiles": null,
25
+ "precision": "bfloat16",
26
+ "tokenizer": "transformer_lidar_video_tokenizer_8x8x1_z64_pandar_2p5to100_1024_ema",
27
+ "tokenizer_encoder_dtype": "float32",
28
+ "tokenizer_decoder_dtype": "float32",
29
+ "timestep_scale": 0.001,
30
+ "rope_scale_positions_by_patch": true,
31
+ "rope_h_extrapolation_ratio": 3.0,
32
+ "rope_w_extrapolation_ratio": 3.0,
33
+ "rope_t_extrapolation_ratio": 1.0,
34
+ "rope_enable_fps_modulation": false,
35
+ "tensors": 578,
36
+ "tensor_elements": 1957202591,
37
+ "sha256": "8363b299539f78eec5f564b04d840df17b10de9e6079583d750548001e42edb8",
38
+ "temporal_block_size": 4,
39
+ "temporal_prefix_frames": 1,
40
+ "training_real_frames": 21,
41
+ "window_frames": 13,
42
+ "kv_cache_frames": 9,
43
+ "kv_sink_frames": 1,
44
+ "kv_budget_includes_sink": true,
45
+ "clean_x0_kv_commit": true,
46
+ "stream_condition_vae_encode": true,
47
+ "condition_vae_cache_frames": 9,
48
+ "sampler": "sde",
49
+ "num_steps": 4,
50
+ "sde_eta": 1.0,
51
+ "guidance": 1.0,
52
+ "sigmas": [
53
+ 1.0,
54
+ 0.9375,
55
+ 0.8333333333333334,
56
+ 0.625,
57
+ 0.0
58
+ ],
59
+ "spatial_cache": {
60
+ "voxel_policy": "persistent_static",
61
+ "voxel_m": 0.1,
62
+ "radius_m": 100.0,
63
+ "observation_unit": "frame",
64
+ "static_min_observations": 2,
65
+ "include_latest": false,
66
+ "candidate_ttl_updates": 1,
67
+ "free_space_clear": true,
68
+ "free_space_margin_m": 0.75,
69
+ "free_space_misses_to_remove": 2
70
+ }
71
+ }
lidarverse-sfdmd-pai/ema_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8363b299539f78eec5f564b04d840df17b10de9e6079583d750548001e42edb8
3
+ size 7829121460
pai_manifest.json CHANGED
@@ -44,6 +44,21 @@
44
  },
45
  "tokenizer_package": "lidarverse-tokenizer-pai",
46
  "initialized_from": "stage1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
48
  }
49
  }
 
44
  },
45
  "tokenizer_package": "lidarverse-tokenizer-pai",
46
  "initialized_from": "stage1"
47
+ },
48
+ "stage3": {
49
+ "directory": "lidarverse-sfdmd-pai",
50
+ "tokenizer_package": "lidarverse-tokenizer-pai",
51
+ "initialized_from": "stage2",
52
+ "initialization_note": "Distilled from an earlier checkpoint of the same causal-training lineage, not the exact packaged Stage-2 snapshot.",
53
+ "files": {
54
+ "ema_model.pt": {
55
+ "sha256": "8363b299539f78eec5f564b04d840df17b10de9e6079583d750548001e42edb8",
56
+ "bytes": 7829121460
57
+ },
58
+ "config.json": {
59
+ "sha256": "a140140760b8878456eab4ad97475b8df1055053c89e7f84506306084131de51"
60
+ }
61
+ }
62
  }
63
  }
64
  }