Releases
v1.3.6
Compare
Sorry, something went wrong.
No results found
v1.3.6 Release Notes
Refactor
Renamed Transformer to AutoRegressiveLM, added EmbeddingEncoder
Restructured training loop to two-level iteration (epoch → batch × grad_accum_steps), unified parameter naming
Unified Config serialization via BaseConfig base class; to_dict() now supports list types
Storage switched to factory pattern (StorageFactory), server reload via uvicorn
Factory kwargs filtering and component parameter cleanup
Checkpoint saves per HF convention (.pt extras), callback-managed restore
Renamed module.py to components sub-package (attention, mlp, norm, embedding, etc.)
Replaced uniform normal_(0.006) with recursive sub-module _init_weights
generate_ar switched to streaming output
TrainConfig added metric fields (log_dir, log_interval, metrics); metric_logger uses **kwargs passing
ProgressBarCallback added log_interval/file params, default output to sys.stdout
Timestamps unified to ISO 8601 format across checkpoint and metric logger
Features
BaseModelConfig + DeepSeekMoE + factory pattern replacing if/else branching
GradientCheckpointingCallback for activation checkpointing (torch.compile compatible)
Muon optimizer
Validation loop in training
Dataset field validation on load
Bug Fixes
Fixed MLA bugs: kv_b_proj output dim, q_rope split offset, config passthrough, rope_theta ignored, tie_weight None silently taking effect
Fixed training loop parameter passing and train script argument issues
Fixed AdamW hyperparameter defaults and doc examples
Fixed total_steps using ceiling to match actual step count
Fixed LR scheduler step counting by optimizer step, prevented warmup overflow
Fixed mp.start_processes daemon=False causing subprocess creation failure
Removed redundant request parameter, improved tokenizer robustness
Fixed Docker Compose UID/GID defaults and docker.sh logs command
Fixed to_dict() silently dropping list-type fields (metrics, gradient_checkpointing_modules)
Fixed OpenAI API stop parameter being completely ignored
Tests
Added 6 architecture configuration × 2 scenario forward pass tests
Added stop parameter non-stream/stream tests for OpenAI endpoint
Docs
Split documentation and added missing classes and relationship lines in class diagrams
Fixed class names, method signatures, and module references across doc files
Updated architecture.md: TrainConfig/CheckpointCallback/ProgressBarCallback/MetricLoggerCallback fields, relationship classification, ChatCompletionRequest Optional types
Updated bilibili video link
Removed stale ModelConfig export from config/init .py
You can’t perform that action at this time.