MCPcopy Create free account

hub / github.com/OpenGalaxea/GalaxeaVLA / types & classes

Types & classes212 in github.com/OpenGalaxea/GalaxeaVLA

↓ 14 callersClassInstructionManager
experiments/r1lite/scheduler/instruction/instruction.py:15
↓ 7 callersClassConstrainedSequenceTokenizer
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 callersClassTemplateSegment
Template segment descriptor supporting static text and dynamic placeholders.
src/g05/models/g05/io/input_preprocessor.py:83
↓ 6 callersClassPolicyInferencer
Unified inference wrapper: obs_dicts in → action dicts out.
src/g05/models/g05/inferencer.py:49
↓ 6 callersClassSparseKVCache
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 callersClassQwen3_5RMSNorm
RMSNorm with (1 + weight) scaling. Weight initialized to zeros.
src/g05/models/g05/qwen35/modules.py:133
↓ 4 callersClassBaseActionFilter
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 callersClassMessageQueue
experiments/r1lite/core/communication/message_queue.py:5
↓ 4 callersClassMixedSamplesBuilder
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 callersClassSingleFieldLinearNormalizer
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 callersClassWebSocketClientEngine
experiments/r1lite/core/inference/websocket_engine.py:13
↓ 3 callersClassAdaptiveRMSNorm
src/g05/models/g05/model/modules.py:52
↓ 3 callersClassLookAheadError
Exception raised when trying to look ahead in the future of a Backtrackable object.
src/g05/data/lerobot/datasets/util_v3.py:1381
↓ 3 callersClassMixtureProcessor
src/g05/data_processor/processor/mixture_processor.py:10
↓ 3 callersClassPolicyWebSocketClient
scripts/utils/policy_ws_client.py:11
↓ 3 callersClassRequestOutcome
scripts/serve_policy_batched.py:73
↓ 3 callersClassRobotAction
experiments/r1lite/utils/message/datatype.py:9
↓ 3 callersClass_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 callersClassBARBuilder
Block-wise AR training data formatter, independent of VQActionTokenizer.
src/g05/tokenizer/interface/bar_builder.py:11
↓ 2 callersClassContextAdapter
src/g05/utils/logging/overwatch.py:75
↓ 2 callersClassDecodeMetadata
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 callersClassHighLevelAtomicTaskCoTBuilder
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 callersClassInputPreprocessor
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 callersClassLeRobotDatasetMetadata
src/g05/data/lerobot/lerobot_dataset_v3.py:75
↓ 2 callersClassLinearNormalizer
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 callersClassLookBackError
Exception raised when trying to look back in the history of a Backtrackable object.
src/g05/data/lerobot/datasets/util_v3.py:1373
↓ 2 callersClassMixtureLerobotDataset
src/g05/data/mixture_lerobot_dataset.py:95
↓ 2 callersClassProprioGuard
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 callersClassScheduler
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 callersClassTokenizerOutput
Dict subclass that allows attribute access (like HF BatchEncoding).
src/g05/models/g05/qwen35/processing.py:20
↓ 2 callersClassTrajectory
experiments/r1lite/utils/message/datatype.py:20
↓ 1 callersClassARHelper
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 callersClassActionAccuracyEvaluator
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 callersClassActionCodecV2Config
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 callersClassActionCodecV2Model
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 callersClassActionDecoder
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 callersClassActionEncoder
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 callersClassActionPartitioner
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 callersClassAtomicTaskBaseSamplesBuilder
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 callersClassAttention
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 callersClassAttentionModuleProxy
Proxy to satisfy ALL_ATTENTION_FUNCTIONS interface signature.
src/g05/models/g05/model/utils.py:52
↓ 1 callersClassBBoxCoTBuilder
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 callersClassBBoxSubtaskCoTBuilder
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 callersClassBlockDCT
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 callersClassBuiltinActionProcessor
src/g05/models/g05/io/input_preprocessor.py:1555
↓ 1 callersClassBuiltinAffordanceProcessor
Affordance CoT processor: format pixel coordinates as text with COT_TOKEN_INDEX.
src/g05/models/g05/io/input_preprocessor.py:1598
↓ 1 callersClassBuiltinImageProcessor
src/g05/models/g05/io/input_preprocessor.py:1377
↓ 1 callersClassBuiltinProprioMLPDropoutProcessor
MLP proprio processor with sample-level null dropout.
src/g05/models/g05/io/input_preprocessor.py:1491
↓ 1 callersClassBuiltinProprioMLPProcessor
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 callersClassBuiltinProprioNullProcessor
Drop proprio placeholders from the token stream.
src/g05/models/g05/io/input_preprocessor.py:1513
↓ 1 callersClassBuiltinProprioProcessor
src/g05/models/g05/io/input_preprocessor.py:1527
↓ 1 callersClassBuiltinQwen35ImageProcessor
Qwen3.5 image processor: <|vision_start|> + <|image_pad|>*N + <|vision_end|>.
src/g05/models/g05/io/input_preprocessor.py:1399
↓ 1 callersClassBuiltinTextProcessor
Default text processor: encode strings into text tokens.
src/g05/models/g05/io/input_preprocessor.py:1346
↓ 1 callersClassCameraWorker
Background-thread OpenCV camera capture.
experiments/so100/so100_policy_client.py:462
↓ 1 callersClassChunkedPolicyWrapper
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 callersClassChunkedPolicyWrapper
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 callersClassChunkedPolicyWrapper
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 callersClassConsistencyAugmenter
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 callersClassConsistencyReport
Accumulate check results with PASS/FAIL/WARN/INFO.
tests/test_train_eval_serve_consistency.py:72
↓ 1 callersClassDecodeResult
src/g05/tokenizer/interface/base_action_tokenizer.py:20
↓ 1 callersClassDistributedOverwatch
src/g05/utils/logging/overwatch.py:88
↓ 1 callersClassDownBlock2D
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 callersClassDroidLerobotDataset
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 callersClassDynamicBatcher
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 callersClassEMAVectorQuantize
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 callersClassEnsembleChunkedPolicyWrapper
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 callersClassEpisodeRecorder
Record one episode at a time; call stop_and_save() between episodes.
experiments/r1lite/utils/episode_recorder.py:105
↓ 1 callersClassEpisodeRecorder
Record one episode at a time; call stop_and_save() between episodes.
scripts/utils/episode_recorder.py:109
↓ 1 callersClassFMHelper
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 callersClassFSQQuantize
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 callersClassFakePolicy
tests/test_serve_policy_dynamic_batching.py:38
↓ 1 callersClassFakeProcessor
tests/test_serve_policy_dynamic_batching.py:11
↓ 1 callersClassFlatSerializer
Single-part backend: codes → flat token sequence.
src/g05/tokenizer/interface/serialization.py:30
↓ 1 callersClassFollowerArm
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 callersClassGEGLUFFFN
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 callersClassGalaxeaFMRobotWinPolicy
experiments/robotwin/galaxeafm_policy/deploy_policy.py:315
↓ 1 callersClassGlobalMonitor
Hack for inner model layers to pass some monitoring info to the trainer.
src/g05/utils/training/train_utils.py:591
↓ 1 callersClassGroupLayout
Layout information for one group.
src/g05/tokenizer/utils/parts_meta_utils.py:46
↓ 1 callersClassGroupedFlatSerializer
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 callersClassGroupedSlotLayout
Layout information for one alternative name in a two-level merge_spec.
src/g05/tokenizer/utils/parts_meta_utils.py:188
↓ 1 callersClassInferenceProducer
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 callersClassInferenceState
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 callersClassIterableNamespace
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 callersClassLeRobotDataset
src/g05/data/lerobot/lerobot_dataset.py:351
↓ 1 callersClassLeRobotDataset
src/g05/data/lerobot/lerobot_dataset_v3.py:561
↓ 1 callersClassLeRobotDatasetMetadata
src/g05/data/lerobot/lerobot_dataset.py:87
↓ 1 callersClassMFUTracker
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 callersClassMaskHelper
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 callersClassMemLiveVisualizer
One cv2 window per camera. cot → logger; bbox → head window.
scripts/utils/mem_live_viz.py:147
↓ 1 callersClassMemoryCoTBuilder
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 callersClassMemorySubtaskCoTBuilder
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 callersClassMixtureAttentionQwen35
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 callersClassMixtureDecoderLayerQwen35
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 callersClassMultiLeRobotDataset
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 callersClassMultiPolicyWSClient
scripts/utils/policy_ws_client.py:71
↓ 1 callersClassPartitionState
State produced by encode_partition, consumed by decode_partition.
src/g05/tokenizer/models/actioncodec2_v2/partitioner.py:24
↓ 1 callersClassPendingRequest
scripts/serve_policy_batched.py:66
↓ 1 callersClassPeriodicEvaluator
Runs one eval batch periodically during training and returns log metrics.
scripts/utils/train_eval.py:22
↓ 1 callersClassPlanStepCoTBuilder
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 callersClassPreparedSample
Preprocessed sample plus its sub_processor reference.
src/g05/models/g05/inferencer.py:28
next →1–100 of 212, ranked by callers