Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenGalaxea/GalaxeaVLA
/ types & classes
Types & classes
212 in github.com/OpenGalaxea/GalaxeaVLA
⨍
Functions
1,956
◇
Types & classes
212
↳
Endpoints
1
↓ 14 callers
Class
InstructionManager
experiments/r1lite/scheduler/instruction/instruction.py:15
↓ 7 callers
Class
ConstrainedSequenceTokenizer
Lossless codec for valid binary sequences with continuity constraints. A binary sequence is *valid* when every middle run (neither first nor
src/g05/tokenizer/models/binary_sequence/constrained_tokenizer.py:88
↓ 7 callers
Class
TemplateSegment
Template segment descriptor supporting static text and dynamic placeholders.
src/g05/models/g05/io/input_preprocessor.py:83
↓ 6 callers
Class
PolicyInferencer
Unified inference wrapper: obs_dicts in → action dicts out.
src/g05/models/g05/inferencer.py:49
↓ 6 callers
Class
SparseKVCache
Dict-based KV cache for hybrid architectures (e.g., Qwen3.5). Only full_attention layers produce KV cache; linear_attention layers (GatedDelt
src/g05/models/kv_cache.py:21
↓ 5 callers
Class
Qwen3_5RMSNorm
RMSNorm with (1 + weight) scaling. Weight initialized to zeros.
src/g05/models/g05/qwen35/modules.py:133
↓ 4 callers
Class
BaseActionFilter
Base class for action filters that mark operational dimensions. Action filters are NOT invertible - they modify action_op_mask which can
src/g05/data_processor/transforms/action_filter.py:9
↓ 4 callers
Class
MessageQueue
experiments/r1lite/core/communication/message_queue.py:5
↓ 4 callers
Class
MixedSamplesBuilder
During training, randomly choose an annotated candidate builder by weight. During inference, use eval_builder. If no candidate builder has annota
src/g05/data_processor/processor/samples_builder.py:790
↓ 4 callers
Class
SingleFieldLinearNormalizer
Single-field linear normalizer with forward/backward transforms. Forward: normalize data according to mode (z-score, min/max, quantile, etc.
src/g05/utils/data/normalizer.py:301
↓ 4 callers
Class
WebSocketClientEngine
experiments/r1lite/core/inference/websocket_engine.py:13
↓ 3 callers
Class
AdaptiveRMSNorm
src/g05/models/g05/model/modules.py:52
↓ 3 callers
Class
LookAheadError
Exception raised when trying to look ahead in the future of a Backtrackable object.
src/g05/data/lerobot/datasets/util_v3.py:1381
↓ 3 callers
Class
MixtureProcessor
src/g05/data_processor/processor/mixture_processor.py:10
↓ 3 callers
Class
PolicyWebSocketClient
scripts/utils/policy_ws_client.py:11
↓ 3 callers
Class
RequestOutcome
scripts/serve_policy_batched.py:73
↓ 3 callers
Class
RobotAction
experiments/r1lite/utils/message/datatype.py:9
↓ 3 callers
Class
_DefaultNoneDict
Dict that returns None for missing keys without inserting them. Used by SparseKVCache for GatedDeltaNet conv/recurrent states: - Prefill: key
src/g05/models/kv_cache.py:9
↓ 2 callers
Class
BARBuilder
Block-wise AR training data formatter, independent of VQActionTokenizer.
src/g05/tokenizer/interface/bar_builder.py:11
↓ 2 callers
Class
ContextAdapter
src/g05/utils/logging/overwatch.py:75
↓ 2 callers
Class
DecodeMetadata
Backend self-description for VQActionTokenizer decode decisions. VQActionTokenizer reads only this dataclass — it never probes backend intern
src/g05/tokenizer/models/protocol.py:50
↓ 2 callers
Class
HighLevelAtomicTaskCoTBuilder
Use high_level_instruction as command, then CoT outputs atomic_task before action. Data source (r1lite/r1pro _merged_final_v30): data["hi
src/g05/data_processor/processor/samples_builder.py:626
↓ 2 callers
Class
InputPreprocessor
Data input preprocessor for tokenizing text, images, proprio, and actions. Template placeholder syntax: <sampleKey_processorKey>
src/g05/models/g05/io/input_preprocessor.py:142
↓ 2 callers
Class
LeRobotDatasetMetadata
src/g05/data/lerobot/lerobot_dataset_v3.py:75
↓ 2 callers
Class
LinearNormalizer
Multi-field linear normalizer for action/state data. Forward: normalize each field according to its mode Backward: denormalize each fiel
src/g05/utils/data/normalizer.py:41
↓ 2 callers
Class
LookBackError
Exception raised when trying to look back in the history of a Backtrackable object.
src/g05/data/lerobot/datasets/util_v3.py:1373
↓ 2 callers
Class
MixtureLerobotDataset
src/g05/data/mixture_lerobot_dataset.py:95
↓ 2 callers
Class
ProprioGuard
Clamp or soft-remap the model-frame state before sending to the server. Prevents out-of-distribution proprio inputs from collapsing the model's
experiments/so100/so100_policy_client.py:208
↓ 2 callers
Class
Scheduler
Robot scheduler — sends obs to server, receives single-step action, publishes. The server (serve_policy) decides when to recompute vs serve from
experiments/r1lite/scheduler/scheduler.py:23
↓ 2 callers
Class
TokenizerOutput
Dict subclass that allows attribute access (like HF BatchEncoding).
src/g05/models/g05/qwen35/processing.py:20
↓ 2 callers
Class
Trajectory
experiments/r1lite/utils/message/datatype.py:20
↓ 1 callers
Class
ARHelper
Autoregressive algorithm helper. Args: cfg: model_arch.ar config, containing: - ce_weight: CE loss weight - vocab
src/g05/models/g05/helpers/ar_helper.py:32
↓ 1 callers
Class
ActionAccuracyEvaluator
Compute token-level accuracy and masked L1 loss for AR action predictions. Args: action_tokenizer: Action tokenizer instance. tok
src/g05/utils/training/action_accuracy.py:31
↓ 1 callers
Class
ActionCodecV2Config
Configuration for ActionCodecV2Model. ActionCodecV2 is a universal action tokenizer that accepts an arbitrary dict of action components
src/g05/tokenizer/models/actioncodec2_v2/configuration_actioncodec2v2.py:12
↓ 1 callers
Class
ActionCodecV2Model
Action tokenizer model based on FasterV2 architecture with generic dict input. All keys share the same encoder/decoder/RVQ weights because a
src/g05/tokenizer/models/actioncodec2_v2/modeling_actioncodec2v2.py:64
↓ 1 callers
Class
ActionDecoder
Mirror of ActionEncoder: 1×1 proj from latent_dim, then UpBlock2D blocks (in reverse stride order).
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:586
↓ 1 callers
Class
ActionEncoder
Stack of DownBlock2D blocks followed by a 1×1 conv projection to latent_dim. Channel dims: encoder_channels → encoder_channels*c_mults[0]
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:524
↓ 1 callers
Class
ActionPartitioner
Manages key routing, merge_spec, and dimension chunking. Pipeline (encode direction):: component_dict → partition → merge → chunk Pi
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:36
↓ 1 callers
Class
AtomicTaskBaseSamplesBuilder
Match BaseSamplesBuilder template but inject atomic_task into the command slot. This builder has no CoT and goes directly to action. Data so
src/g05/data_processor/processor/samples_builder.py:651
↓ 1 callers
Class
Attention
Multi-head self-attention with: - RoPE positional encoding (partial) - Per-head QK-LayerNorm for numerical stability - Flash Attentio
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:170
↓ 1 callers
Class
AttentionModuleProxy
Proxy to satisfy ALL_ATTENTION_FUNCTIONS interface signature.
src/g05/models/g05/model/utils.py:52
↓ 1 callers
Class
BBoxCoTBuilder
BBox CoT: the model outputs object bboxes before action. Data source (lerobot_dataset_v3.py): data["bbox"] <- bbox_index looks up the tas
src/g05/data_processor/processor/samples_builder.py:382
↓ 1 callers
Class
BBoxSubtaskCoTBuilder
Joint bbox + subtask CoT: output bbox, then subtask, then action. Template (embodiment=r1, 2 cameras, discrete): <image0_image_!><image1_
src/g05/data_processor/processor/samples_builder.py:472
↓ 1 callers
Class
BlockDCT
Block DCT-II with orthonormal normalization. Applies DCT independently on non-overlapping blocks of ``block_size`` frames along the time
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:46
↓ 1 callers
Class
BuiltinActionProcessor
src/g05/models/g05/io/input_preprocessor.py:1555
↓ 1 callers
Class
BuiltinAffordanceProcessor
Affordance CoT processor: format pixel coordinates as text with COT_TOKEN_INDEX.
src/g05/models/g05/io/input_preprocessor.py:1598
↓ 1 callers
Class
BuiltinImageProcessor
src/g05/models/g05/io/input_preprocessor.py:1377
↓ 1 callers
Class
BuiltinProprioMLPDropoutProcessor
MLP proprio processor with sample-level null dropout.
src/g05/models/g05/io/input_preprocessor.py:1491
↓ 1 callers
Class
BuiltinProprioMLPProcessor
Placeholder processor for the MLP proprio encoder. Emits only N special `<state>` tokens as placeholders, where N=num_obs_steps is inferred d
src/g05/models/g05/io/input_preprocessor.py:1452
↓ 1 callers
Class
BuiltinProprioNullProcessor
Drop proprio placeholders from the token stream.
src/g05/models/g05/io/input_preprocessor.py:1513
↓ 1 callers
Class
BuiltinProprioProcessor
src/g05/models/g05/io/input_preprocessor.py:1527
↓ 1 callers
Class
BuiltinQwen35ImageProcessor
Qwen3.5 image processor: <|vision_start|> + <|image_pad|>*N + <|vision_end|>.
src/g05/models/g05/io/input_preprocessor.py:1399
↓ 1 callers
Class
BuiltinTextProcessor
Default text processor: encode strings into text tokens.
src/g05/models/g05/io/input_preprocessor.py:1346
↓ 1 callers
Class
CameraWorker
Background-thread OpenCV camera capture.
experiments/so100/so100_policy_client.py:462
↓ 1 callers
Class
ChunkedPolicyWrapper
Wraps model inference with chunk caching, step-by-step serving, and frame buffers. Maintains per-camera frame buffers (deque) for multi-frame mod
scripts/serve_policy_mem.py:312
↓ 1 callers
Class
ChunkedPolicyWrapper
Wraps model inference with chunk caching and step-by-step serving. Decides when to call the model (recompute) vs serve from cache. One instan
scripts/serve_policy.py:325
↓ 1 callers
Class
ChunkedPolicyWrapper
Wraps batch inference with chunk caching and step-by-step serving. Decides when to call the model (recompute) vs serve from cache. One instan
scripts/serve_policy_batched.py:244
↓ 1 callers
Class
ConsistencyAugmenter
Generates positive (augmented) views of action sequences for consistency training. All parameters vary **linearly** from begin→end over the
src/g05/tokenizer/models/actioncodec2_v2/consistency.py:81
↓ 1 callers
Class
ConsistencyReport
Accumulate check results with PASS/FAIL/WARN/INFO.
tests/test_train_eval_serve_consistency.py:72
↓ 1 callers
Class
DecodeResult
src/g05/tokenizer/interface/base_action_tokenizer.py:20
↓ 1 callers
Class
DistributedOverwatch
src/g05/utils/logging/overwatch.py:88
↓ 1 callers
Class
DownBlock2D
Encoder building block: Conv2d(stride_h, stride_a) → N × TransformerBlock The Conv2d downsamples the H (time-patch) axis; stride_a=1
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:386
↓ 1 callers
Class
DroidLerobotDataset
DROID dataset on the unified explicit schema. Gripper flip (`1 - x`) is handled in `_slice_meta_feature`, so sample path and fast-stats
src/g05/data/droid/droid_lerobot_dataset.py:28
↓ 1 callers
Class
DynamicBatcher
Collects inference requests and dispatches them as micro-batches. A single asyncio task (_worker_loop) consumes from an asyncio.Queue. Reques
scripts/serve_policy_batched.py:86
↓ 1 callers
Class
EMAVectorQuantize
Single-level EMA vector quantizer with: - K-means initialisation (first forward pass) - EMA codebook updates (no gradient through codeboo
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:871
↓ 1 callers
Class
EnsembleChunkedPolicyWrapper
Chunked serving with temporal ensemble of overlapping predictions. Instead of discarding predictions beyond action_steps, stores all overlapp
scripts/serve_policy_batched.py:336
↓ 1 callers
Class
EpisodeRecorder
Record one episode at a time; call stop_and_save() between episodes.
experiments/r1lite/utils/episode_recorder.py:105
↓ 1 callers
Class
EpisodeRecorder
Record one episode at a time; call stop_and_save() between episodes.
scripts/utils/episode_recorder.py:109
↓ 1 callers
Class
FMHelper
Flow Matching algorithm helper. Args: cfg: model_arch.fm config, containing: - time_convention: "pi_convention" | "galaxea_co
src/g05/models/g05/helpers/fm_helper.py:24
↓ 1 callers
Class
FSQQuantize
Finite Scalar Quantization (FSQ) drop-in replacement for EMAVectorQuantize. Instead of learning a codebook via EMA, FSQ quantizes each dimen
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:657
↓ 1 callers
Class
FakePolicy
tests/test_serve_policy_dynamic_batching.py:38
↓ 1 callers
Class
FakeProcessor
tests/test_serve_policy_dynamic_batching.py:11
↓ 1 callers
Class
FlatSerializer
Single-part backend: codes → flat token sequence.
src/g05/tokenizer/interface/serialization.py:30
↓ 1 callers
Class
FollowerArm
Single background thread owns the serial bus. Ported from molmoact2-so101/molmoact_so101/setup/robot.py. All external callers use set_target(
experiments/so100/so100_policy_client.py:366
↓ 1 callers
Class
GEGLUFFFN
Feed-forward network using GEGLU activation with full 4× expansion. GEGLU: ``GEGLU(x) = x1 * GELU(x2)`` where ``(x1, x2) = split(W_up(x))``.
src/g05/tokenizer/models/actioncodec2_v2/modular_actioncodec2v2.py:270
↓ 1 callers
Class
GalaxeaFMRobotWinPolicy
experiments/robotwin/galaxeafm_policy/deploy_policy.py:315
↓ 1 callers
Class
GlobalMonitor
Hack for inner model layers to pass some monitoring info to the trainer.
src/g05/utils/training/train_utils.py:591
↓ 1 callers
Class
GroupLayout
Layout information for one group.
src/g05/tokenizer/utils/parts_meta_utils.py:46
↓ 1 callers
Class
GroupedFlatSerializer
Extends FlatSerializer with per-group marker tokens. The flat VQ code sequence has a specific structure: - NN portion: level-first serializ
src/g05/tokenizer/interface/serialization.py:56
↓ 1 callers
Class
GroupedSlotLayout
Layout information for one alternative name in a two-level merge_spec.
src/g05/tokenizer/utils/parts_meta_utils.py:188
↓ 1 callers
Class
InferenceProducer
Async loop at action_fps Hz: send obs/cache request → set_target(). Follows the server's need_obs flag: - need_obs=True → send full obs (ima
experiments/so100/so100_policy_client.py:563
↓ 1 callers
Class
InferenceState
Unified state for three-stage inference. prefill() creates the initial state, generate_text() updates it and appends generated results, and g
src/g05/models/g05/g05_policy.py:44
↓ 1 callers
Class
IterableNamespace
A namespace object that supports both dictionary-like iteration and dot notation access. Automatically converts nested dictionaries into Iter
src/g05/data/lerobot/datasets/utils.py:729
↓ 1 callers
Class
LeRobotDataset
src/g05/data/lerobot/lerobot_dataset.py:351
↓ 1 callers
Class
LeRobotDataset
src/g05/data/lerobot/lerobot_dataset_v3.py:561
↓ 1 callers
Class
LeRobotDatasetMetadata
src/g05/data/lerobot/lerobot_dataset.py:87
↓ 1 callers
Class
MFUTracker
Model FLOPS Utilization (MFU) Tracker Tracks and calculates the hardware utilization during training by comparing actual FLOPS achieved
src/g05/utils/training/train_utils.py:735
↓ 1 callers
Class
MaskHelper
G05 attention mask + position ID builder (weight-free pure computation). Attributes: position_ids_type: one of "lyc" | "pi0fast" | "gauss
src/g05/models/g05/helpers/mask_helper.py:55
↓ 1 callers
Class
MemLiveVisualizer
One cv2 window per camera. cot → logger; bbox → head window.
scripts/utils/mem_live_viz.py:147
↓ 1 callers
Class
MemoryCoTBuilder
Memory input + memory_update CoT output. Data source (lerobot_dataset_v3.py): data["memory"] <- prev_memory_index looks up the tas
src/g05/data_processor/processor/samples_builder.py:668
↓ 1 callers
Class
MemorySubtaskCoTBuilder
Memory input + subtask CoT + memory_update CoT output. Data fields: data["memory"] <- prev_memory_index (input, masked) da
src/g05/data_processor/processor/samples_builder.py:704
↓ 1 callers
Class
MixtureAttentionQwen35
Qwen3.5 full attention with: - q_proj outputs 2x dim (query + gate) - QK norm (Qwen3_5RMSNorm on head_dim) - partial_rotary_factor=0.25 vi
src/g05/models/g05/qwen35/mixture_qwen35.py:83
↓ 1 callers
Class
MixtureDecoderLayerQwen35
Qwen3.5 decoder layer with 2 norms (standard pre-norm). For full_attention layers: uses MixtureAttentionQwen35 For linear_attention layers: u
src/g05/models/g05/qwen35/mixture_qwen35.py:135
↓ 1 callers
Class
MultiLeRobotDataset
A dataset consisting of multiple underlying `LeRobotDataset`s. The underlying `LeRobotDataset`s are effectively concatenated, and this class adop
src/g05/data/lerobot/lerobot_dataset_v3.py:1907
↓ 1 callers
Class
MultiPolicyWSClient
scripts/utils/policy_ws_client.py:71
↓ 1 callers
Class
PartitionState
State produced by encode_partition, consumed by decode_partition.
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:24
↓ 1 callers
Class
PendingRequest
scripts/serve_policy_batched.py:66
↓ 1 callers
Class
PeriodicEvaluator
Runs one eval batch periodically during training and returns log metrics.
scripts/utils/train_eval.py:22
↓ 1 callers
Class
PlanStepCoTBuilder
Plan input (masked) + plan step CoT output. Data source (lerobot_dataset_v3.py): data["plan"] <- plan_index looks up the tasks table
src/g05/data_processor/processor/samples_builder.py:740
↓ 1 callers
Class
PreparedSample
Preprocessed sample plus its sub_processor reference.
src/g05/models/g05/inferencer.py:28
next →
1–100 of 212, ranked by callers