STRA-338 params h04: rename mechanically named modules of the touched families (cached_step, stage_steps, projection, profile_build, route_micro, step_batch)

This commit is contained in:
Pavlo Ratushnyi
2026-11-08 01:34:32 +01:00
parent d691b7bc12
commit b698bc5a07
14 changed files with 22 additions and 22 deletions
@@ -184,5 +184,5 @@ mod impl_moeweightcache_3;
#[path = "cache_profile_fill/impl_moeweightcache_4.rs"]
mod impl_moeweightcache_4;
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
#[path = "cache_profile_fill/profile_build_fns.rs"]
mod profile_build_fns;
#[path = "cache_profile_fill/profile_build.rs"]
mod profile_build;
@@ -2,7 +2,7 @@
#[allow(unused_imports)]
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
use super::profile_build_fns::{ProfileFile, ProfileKind, ProfileRequest};
use super::profile_build::{ProfileFile, ProfileKind, ProfileRequest};
use super::*;
/// The room a shared quartet upload must leave free: the spill allowance and the main pool size once the quartet is
@@ -2,7 +2,7 @@
#[allow(unused_imports)]
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
use super::profile_build_fns::{ProfileFile, ProfileKind, ProfileRequest};
use super::profile_build::{ProfileFile, ProfileKind, ProfileRequest};
use super::*;
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
@@ -1,7 +1,7 @@
//! Moved out of the parent module by STRA-338: impl MoeWeightCache.
#[allow(unused_imports)]
use super::profile_build_fns::ProfileFile;
use super::profile_build::ProfileFile;
use super::*;
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
@@ -221,26 +221,26 @@ mod prompt_device;
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64"))]
pub(in crate::qwen_forward) use prompt_device::{PromptLayer, PromptProgram, PromptSource};
mod cached_step;
mod impl_gdnready;
mod impl_gdnstage;
mod step_cached_fn;
mod stage_steps;
#[allow(unused_imports)]
use step_cached_fn::preflight_budget;
use cached_step::preflight_budget;
#[allow(unused_imports)]
use step_cached_fn::project_chain_input;
use cached_step::project_chain_input;
#[allow(unused_imports)]
use step_cached_fn::step_cached;
mod project_fn;
use cached_step::step_cached;
mod projection;
#[allow(unused_imports)]
use project_fn::convolve;
use projection::convolve;
#[allow(unused_imports)]
use project_fn::dispatch_projection;
use projection::dispatch_projection;
#[allow(unused_imports)]
use project_fn::normalize_qk;
use projection::normalize_qk;
#[allow(unused_imports)]
use project_fn::project_retained;
use projection::project_retained;
#[allow(unused_imports)]
use project_fn::{ProjectionOperands, project};
use projection::{ProjectionOperands, project};
mod gates_fn;
#[allow(unused_imports)]
use gates_fn::{GateHostOperands, OutNormScale};
@@ -144,5 +144,5 @@ mod impl_buffers;
use impl_buffers::release_pool;
#[path = "gdn_prefill_batch/impl_gdnstage.rs"]
mod impl_gdnstage;
#[path = "gdn_prefill_batch/step_batch_fns.rs"]
mod step_batch_fns;
#[path = "gdn_prefill_batch/step_batch.rs"]
mod step_batch;
@@ -1,7 +1,7 @@
//! Moved out of the parent module by STRA-338: impl GdnStage.
#[allow(unused_imports)]
use super::step_batch_fns::{
use super::step_batch::{
check_gdn_window, gather_gdn_rows, gdn_operands, latch_cuda_failure, prepare_or_refuse, run_gdn_program,
settle_gdn, window_bytes,
};
@@ -130,9 +130,9 @@ pub(crate) struct MoePrefillStage;
#[cfg(test)]
mod tests;
#[path = "moe_prefill_batch/route_micro_fns.rs"]
mod route_micro_fns;
use route_micro_fns::{
#[path = "moe_prefill_batch/route_micro.rs"]
mod route_micro;
use route_micro::{
CombineOperands, MicroInputs, WindowOperands, assemble_products, check_combine_window, combine_on_device,
route_on_device, validate_micro,
};