Low-level crates: allow(unused_imports) removed from cuda-driver, native-cpu-expert, cpu-sys, model-format, tokenizer and the small crates (unused imports deleted, test-only ones under cfg(test)); root_exports glob replaced by crate paths; EnvSwitch in cuda-model; scripts: prune_unused_imports.py, path_to_layout.py
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
af77c63fa3
commit
599f45a885
+5
-1
@@ -50,7 +50,11 @@
|
||||
"allow": ["^(quantize_)?q[0-9]_[0-9k]\\.rs$"]
|
||||
},
|
||||
"_exceptions": "Sites that must stay, so the ratchet is zero outside this list (STRA-338 stage 10). Each entry: crate, file (relative to the crate directory), ratchet (a source_patterns id), reason. The file's hits of that ratchet are not counted; an entry that excuses nothing is an error.",
|
||||
"exceptions": [],
|
||||
"exceptions": [
|
||||
{"crate": "leleka-cuda-model", "file": "src/env_switch.rs", "ratchet": "env-read", "reason": "EnvSwitch is the one reader of the operator environment in this crate: it reads one named variable on the first get() and applies a typed rule"},
|
||||
{"crate": "leleka-cuda-model", "file": "src/env_switch.rs", "ratchet": "process-global", "reason": "the OnceLock inside EnvSwitch caches the switch position for the process life (an immutable operator setting; a hot path pays one atomic load)"},
|
||||
{"crate": "leleka-cuda-model", "file": "src/serving_context.rs", "ratchet": "process-global", "reason": "the serving context and the resident KV window are fixed once at engine start (configure_*) and read by every kernel geometry; injecting them through every owner is the settings follow-up of S13"}
|
||||
],
|
||||
"source_patterns": [
|
||||
{"id": "env-read", "regex": "\\benv::var(_os)?\\(", "why": "configuration must be parsed once into a Settings struct (S13), not read all over the code"},
|
||||
{"id": "instant-now", "regex": "\\bInstant::now\\(\\)", "why": "time must come from an injected Clock in core logic (S14)"},
|
||||
|
||||
@@ -127,8 +127,6 @@ pub struct EngineResidentEstimate {
|
||||
mod tests;
|
||||
|
||||
mod geometry_sizes;
|
||||
#[allow(unused_imports)]
|
||||
pub use geometry_sizes::*;
|
||||
mod per_token_plan;
|
||||
#[allow(unused_imports)]
|
||||
pub use per_token_plan::*;
|
||||
|
||||
@@ -166,11 +166,8 @@ pub enum SetupRopeError {
|
||||
mod tests;
|
||||
|
||||
mod rope_scaling_type;
|
||||
#[allow(unused_imports)]
|
||||
pub use rope_scaling_type::*;
|
||||
mod rope_table;
|
||||
#[allow(unused_imports)]
|
||||
pub use rope_table::*;
|
||||
mod setup_rope_error_and_resolve;
|
||||
#[allow(unused_imports)]
|
||||
pub use setup_rope_error_and_resolve::*;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
//! yarn_is_observably_different_from_none, strata_plan_cli_output_is_reproduced_exactly,
|
||||
//! kv_pool_bytes_match_the_originals_layer_cpp.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -84,92 +84,55 @@ mod ffi {
|
||||
}
|
||||
|
||||
mod abi_version;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::abi_version;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::avxvnni_available;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_i4;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_i8;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_mx;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_mx_out;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_q8;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_q8r;
|
||||
#[allow(unused_imports)]
|
||||
use abi_version::check_quantize;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_i4i8_scalar;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_i8i8_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8_0_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8_0_avxvnni;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8_0_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8r_avx2;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8r_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8r4_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::dot_mxfp4_q8r4_avxvnni;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::mxfp4_q8_0_isums_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::mxfp4_q8_0_isums_avxvnni;
|
||||
#[allow(unused_imports)]
|
||||
pub use abi_version::mxfp4_q8_0_isums_scalar;
|
||||
mod quantize_q8_0_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_i4i8_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_i4i8_avxvnni;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_i8i8_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_i8i8_avxvnni;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_q8_0_q8_0_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_q8_0_q8_0_avxvnni;
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::dot_q8_0_q8_0_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::f32_to_f16_bits_f16c;
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::f32_to_f16_bits_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::q8_0_q8_0_isums_avx2;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::q8_0_q8_0_isums_avxvnni;
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::q8_0_q8_0_isums_scalar;
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::quantize_q8_0_avx2;
|
||||
#[allow(unused_imports)]
|
||||
pub use quantize_q8_0_scalar::quantize_q8_0_scalar;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
//! Engine failure, quit, a broken output pipe, and speculative decoding with rollback.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
//! Streaming a generation to its stop token or budget, prefix reuse, cancellation by stop, and reported errors.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -43,5 +43,4 @@ mod async_api;
|
||||
any(target_os = "linux", target_os = "windows"),
|
||||
target_pointer_width = "64"
|
||||
)))]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use async_api::page_size;
|
||||
|
||||
@@ -230,32 +230,21 @@ mod tests {
|
||||
}
|
||||
|
||||
mod stream_k_off;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::cc_major_ok;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::chunk_drain;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(all(test, feature = "sm86"))]
|
||||
pub(crate) use stream_k_off::companion_cc;
|
||||
#[cfg(feature = "sm86")]
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(all(test, feature = "sm86"))]
|
||||
pub(crate) use stream_k_off::companion_for;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::forced_sms;
|
||||
#[cfg(not(feature = "sm86"))]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::image;
|
||||
#[cfg(feature = "sm86")]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::image;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::latch_stream_k_policy;
|
||||
#[cfg(feature = "sm86")]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::loadable;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::mmq_cc_ok;
|
||||
#[cfg(feature = "sm86")]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::native_sm120;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use stream_k_off::stream_k_off;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
//! Numerical experiment only; no production asset admission or session commit.
|
||||
use super::{Context, DeviceBuffer, Error, Operation, Result, qwen_ffi};
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::{Arguments, Backend, combine, ffi, ranges_layout};
|
||||
/// The four device buffers of one batched residual-inject launch.
|
||||
pub struct GrInjectBuffers<'a, 'b> {
|
||||
|
||||
@@ -184,24 +184,13 @@ pub struct SBytes {
|
||||
mod tests;
|
||||
|
||||
mod program;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::admit;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::admit_ptx;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::conforms;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::flash_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::flash_slots;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::poison_slots;
|
||||
#[allow(unused_imports)]
|
||||
use program::s_activation_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::s_gemv_entry_index;
|
||||
#[allow(unused_imports)]
|
||||
pub use program::s_operand_bytes;
|
||||
mod s_gemv_slots;
|
||||
#[allow(unused_imports)]
|
||||
pub use s_gemv_slots::s_gemv_slots;
|
||||
|
||||
@@ -104,6 +104,5 @@ struct Launch {
|
||||
}
|
||||
|
||||
mod failure;
|
||||
#[allow(unused_imports)]
|
||||
use failure::failure;
|
||||
mod closed_kernels;
|
||||
|
||||
@@ -98,19 +98,11 @@ fn closed_gpu_s_gemv_matches_the_shim_executed_golden() {
|
||||
mod cases;
|
||||
#[path = "closed_kernels_gpu_smoke/rng.rs"]
|
||||
mod rng;
|
||||
#[allow(unused_imports)]
|
||||
use rng::download;
|
||||
#[allow(unused_imports)]
|
||||
use rng::f16_bits;
|
||||
#[allow(unused_imports)]
|
||||
use rng::f32s;
|
||||
#[allow(unused_imports)]
|
||||
use rng::json_bytes;
|
||||
#[allow(unused_imports)]
|
||||
use rng::json_f32;
|
||||
#[allow(unused_imports)]
|
||||
use rng::open;
|
||||
#[allow(unused_imports)]
|
||||
use rng::upload;
|
||||
#[allow(unused_imports)]
|
||||
use rng::zero_kv;
|
||||
|
||||
@@ -226,8 +226,9 @@ mod device {
|
||||
}
|
||||
}
|
||||
#[cfg(all(feature = "cuda-driver", any(target_os = "linux", target_os = "windows"), target_pointer_width = "64"))]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use device::{begin, finish, pending, resolve};
|
||||
pub(crate) use device::{begin, finish, resolve};
|
||||
#[cfg(all(test, feature = "cuda-driver", any(target_os = "linux", target_os = "windows"), target_pointer_width = "64"))]
|
||||
pub(crate) use device::pending;
|
||||
|
||||
#[cfg(not(all(
|
||||
feature = "cuda-driver",
|
||||
|
||||
@@ -305,48 +305,25 @@ pub(crate) struct LoadedProgram {
|
||||
mod tests;
|
||||
|
||||
mod mode;
|
||||
#[allow(unused_imports)]
|
||||
pub use mode::admit;
|
||||
#[allow(unused_imports)]
|
||||
pub use mode::admit_ptx;
|
||||
#[allow(unused_imports)]
|
||||
use mode::grid_x;
|
||||
#[allow(unused_imports)]
|
||||
use mode::grid_yz;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use mode::invalid;
|
||||
#[allow(unused_imports)]
|
||||
pub use mode::source_is_sealed;
|
||||
mod kv_shape;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::attn_chunk_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::attn_merge_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::attn_scratch_floats;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::check_stream_resolve;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::copy_u4_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::cvec_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::fwht_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::fwht_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::keyless_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::keyless_matrices_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::q4_batch_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::q4_gather_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::q4_step_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::q8_gather_grid;
|
||||
#[allow(unused_imports)]
|
||||
pub use kv_shape::q8_step_grid;
|
||||
#[allow(unused_imports)]
|
||||
use kv_shape::stream_error_text;
|
||||
|
||||
@@ -110,12 +110,9 @@ struct Call<'g, 'c> {
|
||||
|
||||
mod context;
|
||||
mod operands;
|
||||
#[allow(unused_imports)]
|
||||
use context::i32_of;
|
||||
#[allow(unused_imports)]
|
||||
use context::i64_of;
|
||||
pub use operands::*;
|
||||
mod facade_launches;
|
||||
mod stream_map;
|
||||
#[allow(unused_imports)]
|
||||
use stream_map::failure;
|
||||
|
||||
@@ -155,17 +155,13 @@ pub(crate) mod original_file_source;
|
||||
pub(crate) mod deferred_status;
|
||||
|
||||
mod context_handle;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use context_handle::projection_available;
|
||||
#[allow(unused_imports)]
|
||||
use context_handle::projection_entry;
|
||||
#[allow(unused_imports)]
|
||||
use context_handle::projection_ptx;
|
||||
#[cfg(any(
|
||||
test,
|
||||
all(feature = "cuda-driver", any(target_os = "linux", target_os = "windows"), target_pointer_width = "64")
|
||||
))]
|
||||
#[allow(unused_imports)]
|
||||
use context_handle::validate_projection_ptx;
|
||||
mod api;
|
||||
mod function_handle;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
|
||||
use super::{BufferHandle, DenseFormat, Error, ProjectionKind, Result, RoutedFormat};
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::ModuleHandle;
|
||||
|
||||
#[cfg(all(
|
||||
|
||||
@@ -106,7 +106,6 @@ macro_rules! symbol {
|
||||
include!("../kar_decode_levels_ffi.rs");
|
||||
|
||||
mod library_drop;
|
||||
#[allow(unused_imports)]
|
||||
use library_drop::check;
|
||||
mod api;
|
||||
mod device_context_memory_copies;
|
||||
|
||||
@@ -7,7 +7,6 @@ use super::{
|
||||
Q6ProjectionArguments, Q6ProjectionStorage, Q8QuantizeArguments, Q8QuantizeStorage,
|
||||
};
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::{Error, FunctionHandle, Result};
|
||||
#[cfg(all(any(target_os = "linux", target_os = "windows"), target_arch = "x86_64", feature = "cuda-driver"))]
|
||||
|
||||
|
||||
@@ -259,13 +259,10 @@ mod gpu;
|
||||
|
||||
#[path = "gdn_closed_queue/gdn_queue_stage.rs"]
|
||||
mod gdn_queue_stage;
|
||||
#[allow(unused_imports)]
|
||||
use gdn_queue_stage::column_row_offset;
|
||||
#[allow(unused_imports)]
|
||||
use gdn_queue_stage::decode_statuses;
|
||||
#[path = "gdn_closed_queue/gdn_row_prefix.rs"]
|
||||
mod gdn_row_prefix;
|
||||
#[path = "gdn_closed_queue/gdn_row_queue.rs"]
|
||||
mod gdn_row_queue;
|
||||
#[allow(unused_imports)]
|
||||
use gdn_row_queue::staging;
|
||||
|
||||
@@ -78,33 +78,16 @@ fn queued_gdn_row_matches_scalar_calls_orders_refusals_and_cleans_up() {
|
||||
mod bytes;
|
||||
#[path = "gdn_closed_queue_gpu/scenarios.rs"]
|
||||
mod scenarios;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::blank;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::bytes;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::column_image;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::pattern;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::queued;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::queued_columns;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::read;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::scalar;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::upload;
|
||||
#[path = "gdn_closed_queue_gpu/columns_pair_cases.rs"]
|
||||
mod columns_pair_cases;
|
||||
#[allow(unused_imports)]
|
||||
use columns_pair_cases::clean_pair;
|
||||
#[allow(unused_imports)]
|
||||
use columns_pair_cases::compare;
|
||||
#[allow(unused_imports)]
|
||||
use columns_pair_cases::refusal_case;
|
||||
#[allow(unused_imports)]
|
||||
use columns_pair_cases::refuse;
|
||||
#[allow(unused_imports)]
|
||||
use columns_pair_cases::{ColumnsCase, ColumnsPoison, columns_pair};
|
||||
|
||||
@@ -316,13 +316,10 @@ mod gpu;
|
||||
|
||||
#[path = "gdn_fused_t1/pinned.rs"]
|
||||
mod pinned;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::decode_statuses;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pinned::fused_asset;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::linear;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pinned::pinned;
|
||||
#[path = "gdn_fused_t1/gdn_fused_prefix.rs"]
|
||||
mod gdn_fused_prefix;
|
||||
@@ -330,7 +327,5 @@ mod gdn_fused_prefix;
|
||||
mod gdn_fused_t1_lifecycle;
|
||||
#[path = "gdn_fused_t1/words.rs"]
|
||||
mod words;
|
||||
#[allow(unused_imports)]
|
||||
use words::staging;
|
||||
#[allow(unused_imports)]
|
||||
use words::words;
|
||||
|
||||
@@ -346,15 +346,11 @@ pub use prompt_device::{GdnPromptOptions, OriginalGdnPromptDevice, OriginalGdnPr
|
||||
|
||||
#[path = "gdn_native_batch/pinned.rs"]
|
||||
mod pinned;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::decode_statuses;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pinned::dequant_asset;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::linear;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pinned::pinned;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pinned::prefill_asset;
|
||||
#[path = "gdn_native_batch/context.rs"]
|
||||
mod context;
|
||||
@@ -362,5 +358,4 @@ mod context;
|
||||
mod gdn_batch_prefix;
|
||||
#[path = "gdn_native_batch/staging.rs"]
|
||||
mod staging;
|
||||
#[allow(unused_imports)]
|
||||
use staging::staging;
|
||||
|
||||
@@ -134,41 +134,21 @@ fn run_cases(context: &Context<'_>, batch: &mut GdnPrefillBatch<'_>) -> Result<(
|
||||
|
||||
#[path = "gdn_native_batch_gpu/bytes_of.rs"]
|
||||
mod bytes_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bf_bits;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bf_value;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bytes_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::close;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::f16_bits;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::f16_value;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::halves_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::pattern;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::q8_0;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::sigm;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::words_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::{Projections, reference};
|
||||
#[path = "gdn_native_batch_gpu/host_gemm_adapter.rs"]
|
||||
mod host_gemm_adapter;
|
||||
#[allow(unused_imports)]
|
||||
use host_gemm_adapter::mismatch;
|
||||
#[allow(unused_imports)]
|
||||
use host_gemm_adapter::read;
|
||||
#[allow(unused_imports)]
|
||||
use host_gemm_adapter::upload;
|
||||
#[path = "gdn_native_batch_gpu/run_case.rs"]
|
||||
mod run_case;
|
||||
#[allow(unused_imports)]
|
||||
use run_case::check_clean;
|
||||
#[allow(unused_imports)]
|
||||
use run_case::run_case;
|
||||
|
||||
@@ -23,6 +23,5 @@ mod prompt_block_produce;
|
||||
mod prompt_command_list;
|
||||
#[path = "original_gdn_prompt_device/prompt_tensor_core_scan.rs"]
|
||||
mod prompt_tensor_core_scan;
|
||||
#[allow(unused_imports)]
|
||||
use gdn_prompt_run_buffer_binder::{Binder, Carve, Carved, Handles, Phase};
|
||||
pub(super) use prompt_tensor_core_scan::TensorCoreState;
|
||||
|
||||
@@ -379,13 +379,10 @@ mod installed {
|
||||
}
|
||||
#[path = "gr_batch_read/context.rs"]
|
||||
mod context;
|
||||
#[allow(unused_imports)]
|
||||
use context::checked_row;
|
||||
#[allow(unused_imports)]
|
||||
use context::encode;
|
||||
#[path = "gr_batch_read/gr_microbatch_read.rs"]
|
||||
mod gr_microbatch_read;
|
||||
#[path = "gr_batch_read/gr_microbatch_read_drop.rs"]
|
||||
mod gr_microbatch_read_drop;
|
||||
#[allow(unused_imports)]
|
||||
use gr_microbatch_read_drop::decode;
|
||||
|
||||
@@ -48,9 +48,7 @@ pub struct GrNativeBatch<'ctx> {
|
||||
|
||||
#[path = "gr_native_batch/context.rs"]
|
||||
mod context;
|
||||
#[allow(unused_imports)]
|
||||
use context::decode;
|
||||
#[allow(unused_imports)]
|
||||
use context::encode;
|
||||
#[path = "gr_native_batch/gr_native_batch_drop.rs"]
|
||||
mod gr_native_batch_drop;
|
||||
|
||||
@@ -3,7 +3,6 @@ use super::{Context, DeviceBuffer, Error, Result, combine, ffi};
|
||||
#[cfg(test)]
|
||||
use super::Driver;
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::{FixedOperation, Rc};
|
||||
const BYTES: [usize; 5] = [40960, 1280, 1280, 40960, 40960];
|
||||
fn shape(bytes: [usize; 5]) -> Result<()> {
|
||||
|
||||
@@ -104,9 +104,7 @@ fn original_first_gu21_gu23_full_products_refusals_reset_and_cleanup() {
|
||||
|
||||
#[path = "grouped_gu21_gu23_gpu/grouped_numeric_run.rs"]
|
||||
mod grouped_numeric_run;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_numeric_run::numeric;
|
||||
#[path = "grouped_gu21_gu23_gpu/guards.rs"]
|
||||
mod guards;
|
||||
#[allow(unused_imports)]
|
||||
use guards::guards;
|
||||
|
||||
@@ -53,19 +53,11 @@ fn original_first_gu21_gu23_nc4_full_products_tails_refusals_reset_and_cleanup()
|
||||
|
||||
#[path = "grouped_gu21_gu23_nc4_gpu/grouped_upload_run.rs"]
|
||||
mod grouped_upload_run;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::down_weights;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::gu_weights;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::input;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::numeric;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::read;
|
||||
#[allow(unused_imports)]
|
||||
use grouped_upload_run::upload;
|
||||
#[path = "grouped_gu21_gu23_nc4_gpu/guards.rs"]
|
||||
mod guards;
|
||||
#[allow(unused_imports)]
|
||||
use guards::guards;
|
||||
|
||||
@@ -74,13 +74,8 @@ mod context;
|
||||
mod expert_mlp;
|
||||
mod f32_bytes;
|
||||
mod kar_decode_levels;
|
||||
#[allow(unused_imports)]
|
||||
use f32_bytes::download;
|
||||
#[allow(unused_imports)]
|
||||
use f32_bytes::f32_bytes;
|
||||
#[allow(unused_imports)]
|
||||
use f32_bytes::failure;
|
||||
#[allow(unused_imports)]
|
||||
use f32_bytes::finite_f32;
|
||||
#[allow(unused_imports)]
|
||||
use f32_bytes::release_all;
|
||||
|
||||
@@ -45,21 +45,12 @@ fn streamed_attention_equals_fully_resident_attention_with_a_20480_cell_window()
|
||||
mod append_proof;
|
||||
mod rng;
|
||||
mod stream_proof;
|
||||
#[allow(unused_imports)]
|
||||
use rng::addr;
|
||||
#[allow(unused_imports)]
|
||||
use rng::f32s;
|
||||
#[allow(unused_imports)]
|
||||
use rng::group;
|
||||
#[allow(unused_imports)]
|
||||
use rng::i32s;
|
||||
#[allow(unused_imports)]
|
||||
use rng::launch;
|
||||
#[allow(unused_imports)]
|
||||
use rng::load;
|
||||
#[allow(unused_imports)]
|
||||
use rng::selection;
|
||||
#[allow(unused_imports)]
|
||||
use rng::upload;
|
||||
#[allow(unused_imports)]
|
||||
use rng::{ImageLayout, KernelShape, expected};
|
||||
|
||||
@@ -263,27 +263,18 @@ mod original_serve_assets;
|
||||
mod original_serve_access;
|
||||
|
||||
mod bringup_trace_enabled;
|
||||
#[allow(unused_imports)]
|
||||
use bringup_trace_enabled::combine;
|
||||
#[allow(unused_imports)]
|
||||
use bringup_trace_enabled::valid_size;
|
||||
mod projection_grids_and_bounds;
|
||||
#[allow(unused_imports)]
|
||||
use projection_grids_and_bounds::projection_ranges;
|
||||
#[allow(unused_imports)]
|
||||
use projection_grids_and_bounds::projection_shape;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use projection_grids_and_bounds::q4_k_native_indices_fit;
|
||||
#[allow(unused_imports)]
|
||||
use projection_grids_and_bounds::q5_k_shape;
|
||||
mod q6_k_shape;
|
||||
#[allow(unused_imports)]
|
||||
use q6_k_shape::matvec_allocations;
|
||||
#[allow(unused_imports)]
|
||||
use q6_k_shape::matvec_shape;
|
||||
#[allow(unused_imports)]
|
||||
use q6_k_shape::q6_k_shape;
|
||||
#[allow(unused_imports)]
|
||||
use q6_k_shape::vector_shape;
|
||||
mod context;
|
||||
mod context_gate_up_projection_admission;
|
||||
@@ -294,24 +285,14 @@ mod context_unload_close_destroy;
|
||||
mod device_buffer;
|
||||
|
||||
mod prompt_sync_trace_types;
|
||||
#[allow(unused_imports)]
|
||||
use prompt_sync_trace_types::FixedKernel;
|
||||
#[allow(unused_imports)]
|
||||
use prompt_sync_trace_types::FixedOperation;
|
||||
#[allow(unused_imports)]
|
||||
use prompt_sync_trace_types::FixedPairKernels;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use prompt_sync_trace_types::PoisonCell;
|
||||
#[allow(unused_imports)]
|
||||
use prompt_sync_trace_types::ProjectionKernels;
|
||||
#[allow(unused_imports)]
|
||||
use prompt_sync_trace_types::ProjectionShape;
|
||||
mod q5_kshape_types;
|
||||
#[allow(unused_imports)]
|
||||
use q5_kshape_types::CurrentGuard;
|
||||
#[allow(unused_imports)]
|
||||
use q5_kshape_types::MatvecShape;
|
||||
#[allow(unused_imports)]
|
||||
use q5_kshape_types::Q5KShape;
|
||||
#[allow(unused_imports)]
|
||||
use q5_kshape_types::Q6KShape;
|
||||
|
||||
@@ -81,9 +81,7 @@ mod locked_tests {
|
||||
}
|
||||
|
||||
mod context;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use context::aligned_copy_enabled;
|
||||
mod mapped_expert_bank_drop;
|
||||
mod mapped_expert_bank_operations;
|
||||
#[allow(unused_imports)]
|
||||
use mapped_expert_bank_drop::range_covered;
|
||||
|
||||
@@ -299,17 +299,12 @@ mod owned_gate_up_upload_gpu;
|
||||
|
||||
mod asset;
|
||||
mod tile;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use asset::asset;
|
||||
#[allow(unused_imports)]
|
||||
use asset::bytes;
|
||||
#[allow(unused_imports)]
|
||||
use asset::finite_f32;
|
||||
#[allow(unused_imports)]
|
||||
use asset::original_formats_asset;
|
||||
mod context;
|
||||
mod release_triplet;
|
||||
#[allow(unused_imports)]
|
||||
use release_triplet::release_triplet;
|
||||
mod experiment_load;
|
||||
mod mmq_experiment;
|
||||
|
||||
@@ -56,7 +56,6 @@ pub(crate) struct MmqGatherShape {
|
||||
|
||||
#[path = "mmq_ffi/owned.rs"]
|
||||
mod owned;
|
||||
#[allow(unused_imports)]
|
||||
use owned::fastdiv;
|
||||
#[path = "mmq_ffi/mmq_original_gather_arguments.rs"]
|
||||
mod mmq_original_gather_arguments;
|
||||
|
||||
@@ -305,31 +305,16 @@ fn actual_expert215_native_resident_gu_and_same_source_down_diagnostic() {
|
||||
|
||||
#[path = "mmq_native_resident_gpu/digest.rs"]
|
||||
mod digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::associate;
|
||||
#[allow(unused_imports)]
|
||||
use digest::digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::download;
|
||||
#[allow(unused_imports)]
|
||||
use digest::fixture;
|
||||
#[allow(unused_imports)]
|
||||
use digest::floats;
|
||||
#[allow(unused_imports)]
|
||||
use digest::half_bits;
|
||||
#[allow(unused_imports)]
|
||||
use digest::measure;
|
||||
#[allow(unused_imports)]
|
||||
use digest::ordered;
|
||||
#[allow(unused_imports)]
|
||||
use digest::prefix;
|
||||
#[allow(unused_imports)]
|
||||
use digest::read;
|
||||
#[allow(unused_imports)]
|
||||
use digest::upload;
|
||||
#[allow(unused_imports)]
|
||||
use digest::write_file;
|
||||
#[path = "mmq_native_resident_gpu/native_hidden_q8.rs"]
|
||||
mod native_hidden_q8;
|
||||
#[allow(unused_imports)]
|
||||
use native_hidden_q8::native_hidden_q8;
|
||||
|
||||
@@ -171,21 +171,10 @@ fn original_first_mmq_adaptive_and_distinct_fixed_profiles_exact() {
|
||||
|
||||
#[path = "mmq_numeric_gpu/digest.rs"]
|
||||
mod digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::compare;
|
||||
#[allow(unused_imports)]
|
||||
use digest::digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::field;
|
||||
#[allow(unused_imports)]
|
||||
use digest::finite;
|
||||
#[allow(unused_imports)]
|
||||
use digest::hex;
|
||||
#[allow(unused_imports)]
|
||||
use digest::integer;
|
||||
#[allow(unused_imports)]
|
||||
use digest::read_regular;
|
||||
#[path = "mmq_numeric_gpu/format_cases.rs"]
|
||||
mod format_cases;
|
||||
#[allow(unused_imports)]
|
||||
use format_cases::cases;
|
||||
|
||||
@@ -88,7 +88,6 @@ pub(super) struct ChunkStream {
|
||||
|
||||
#[path = "mmq_original_chunk_stream/chunk_issuing.rs"]
|
||||
mod chunk_issuing;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use chunk_issuing::prefetch_point;
|
||||
#[path = "mmq_original_chunk_stream/chunk_stream.rs"]
|
||||
mod chunk_stream;
|
||||
|
||||
@@ -142,21 +142,13 @@ mod stress_gpu;
|
||||
|
||||
#[path = "mmq_original_group/asset.rs"]
|
||||
mod asset;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use asset::asset;
|
||||
#[allow(unused_imports)]
|
||||
pub use asset::original_mmq_group_bank_bytes;
|
||||
#[allow(unused_imports)]
|
||||
use asset::sizes;
|
||||
#[path = "mmq_original_group/kind.rs"]
|
||||
mod kind;
|
||||
#[allow(unused_imports)]
|
||||
use kind::format_index;
|
||||
#[allow(unused_imports)]
|
||||
use kind::kind;
|
||||
#[allow(unused_imports)]
|
||||
use kind::layout;
|
||||
#[allow(unused_imports)]
|
||||
use kind::shared;
|
||||
#[path = "mmq_original_group/copy_ring_layer.rs"]
|
||||
mod copy_ring_layer;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
//! Copy-ring execution of an `OriginalMmqLayer`: stage, gather, enqueue, drain (a glob import: at the line limit).
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
impl<'layer, 'ctx> OriginalMmqLayer<'layer, 'ctx> {
|
||||
|
||||
@@ -81,15 +81,9 @@ mod tests;
|
||||
|
||||
#[path = "mmq_original_host_stage/verify_enabled.rs"]
|
||||
mod verify_enabled;
|
||||
#[allow(unused_imports)]
|
||||
use verify_enabled::apply_priority;
|
||||
#[allow(unused_imports)]
|
||||
use verify_enabled::block_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_enabled::layer_priority;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(super) use verify_enabled::scales_finite;
|
||||
#[allow(unused_imports)]
|
||||
use verify_enabled::verify_enabled;
|
||||
#[path = "mmq_original_host_stage/host_stage.rs"]
|
||||
mod host_stage;
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
use super::{Arc, Job, NON_FINITE, NORMAL_PRIORITY, Ordering, Shared, thread};
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::{LAYERS, LOW_PRIORITY};
|
||||
|
||||
/// Bring-up: `LELEKA_BRINGUP_TRACE` and `LELEKA_STAGE_VERIFY` compare every staged buffer with its source when its DMA
|
||||
/// is released.
|
||||
|
||||
@@ -140,11 +140,8 @@ mod skip_expert_dma;
|
||||
any(target_os = "linux", target_os = "windows"),
|
||||
target_pointer_width = "64"
|
||||
)))]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use skip_expert_dma::prefetch_point;
|
||||
#[allow(unused_imports)]
|
||||
use skip_expert_dma::serialize_ring;
|
||||
#[allow(unused_imports)]
|
||||
use skip_expert_dma::skip_expert_dma;
|
||||
#[path = "mmq_original_ring/original_mmq_copy_schedule.rs"]
|
||||
mod original_mmq_copy_schedule;
|
||||
|
||||
@@ -6,7 +6,6 @@ use super::{
|
||||
chunk_stream, combine,
|
||||
};
|
||||
// used only with some cargo features or targets of this crate
|
||||
#[allow(unused_imports)]
|
||||
use super::ffi;
|
||||
#[cfg(all(feature = "cuda-driver", any(target_os = "linux", target_os = "windows"), target_pointer_width = "64"))]
|
||||
|
||||
|
||||
@@ -33,7 +33,5 @@ struct Producer<'producer, 'layer, 'ctx> {
|
||||
mod group_producer_gather_project;
|
||||
#[path = "mmq_original_stream_all/transport.rs"]
|
||||
mod transport;
|
||||
#[allow(unused_imports)]
|
||||
use group_producer_gather_project::rows_group_span;
|
||||
#[path = "mmq_original_stream_all/original_mmq_layer.rs"]
|
||||
mod original_mmq_layer;
|
||||
|
||||
@@ -85,9 +85,7 @@ mod mmq_native_resident_gpu_tests;
|
||||
|
||||
#[path = "mmq_resident/asset.rs"]
|
||||
mod asset;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use asset::asset;
|
||||
#[allow(unused_imports)]
|
||||
use asset::commands;
|
||||
#[path = "mmq_resident/mmq_workspace_drop.rs"]
|
||||
mod mmq_workspace_drop;
|
||||
|
||||
@@ -97,55 +97,30 @@ fn queued_finite_chain_and_bulk_down_packets_exact() {
|
||||
|
||||
#[path = "mmq_resident_gpu/owner_proof.rs"]
|
||||
mod owner_proof;
|
||||
#[allow(unused_imports)]
|
||||
use owner_proof::*;
|
||||
#[path = "mmq_resident_gpu/queued_proof.rs"]
|
||||
mod queued_proof;
|
||||
#[allow(unused_imports)]
|
||||
use queued_proof::*;
|
||||
#[path = "mmq_resident_gpu/digest.rs"]
|
||||
mod digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::compare;
|
||||
#[allow(unused_imports)]
|
||||
use digest::digest;
|
||||
#[allow(unused_imports)]
|
||||
use digest::download;
|
||||
#[allow(unused_imports)]
|
||||
use digest::encoded;
|
||||
#[allow(unused_imports)]
|
||||
use digest::field;
|
||||
#[allow(unused_imports)]
|
||||
use digest::file;
|
||||
#[allow(unused_imports)]
|
||||
use digest::finite;
|
||||
#[allow(unused_imports)]
|
||||
use digest::floats;
|
||||
#[allow(unused_imports)]
|
||||
use digest::hex;
|
||||
#[allow(unused_imports)]
|
||||
use digest::integer;
|
||||
#[allow(unused_imports)]
|
||||
use digest::raw_format;
|
||||
#[allow(unused_imports)]
|
||||
use digest::read_regular;
|
||||
#[allow(unused_imports)]
|
||||
use digest::same;
|
||||
#[allow(unused_imports)]
|
||||
use digest::upload;
|
||||
#[path = "mmq_resident_gpu/native_owner.rs"]
|
||||
mod native_owner;
|
||||
#[allow(unused_imports)]
|
||||
use native_owner::direct;
|
||||
#[allow(unused_imports)]
|
||||
use native_owner::gather;
|
||||
#[allow(unused_imports)]
|
||||
use native_owner::native_owner;
|
||||
#[path = "mmq_resident_gpu/resident_chain.rs"]
|
||||
mod resident_chain;
|
||||
#[allow(unused_imports)]
|
||||
use resident_chain::chain;
|
||||
#[allow(unused_imports)]
|
||||
use resident_chain::witness;
|
||||
#[path = "mmq_resident_gpu/live_packet_alias_drop.rs"]
|
||||
mod live_packet_alias_drop;
|
||||
|
||||
@@ -4,24 +4,12 @@ use super::{
|
||||
RoutedGateUpQ8, combine, ffi, projection_shape,
|
||||
};
|
||||
// used only by the GPU proofs of other cargo feature sets (`expert-tier-probe`)
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use super::{
|
||||
Bf16ProjectionShape, Cell, DenseFormat, Device, DownColumns, Driver, KV_RESIDENT_DEFAULT_CELLS,
|
||||
KV_RESIDENT_MIN_CELLS, MAX_CONTEXT_CELLS, OriginalGraphResources, OriginalHostKv, OriginalMtpCapture,
|
||||
OriginalMtpCoupledPlan, OriginalMtpKvFormat, OriginalMtpKvMode, OriginalMtpKvPlan, OriginalMtpKvStartup,
|
||||
OriginalMtpLoadPlan, OriginalMtpPlanError, OriginalMtpWeightBankPlan, OriginalSessionBytes, OriginalSessionControl,
|
||||
PhantomData, Q5KProjectionShape, Q6KProjectionShape, Rc, RefCell, ServingContext, TRAINED_CONTEXT_CELLS,
|
||||
bringup_trace_enabled, context,
|
||||
Device, DownColumns, Driver,
|
||||
};
|
||||
// used only by the GPU proofs of other cargo feature sets (`expert-tier-probe`)
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(all(test, any(target_os = "linux", target_os = "windows"), target_arch = "x86_64", feature = "cuda-driver"))]
|
||||
use super::{GdnGemm, GrBatchModule};
|
||||
// used only by the GPU proofs of other cargo feature sets (`expert-tier-probe`)
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(all(test, feature = "cuda-driver", any(target_os = "linux", target_os = "windows"), target_pointer_width = "64"))]
|
||||
use super::{OriginalNativeHeadGraphResources, OriginalVerifyGraphResources, OriginalVerifyWindowOps};
|
||||
impl Context<'_> {
|
||||
pub fn project_routed_gate_up_columns(
|
||||
&self,
|
||||
|
||||
@@ -239,15 +239,11 @@ mod gpu;
|
||||
|
||||
#[path = "moe_prefill_batch/pinned.rs"]
|
||||
mod pinned;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::decode_statuses;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::format_index;
|
||||
#[allow(unused_imports)]
|
||||
use pinned::linear;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pinned::pinned;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pinned::prefill_asset;
|
||||
/// The three caller-lent combine inputs: the route weights `[t][10]`, the shared output `[t][2560]` and the scalar
|
||||
/// gate logits `[t]`, all f32.
|
||||
@@ -264,9 +260,6 @@ mod moe_batch_prefix;
|
||||
mod moe_prefill_batch_lifecycle;
|
||||
#[path = "moe_prefill_batch/words.rs"]
|
||||
mod words;
|
||||
#[allow(unused_imports)]
|
||||
use words::check_slot_map;
|
||||
#[allow(unused_imports)]
|
||||
use words::staging;
|
||||
#[allow(unused_imports)]
|
||||
use words::words;
|
||||
|
||||
@@ -80,43 +80,26 @@ fn strata_prefill_moe_program_runs_in_order_refuses_earliest_and_cleans_up() {
|
||||
|
||||
#[path = "moe_prefill_batch_gpu/bytes_of.rs"]
|
||||
mod bytes_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bf_bits;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bf_value;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::bytes_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::close;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::f16_bits;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::f16_value;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::halves_of;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::mismatch;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::pattern;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::q8_0;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::read;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::sigm;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::upload;
|
||||
#[allow(unused_imports)]
|
||||
use bytes_of::words_of;
|
||||
#[path = "moe_prefill_batch_gpu/fixture.rs"]
|
||||
mod fixture;
|
||||
#[allow(unused_imports)]
|
||||
use fixture::{Window, run_case};
|
||||
#[path = "moe_prefill_batch_gpu/program_cases.rs"]
|
||||
mod program_cases;
|
||||
#[allow(unused_imports)]
|
||||
use program_cases::run_program_cases;
|
||||
#[path = "moe_prefill_batch_gpu/clean_window_check.rs"]
|
||||
mod clean_window_check;
|
||||
#[allow(unused_imports)]
|
||||
use clean_window_check::check_clean;
|
||||
|
||||
@@ -97,5 +97,4 @@ mod mtp_input_completion;
|
||||
mod mtp_input_prefix;
|
||||
#[path = "mtp_input_workspace/mtp_input_workspace_lifecycle.rs"]
|
||||
mod mtp_input_workspace_lifecycle;
|
||||
#[allow(unused_imports)]
|
||||
use mtp_input_workspace_lifecycle::staging;
|
||||
|
||||
@@ -69,31 +69,14 @@ fn check_report(report: &Report, allocated: [usize; 3], poisoned: bool) {
|
||||
}
|
||||
#[path = "mtp_input_workspace_gpu/bytes.rs"]
|
||||
mod bytes;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::bytes;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::compare;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::finite_case;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::full_finite;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::inputs;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::original;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::queue;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::raw;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::read;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::refuse;
|
||||
#[allow(unused_imports)]
|
||||
use bytes::upload;
|
||||
#[path = "mtp_input_workspace_gpu/numeric_case.rs"]
|
||||
mod numeric_case;
|
||||
#[allow(unused_imports)]
|
||||
use numeric_case::numeric_case;
|
||||
#[allow(unused_imports)]
|
||||
use numeric_case::run;
|
||||
|
||||
@@ -210,7 +210,6 @@ pub use full_round::OriginalMtpDraftProgram;
|
||||
#[path = "mtp_original_session.rs"]
|
||||
mod session_coupling;
|
||||
pub(crate) use session_coupling::session_assets_sealed;
|
||||
pub use session_coupling::{OriginalMtpRopeForm, OriginalMtpSessionPlan, OriginalMtpSessionResources};
|
||||
|
||||
#[cfg(test)]
|
||||
mod role_map_tests {
|
||||
@@ -336,17 +335,11 @@ mod original_mtp_full_forward;
|
||||
mod original_mtp_retained_prefix;
|
||||
#[path = "mtp_original_full_forward/validate_scalar_prefix.rs"]
|
||||
mod validate_scalar_prefix;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::chain_mtp_assets;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::daily_mtp;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::fixed_entry;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::mmvf_block;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::push;
|
||||
#[allow(unused_imports)]
|
||||
use validate_scalar_prefix::validate_scalar_prefix;
|
||||
#[path = "mtp_original_full_forward/context_original_mtp_shared_layout.rs"]
|
||||
mod context_original_mtp_shared_layout;
|
||||
|
||||
@@ -114,21 +114,15 @@ mod stage_fence_tests {
|
||||
|
||||
#[path = "mtp_original_full_round/staged_source.rs"]
|
||||
mod staged_source;
|
||||
#[allow(unused_imports)]
|
||||
use staged_source::mapped_i32;
|
||||
#[allow(unused_imports)]
|
||||
use staged_source::mtp_select;
|
||||
#[path = "mtp_original_full_round/post_select.rs"]
|
||||
mod post_select;
|
||||
#[allow(unused_imports)]
|
||||
use post_select::post_select;
|
||||
#[path = "mtp_original_full_round/original_mtp_draft_program.rs"]
|
||||
mod original_mtp_draft_program;
|
||||
#[path = "mtp_original_full_round/put.rs"]
|
||||
mod put;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use put::copy_rows_then_fence;
|
||||
#[allow(unused_imports)]
|
||||
use put::overlap;
|
||||
#[allow(unused_imports)]
|
||||
use put::put;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalMtpDraftProgram`: `enqueue_commands`, `capture`, `capture_all`, `capture_catchup` and 17 more.
|
||||
//! Split out of `full_round` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::super::mtp_original_check_batch_program::launch_prefix_command;
|
||||
use super::{
|
||||
Error, FA, FullCommand, LaunchShape, MTP_ORIGINAL_MAX_CELLS, NativeHeadSelection, OriginalCapture,
|
||||
|
||||
@@ -2,30 +2,19 @@ use super::CStr;
|
||||
|
||||
#[path = "mtp_original_full_symbols/assets_types.rs"]
|
||||
mod assets_types;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use assets_types::ASSETS;
|
||||
#[path = "mtp_original_full_symbols/chain_asset_types.rs"]
|
||||
mod chain_asset_types;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::CHAIN_ASSET;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::CHAIN_QSA_CHUNK;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::CHAIN_QSA_MERGE_N;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::CHAIN_ROW_TOP_PROB;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::CHAIN_SAMPLER_GREEDY;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::DAILY_ASSET;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::DAILY_CHUNK;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use chain_asset_types::DAILY_MERGE_V2;
|
||||
|
||||
/// The sealed batched numerical guard (`LELEKA_DRAFT_CHECK_MERGE`); loaded only when the switch is on, so it is not a
|
||||
/// slot of `ASSETS` and moves no index.
|
||||
#[allow(unused_imports)]
|
||||
pub(super) static CHECK_BATCH: (&[u8], &[&std::ffi::CStr]) =
|
||||
(include_bytes!("mtp_original_check_batch.ptx"), &[c"mtp_original_check_batch"]);
|
||||
|
||||
|
||||
@@ -209,17 +209,12 @@ mod pages_tests {
|
||||
|
||||
#[path = "mtp_original_int8/mtp_int8_owner_id.rs"]
|
||||
mod mtp_int8_owner_id;
|
||||
#[allow(unused_imports)]
|
||||
use mtp_int8_owner_id::snapshot_memo;
|
||||
#[path = "mtp_original_int8/physical_ring.rs"]
|
||||
mod physical_ring;
|
||||
#[allow(unused_imports)]
|
||||
use physical_ring::checked;
|
||||
#[allow(unused_imports)]
|
||||
use physical_ring::layout;
|
||||
#[allow(unused_imports)]
|
||||
use physical_ring::rows_range;
|
||||
#[allow(unused_imports)]
|
||||
use physical_ring::zero_bytes;
|
||||
#[path = "mtp_original_int8/mtp_original_int8_operations.rs"]
|
||||
mod mtp_original_int8_operations;
|
||||
|
||||
@@ -172,11 +172,8 @@ pub use scalar::{
|
||||
|
||||
#[path = "mtp_original_prefill/completed_draft_kv.rs"]
|
||||
mod completed_draft_kv;
|
||||
#[allow(unused_imports)]
|
||||
use completed_draft_kv::aligned;
|
||||
#[allow(unused_imports)]
|
||||
use completed_draft_kv::fastdiv;
|
||||
#[allow(unused_imports)]
|
||||
use completed_draft_kv::q8_bytes;
|
||||
#[path = "mtp_original_prefill/original_mtp_prefill.rs"]
|
||||
mod original_mtp_prefill;
|
||||
|
||||
@@ -24,7 +24,6 @@ mod record_operands;
|
||||
mod record_walk;
|
||||
#[path = "original_mtp_prefill/run_and_settle.rs"]
|
||||
mod run_and_settle;
|
||||
#[allow(unused_imports)]
|
||||
use record_operands::{
|
||||
Admit, AppendBlock, Block, Call, GrBufs, KernelAt, KernelShape, PageRuns, ProjectionAddresses, ProjectionDims,
|
||||
Stage, Staged, WEIGHT_EXTENTS,
|
||||
|
||||
@@ -37,13 +37,9 @@ pub(super) struct PreparedState<'ctx> {
|
||||
|
||||
#[path = "mtp_original_ring_state/a16.rs"]
|
||||
mod a16;
|
||||
#[allow(unused_imports)]
|
||||
use a16::a16;
|
||||
#[path = "mtp_original_ring_state/cleanup_fns.rs"]
|
||||
mod cleanup_fns;
|
||||
#[path = "mtp_original_ring_state/pin_failure.rs"]
|
||||
mod pin_failure;
|
||||
#[path = "mtp_original_ring_state/selected.rs"]
|
||||
mod selected;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use pin_failure::pin_failure;
|
||||
|
||||
@@ -28,8 +28,7 @@ mod original_mtp_scalar_prefill_close;
|
||||
mod original_mtp_scalar_prefill_record_gr;
|
||||
#[path = "original_mtp_scalar_prefill/record_operands.rs"]
|
||||
mod record_operands;
|
||||
#[allow(unused_imports)]
|
||||
use record_operands::{
|
||||
Cap, ExternalOwners, GrRows, GroupIo, GroupSpan, PagePublication, ScalarCall, ScalarGroupSources, ScalarOperands,
|
||||
Cap, ExternalOwners, GrRows, GroupSpan, PagePublication, ScalarCall, ScalarGroupSources, ScalarOperands,
|
||||
ScalarStaged,
|
||||
};
|
||||
|
||||
@@ -71,11 +71,8 @@ pub(crate) struct OriginalMtpSessionRopePlan<'ctx> {
|
||||
mod original_mtp_session_plan;
|
||||
#[path = "mtp_original_session/original_mtp_session_resources.rs"]
|
||||
mod original_mtp_session_resources;
|
||||
#[allow(unused_imports)]
|
||||
use original_mtp_session_resources::session_legacy_asset;
|
||||
#[allow(unused_imports)]
|
||||
use original_mtp_session_resources::session_native_asset;
|
||||
#[path = "mtp_original_session/session_owned_drop.rs"]
|
||||
mod session_owned_drop;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use session_owned_drop::session_assets_sealed;
|
||||
|
||||
@@ -23,97 +23,56 @@ pub use mtp_embedding::OriginalMtpNativeEmbedding;
|
||||
mod alias_tests;
|
||||
|
||||
mod native_asset;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::address;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::admission;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::admit;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::admit_history_prefix;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::cmd;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::disjoint;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::geometry;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::greedy_entry;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::iq_asset;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::native_asset;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset::native_embed_supported;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset::native_head_row_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset::native_head_supported;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::sampler_asset;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset::transport;
|
||||
mod head_owned;
|
||||
mod projection_commands;
|
||||
#[allow(unused_imports)]
|
||||
use projection_commands::projection_commands;
|
||||
mod dispatch;
|
||||
mod original_native_embed;
|
||||
mod original_native_embed_rows_original_graph;
|
||||
mod original_native_head_rows;
|
||||
mod original_native_head_rows_drop_original_graph;
|
||||
#[allow(unused_imports)]
|
||||
use dispatch::dispatch;
|
||||
mod original_native_head_rows_original_native;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use original_native_head_rows_original_native::head_assets_sealed;
|
||||
|
||||
mod native_asset_pin_types;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::EmbedOwned;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::HeadOwned;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::IQ_ASSET_PIN;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::Kernels;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::NATIVE_ASSET_PIN;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeEmbedFlight;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeHeadDispatch;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeHeadFlight;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeHeadPayload;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeHeadSampling;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::NativeHeadSelection;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::OriginalNativeEmbed;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::OriginalNativeEmbedRows;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::OriginalNativeHead;
|
||||
#[allow(unused_imports)]
|
||||
pub use native_asset_pin_types::OriginalNativeHeadRows;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::RESERVE;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::SAMPLER_ASSET_PIN;
|
||||
#[allow(unused_imports)]
|
||||
use native_asset_pin_types::SamplingScratch;
|
||||
mod native_entries_types;
|
||||
#[allow(unused_imports)]
|
||||
use native_entries_types::NATIVE_ENTRIES;
|
||||
mod iq_entries_types;
|
||||
#[allow(unused_imports)]
|
||||
use iq_entries_types::IQ_ENTRIES;
|
||||
#[allow(unused_imports)]
|
||||
pub use iq_entries_types::NativeHeadProjectionFlight;
|
||||
#[allow(unused_imports)]
|
||||
pub use iq_entries_types::OriginalNativeHeadGraphResources;
|
||||
#[allow(unused_imports)]
|
||||
use iq_entries_types::SAMPLER_ENTRIES;
|
||||
|
||||
@@ -78,38 +78,22 @@ const ENTRIES: &[&str] = &[
|
||||
];
|
||||
|
||||
mod sealed_ptx;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::address;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::bytes_f32;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::bytes_i32;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::command;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::first;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::floats;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::layout;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::message;
|
||||
#[allow(unused_imports)]
|
||||
pub use sealed_ptx::native_parity_embed_supported;
|
||||
#[allow(unused_imports)]
|
||||
pub use sealed_ptx::native_parity_iq_supported;
|
||||
#[allow(unused_imports)]
|
||||
pub use sealed_ptx::native_parity_row_bytes;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::sealed_ptx;
|
||||
#[allow(unused_imports)]
|
||||
use sealed_ptx::split;
|
||||
mod native_parity_expert;
|
||||
mod native_parity_operations;
|
||||
mod parity_session;
|
||||
#[allow(unused_imports)]
|
||||
use native_parity_expert::down_entry;
|
||||
#[allow(unused_imports)]
|
||||
use native_parity_expert::gu_entry;
|
||||
#[allow(unused_imports)]
|
||||
use native_parity_expert::read;
|
||||
|
||||
@@ -102,25 +102,15 @@ use crate::prefill_stage::fused_scans;
|
||||
|
||||
mod original_device_block;
|
||||
mod original_ple_history;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::GrNormRequest;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::LaunchGeometry;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::PhaseGuards;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::ScanExtent;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::WeightExtent;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::bytes;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::encode;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::kernel;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::scan_gr;
|
||||
#[allow(unused_imports)]
|
||||
use original_ple_history::scan_ple;
|
||||
mod original_prompt_device;
|
||||
mod original_prompt_device_drop;
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalPromptDevice`: `apply_ple`.
|
||||
//! Split out of `original_prompt_device` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::ple_apply_phases::ple_commands;
|
||||
use super::{
|
||||
NativeBatchWorkspace, OriginalDeviceResidual, OriginalPleHistory, OriginalPromptDevice, PleClosedWeights, Result,
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalPromptDevice`: `read_gr_impl`, `gr_read_plan`, `gr_read_spans`.
|
||||
//! Split out of `original_prompt_device` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::gr_read_phases::{GR_READ_NAMES, GR_READ_ORDER, GrReadPlan};
|
||||
use super::{
|
||||
BufferHandle, DeviceBuffer, Error, GrNativeProfile, GrNormRequest, NativeBatchWorkspace, OriginalDeviceGrRead,
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalPromptDevice`: `initialize_rows`, `upload_initial`, `settle_upload`, `run`.
|
||||
//! Functions: `stage_rows`.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::run_phases::RunBuffers;
|
||||
use super::{
|
||||
C, Error, NativeBatchWorkspace, OriginalDeviceResidual, OriginalPromptDevice, OriginalPromptRows, PhaseGuards,
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalPromptDevice`: `inject_gr`, `inject_gr_fused`, `close`.
|
||||
//! Split out of `original_prompt_device` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::inject_phases::{inject_commands, inject_fused_commands};
|
||||
use super::{
|
||||
DeviceBuffer, Error, NativeBatchWorkspace, OriginalDeviceBlock, OriginalDeviceNormedResidual,
|
||||
|
||||
@@ -124,14 +124,10 @@ mod tests;
|
||||
mod original_stager_options;
|
||||
mod stager_workers;
|
||||
#[cfg(windows)]
|
||||
#[allow(unused_imports)]
|
||||
use stager_workers::available_memory;
|
||||
#[cfg(unix)]
|
||||
#[allow(unused_imports)]
|
||||
use stager_workers::available_memory;
|
||||
#[allow(unused_imports)]
|
||||
use stager_workers::metadata;
|
||||
#[allow(unused_imports)]
|
||||
use stager_workers::worker;
|
||||
mod context;
|
||||
mod original_expert_stager_lifecycle;
|
||||
|
||||
@@ -67,7 +67,6 @@ mod tests;
|
||||
|
||||
#[path = "original_expert_stager_ffi/check.rs"]
|
||||
mod check;
|
||||
#[allow(unused_imports)]
|
||||
use check::check;
|
||||
#[path = "original_expert_stager_ffi/api.rs"]
|
||||
mod api;
|
||||
|
||||
@@ -117,18 +117,12 @@ pub(crate) enum OriginalFileStreamSource<'source, 'ctx> {
|
||||
}
|
||||
|
||||
mod original_resident_options_and_blob;
|
||||
#[allow(unused_imports)]
|
||||
use original_resident_options_and_blob::atoi;
|
||||
#[allow(unused_imports)]
|
||||
use original_resident_options_and_blob::key;
|
||||
#[allow(unused_imports)]
|
||||
use original_resident_options_and_blob::vec_filled;
|
||||
mod file_expert_source_swap_exchanges;
|
||||
mod original_file_expert_source_operations;
|
||||
#[cfg(windows)]
|
||||
#[allow(unused_imports)]
|
||||
use file_expert_source_swap_exchanges::available_memory;
|
||||
mod available_memory;
|
||||
#[cfg(unix)]
|
||||
#[allow(unused_imports)]
|
||||
use available_memory::available_memory;
|
||||
|
||||
-1
@@ -1,6 +1,5 @@
|
||||
//! STRA-338 size: the phases of `OriginalFileExpertSource::build_cache_complement`, extracted in call order.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::fill_workers::{run_fill_workers, straddling_cut};
|
||||
use super::{
|
||||
Context, EXPERTS, Error, GIB, LAYERS, META_CAP, N, NONE, OriginalExpertCache, OriginalFileExpertSource,
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalFileExpertSource`: `build_cache_complement`.
|
||||
//! Split out of `original_file_expert_source_methods` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::build_phases::{ArenaFillPlan, alloc_failed, discard_arena, leak_arena, poison_parts};
|
||||
use super::{Error, OriginalExpertCache, OriginalFileExpertSource, OriginalResidentOptions, Result, combine};
|
||||
|
||||
|
||||
@@ -50,17 +50,10 @@ mod tests;
|
||||
|
||||
#[path = "original_file_expert_source_ffi/check.rs"]
|
||||
mod check;
|
||||
#[allow(unused_imports)]
|
||||
use check::check;
|
||||
#[path = "original_file_expert_source_ffi/arena.rs"]
|
||||
mod arena;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use arena::copy_parts_record;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use arena::copy_parts_to;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use arena::partial_pin_cap;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use arena::warm;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use arena::worker_stack_bytes;
|
||||
|
||||
@@ -212,29 +212,19 @@ mod oom_tests {
|
||||
}
|
||||
|
||||
mod transport;
|
||||
#[allow(unused_imports)]
|
||||
use transport::call;
|
||||
#[allow(unused_imports)]
|
||||
use transport::call_unless;
|
||||
#[allow(unused_imports)]
|
||||
use transport::healthy;
|
||||
#[allow(unused_imports)]
|
||||
use transport::injected_window_oom;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use transport::is_graph_out_of_memory;
|
||||
#[allow(unused_imports)]
|
||||
use transport::poison;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use transport::poisons;
|
||||
#[allow(unused_imports)]
|
||||
use transport::transport;
|
||||
mod original_gpu_stream;
|
||||
mod set_side_streams_wanted;
|
||||
#[allow(unused_imports)]
|
||||
use set_side_streams_wanted::drop_side;
|
||||
#[allow(unused_imports)]
|
||||
use set_side_streams_wanted::make_side;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use set_side_streams_wanted::set_side_streams_wanted;
|
||||
mod original_gpu_graph;
|
||||
mod original_graph_key;
|
||||
|
||||
@@ -75,14 +75,10 @@ pub(crate) struct Api {
|
||||
#[path = "platform/library_drop.rs"]
|
||||
mod library_drop;
|
||||
#[cfg(target_os = "linux")]
|
||||
#[allow(unused_imports)]
|
||||
use library_drop::callback_warmup_enabled;
|
||||
#[allow(unused_imports)]
|
||||
use library_drop::check;
|
||||
#[cfg(target_os = "linux")]
|
||||
#[allow(unused_imports)]
|
||||
use library_drop::noop_host_fn;
|
||||
#[allow(unused_imports)]
|
||||
use library_drop::raise_after_copies;
|
||||
#[path = "platform/api.rs"]
|
||||
mod api;
|
||||
|
||||
@@ -128,17 +128,11 @@ struct GemmSize {
|
||||
}
|
||||
|
||||
mod blank;
|
||||
#[allow(unused_imports)]
|
||||
use blank::blank;
|
||||
#[allow(unused_imports)]
|
||||
use blank::common;
|
||||
#[allow(unused_imports)]
|
||||
use blank::dequant_index;
|
||||
#[allow(unused_imports)]
|
||||
use blank::gemm;
|
||||
#[allow(unused_imports)]
|
||||
use blank::kernel;
|
||||
#[allow(unused_imports)]
|
||||
use blank::phase;
|
||||
mod original_moe_prompt_device_drop;
|
||||
mod original_moe_prompt_device_operations;
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalMoePromptDevice`: `prepare`, `close`.
|
||||
//! Split out of `original_moe_prompt_device_methods` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::prepare_phases::{MOE_NAMES, route_plan};
|
||||
use super::{
|
||||
DeviceBuffer, Error, NativeBatchWorkspace, OriginalDeviceGrRead, OriginalMoePromptDevice, OriginalMoePromptLayer,
|
||||
|
||||
@@ -77,9 +77,7 @@ pub struct OriginalMtpActor<'ctx> {
|
||||
|
||||
#[path = "original_mtp_actor_loaded/inconsistent.rs"]
|
||||
mod inconsistent;
|
||||
#[allow(unused_imports)]
|
||||
use inconsistent::inconsistent;
|
||||
#[allow(unused_imports)]
|
||||
use inconsistent::mismatch;
|
||||
#[path = "original_mtp_actor_loaded/original_mtp_actor.rs"]
|
||||
mod original_mtp_actor;
|
||||
|
||||
@@ -117,7 +117,7 @@ fn bank_budget_refusal(tight: &Context<'_>, dir: &TempDir, experts: &[u8]) {
|
||||
#[test]
|
||||
#[ignore = "Root-only: needs a CUDA device"]
|
||||
fn draft_head_gather_matches_a_host_gather_for_each_kernel_width() {
|
||||
use crate::original_mtp_coupled::subset_inverse;
|
||||
|
||||
assert_eq!(std::env::var(ENABLE).ok().as_deref(), Some("yes"));
|
||||
let driver = Driver::load().expect("driver");
|
||||
let device = driver.device(0).expect("device");
|
||||
|
||||
@@ -84,7 +84,6 @@ struct OriginalMtpResumePlan {
|
||||
|
||||
#[path = "original_mtp_round_lifecycle/original_mtp_prefill_plan.rs"]
|
||||
mod original_mtp_prefill_plan;
|
||||
#[allow(unused_imports)]
|
||||
use original_mtp_prefill_plan::public_step;
|
||||
#[path = "original_mtp_round_lifecycle/original_mtp_drafter.rs"]
|
||||
mod original_mtp_drafter;
|
||||
|
||||
@@ -201,39 +201,21 @@ pub(crate) mod fixtures {
|
||||
mod tests;
|
||||
|
||||
mod rt_error;
|
||||
#[allow(unused_imports)]
|
||||
use rt_error::digits;
|
||||
#[allow(unused_imports)]
|
||||
use rt_error::open_regular;
|
||||
#[allow(unused_imports)]
|
||||
use rt_error::zeroed;
|
||||
mod read_index;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::draft_vocab_path;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::expert_bank_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::expert_scales_finite;
|
||||
#[allow(unused_imports)]
|
||||
use read_index::observed_default_bytes;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::observed_draft_vocab_bytes;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(crate) use read_index::observed_draft_vocab_bytes_with;
|
||||
#[allow(unused_imports)]
|
||||
use read_index::read_default_draft_vocab;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::read_dense;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::read_draft_vocab;
|
||||
#[cfg(test)]
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::read_draft_vocab_with;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::read_index;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(crate) use read_index::read_selected_draft_vocab;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::stream_experts;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use read_index::validate_subset;
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
//! expert_stream_error_paths_use_original_order_and_text, expert_scale_scan_handles_chunk_boundaries_inside_blobs,
|
||||
//! draft_vocab_follows_the_original_size_filter.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
//! malformed_index_lines_carry_the_original_message, extent_validation_is_exact_and_bounded,
|
||||
//! required_names_are_checked_in_source_order_by_kind ....
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -74,9 +74,7 @@ pub struct OriginalSampler<'ctx> {
|
||||
}
|
||||
|
||||
mod asset;
|
||||
#[allow(unused_imports)]
|
||||
use asset::asset;
|
||||
mod original_sampler_drop;
|
||||
mod original_sampler_operations;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use original_sampler_drop::sampler_asset_sealed;
|
||||
|
||||
@@ -4,16 +4,13 @@
|
||||
//! Root must supply the actual QSA mapped-staging/table-builder/registry adapters.
|
||||
#[path = "original_session_rope.rs"]
|
||||
mod rope;
|
||||
pub(crate) use rope::{OriginalRopeScaling, OriginalRopeScalingType, OriginalRopeTable, OriginalRopeUpload};
|
||||
pub(crate) use rope::{OriginalRopeScaling, OriginalRopeTable};
|
||||
#[allow(dead_code)]
|
||||
#[path = "original_conversation_state.rs"]
|
||||
mod conversation;
|
||||
#[path = "original_session_qsa_init.rs"]
|
||||
mod qsa_init;
|
||||
use crate::{Context, DeviceBuffer, Error, Result, combine};
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use conversation::OriginalConversationAccess;
|
||||
#[allow(unused_imports)]
|
||||
pub use conversation::{
|
||||
OriginalGeometryFacts, OriginalHostKv, OriginalIdxKind, OriginalKvLayer, OriginalKvPool, OriginalQsaFacts,
|
||||
OriginalRegion, OriginalSessionBytes, OriginalSessionControl, OriginalSessionFacts,
|
||||
@@ -160,27 +157,15 @@ pub(crate) struct OriginalSessionState<'ctx> {
|
||||
}
|
||||
|
||||
mod add;
|
||||
#[allow(unused_imports)]
|
||||
use add::add;
|
||||
#[allow(unused_imports)]
|
||||
use add::align;
|
||||
#[allow(unused_imports)]
|
||||
use add::mul;
|
||||
#[allow(unused_imports)]
|
||||
use add::parts;
|
||||
#[allow(unused_imports)]
|
||||
use add::product;
|
||||
#[allow(unused_imports)]
|
||||
use add::q8k;
|
||||
#[allow(unused_imports)]
|
||||
use add::sum;
|
||||
#[allow(unused_imports)]
|
||||
use add::sum16;
|
||||
mod qsa_price;
|
||||
#[allow(unused_imports)]
|
||||
use qsa_price::qsa_carve;
|
||||
#[allow(unused_imports)]
|
||||
use qsa_price::qsa_price;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use qsa_price::session_bytes;
|
||||
mod original_session_layout;
|
||||
|
||||
@@ -130,7 +130,5 @@ pub(crate) trait OriginalStreamAllGroupProducer<'ctx> {
|
||||
|
||||
#[path = "original_stream_all/original_stream_all_options.rs"]
|
||||
mod original_stream_all_options;
|
||||
#[allow(unused_imports)]
|
||||
use original_stream_all_options::issuer_thread;
|
||||
#[path = "original_stream_all/original_expert_stager.rs"]
|
||||
mod original_expert_stager;
|
||||
|
||||
@@ -11,7 +11,6 @@ use super::{
|
||||
|
||||
#[path = "original_stream_all_options/original_stream_all_options_issuer.rs"]
|
||||
mod original_stream_all_options_issuer;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use original_stream_all_options_issuer::issuer_thread;
|
||||
#[path = "original_stream_all_options/original_expert_stager.rs"]
|
||||
mod original_expert_stager;
|
||||
|
||||
-1
@@ -1,7 +1,6 @@
|
||||
//! Methods of `OriginalExpertStager`: `run_stream_all`.
|
||||
//! Split out of `original_stream_all_options` to keep its files under the line limit.
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use super::stream_phases::{arm_scope, finish_scope, open_scope, start_or_cleanup};
|
||||
use super::{
|
||||
Error, OriginalExpertStager, OriginalPromptRows, OriginalStreamAll, OriginalStreamAllCompleted,
|
||||
|
||||
@@ -227,7 +227,7 @@ pub use gpu_plan::{MAX_PCIE_FETCHES, OriginalVerifyGpuPlan, OriginalVerifyPcieSo
|
||||
#[cfg(any(test, feature = "expert-tier-probe"))]
|
||||
#[path = "original_verify_expert_probe.rs"]
|
||||
mod expert_probe;
|
||||
#[cfg(any(test, feature = "expert-tier-probe"))]
|
||||
#[cfg(feature = "expert-tier-probe")]
|
||||
pub use expert_probe::{OriginalExpertTierProbe, expert_probe_geometry};
|
||||
pub use schedule::{
|
||||
OriginalVerifier, OriginalVerifyCpuRows, OriginalVerifyCpuSink, OriginalVerifyWindowResult,
|
||||
@@ -257,30 +257,15 @@ pub use window_plan::{PlanLayout, WINDOW_LAYERS};
|
||||
pub use window_record::{ExpertTier, HcHalf, Projection, QuantSource, Rows, WindowOps, WindowPolicy, record_window};
|
||||
|
||||
mod share_window_modules;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::admission;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::admit;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::check_canonical_lengths;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::check_commands;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::command;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use share_window_modules::gather_rows_module;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::handle;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::poison;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::sealed_asset;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::share_window_modules;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::transport;
|
||||
#[allow(unused_imports)]
|
||||
use share_window_modules::zero;
|
||||
mod original_verify_gdn_journal;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use original_verify_gdn_journal::verify_assets_sealed;
|
||||
|
||||
@@ -14,5 +14,4 @@ mod verify_gdn_fused_step;
|
||||
mod verify_gdn_journal_ladder_logits_scan;
|
||||
mod verify_gdn_journal_stage_and_commit;
|
||||
mod verify_gdn_journal_window_launches;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use original_verify_window::verify_assets_sealed;
|
||||
|
||||
@@ -10,29 +10,17 @@ use super::{
|
||||
};
|
||||
|
||||
mod verify_bank_and_canonical_gdn_open;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::admission;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::admit;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::check_canonical_lengths;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::check_commands;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::command;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use verify_bank_and_canonical_gdn_open::gather_rows_module;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::handle;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::poison;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::sealed_asset;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::share_window_modules;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::transport;
|
||||
#[allow(unused_imports)]
|
||||
pub(super) use verify_bank_and_canonical_gdn_open::zero;
|
||||
mod original_verify_bank;
|
||||
mod physical;
|
||||
|
||||
@@ -54,9 +54,7 @@ mod tests;
|
||||
|
||||
#[path = "original_verify_gpu_plan/original_verify_gpu_plan_encoding.rs"]
|
||||
mod original_verify_gpu_plan_encoding;
|
||||
#[allow(unused_imports)]
|
||||
use original_verify_gpu_plan_encoding::span_layer;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use original_verify_gpu_plan_encoding::{PlanEntryShape, encode_plan_block};
|
||||
#[path = "original_verify_gpu_plan/cpu_sink_publish_gpu_plan.rs"]
|
||||
mod cpu_sink_publish_gpu_plan;
|
||||
@@ -64,9 +62,8 @@ mod cpu_sink_publish_gpu_plan;
|
||||
mod plan_phases;
|
||||
#[path = "original_verify_gpu_plan/plan_tier_tally.rs"]
|
||||
mod plan_tier_tally;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(crate) use cpu_sink_publish_gpu_plan::dma_options;
|
||||
#[path = "original_verify_gpu_plan/dma_options_for.rs"]
|
||||
mod dma_options_for;
|
||||
#[allow(unused_imports)]
|
||||
use dma_options_for::dma_options_for;
|
||||
|
||||
@@ -79,7 +79,6 @@ pub struct OriginalVerifier<'ctx, R: OriginalVerifyGraphResources<'ctx> + Origin
|
||||
|
||||
#[path = "original_verify_schedule/commit_sync_forced.rs"]
|
||||
mod commit_sync_forced;
|
||||
#[allow(unused_imports)]
|
||||
use commit_sync_forced::commit_sync_forced;
|
||||
#[path = "original_verify_schedule/original_verifier.rs"]
|
||||
mod original_verifier;
|
||||
|
||||
@@ -332,23 +332,14 @@ mod tests;
|
||||
|
||||
#[path = "original_verify_window_gr/assets.rs"]
|
||||
mod assets;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use assets::assets;
|
||||
#[allow(unused_imports)]
|
||||
use assets::check_geometry;
|
||||
#[allow(unused_imports)]
|
||||
use assets::check_rows;
|
||||
#[allow(unused_imports)]
|
||||
use assets::chunk_words;
|
||||
#[allow(unused_imports)]
|
||||
use assets::multi_words;
|
||||
#[allow(unused_imports)]
|
||||
use assets::refuse;
|
||||
#[allow(unused_imports)]
|
||||
use assets::row_span;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use assets::shared_attributes;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use assets::tiled_down_geometry;
|
||||
#[path = "original_verify_window_gr/fused_down.rs"]
|
||||
pub(crate) mod fused_down;
|
||||
@@ -357,21 +348,15 @@ pub(crate) mod head_chain;
|
||||
#[path = "original_verify_window_gr/plan_hc_read.rs"]
|
||||
mod plan_hc_read;
|
||||
pub(crate) use fused_down::plan_hc_read_launches;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_hc_read::plan_final_write;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_hc_read::plan_hc_read;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_hc_read::plan_head_mix;
|
||||
#[allow(unused_imports)]
|
||||
use plan_hc_read::write_row;
|
||||
#[path = "original_verify_window_gr/plan_head_mix_multi.rs"]
|
||||
mod plan_head_mix_multi;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_head_mix_multi::plan_head_mix_multi;
|
||||
#[path = "original_verify_window_gr/plan_ple_row.rs"]
|
||||
mod plan_ple_row;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_ple_row::plan_ple_layer1;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(crate) use plan_ple_row::plan_ple_row;
|
||||
|
||||
@@ -350,51 +350,30 @@ mod tests;
|
||||
|
||||
#[path = "original_verify_window_moe/pcie_fast_kernel.rs"]
|
||||
mod pcie_fast_kernel;
|
||||
#[allow(unused_imports)]
|
||||
use pcie_fast_kernel::align256;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pcie_fast_kernel::assets;
|
||||
#[allow(unused_imports)]
|
||||
use pcie_fast_kernel::check_rows;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pcie_fast_kernel::d_qk;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pcie_fast_kernel::expert_blob;
|
||||
#[allow(unused_imports)]
|
||||
use pcie_fast_kernel::f32s;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use pcie_fast_kernel::gu_qk;
|
||||
#[allow(unused_imports)]
|
||||
use pcie_fast_kernel::items;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pcie_fast_kernel::pcie_fast_kernel;
|
||||
#[allow(unused_imports)]
|
||||
use pcie_fast_kernel::plan_word;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use pcie_fast_kernel::shared_attributes;
|
||||
#[path = "original_verify_window_moe/plan_f32_to_bf16.rs"]
|
||||
mod plan_f32_to_bf16;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_f32_to_bf16::BatchedRows;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_f32_to_bf16::expert_scratch;
|
||||
#[allow(unused_imports)]
|
||||
use plan_f32_to_bf16::plan_f32_to_bf16;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_f32_to_bf16::plan_quantize_expert_input;
|
||||
#[allow(unused_imports)]
|
||||
use plan_f32_to_bf16::plan_route;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_f32_to_bf16::plan_router;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_f32_to_bf16::plan_shared_expert;
|
||||
#[path = "original_verify_window_moe/plan_expert_groups.rs"]
|
||||
mod plan_expert_groups;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_expert_groups::ExpertGroupSite;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_expert_groups::plan_combine;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_expert_groups::plan_expert_groups;
|
||||
#[allow(unused_imports)]
|
||||
pub(crate) use plan_expert_groups::plan_hit_add;
|
||||
|
||||
@@ -104,11 +104,10 @@ mod tests;
|
||||
|
||||
#[path = "original_verify_window_ops/all_window_assets.rs"]
|
||||
mod all_window_assets;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(super) use all_window_assets::all_window_assets;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
use all_window_assets::unsealed_keys;
|
||||
#[allow(unused_imports)]
|
||||
pub use all_window_assets::unsealed_window_assets;
|
||||
#[path = "original_verify_window_ops/gdn_stages.rs"]
|
||||
mod gdn_stages;
|
||||
@@ -128,5 +127,5 @@ mod side_shared_expert;
|
||||
mod window_ops_kernels_and_pcie_plan;
|
||||
#[path = "original_verify_window_ops/wait_rows.rs"]
|
||||
mod wait_rows;
|
||||
#[allow(unused_imports)]
|
||||
#[cfg(test)]
|
||||
pub(crate) use original_verifier::graph_oom_at;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user