pub struct DebugConfig {Show 24 fields
pub enable_tensor_inspection: bool,
pub enable_gradient_debugging: bool,
pub enable_model_diagnostics: bool,
pub enable_visualization: bool,
pub enable_memory_profiling: bool,
pub enable_computation_graph_analysis: bool,
pub max_tracked_tensors: usize,
pub max_gradient_history: usize,
pub output_dir: Option<String>,
pub sampling_rate: f32,
pub memory_profiling_config: MemoryProfilingConfig,
pub graph_analysis_config: GraphAnalysisConfig,
pub architecture_analysis_config: ArchitectureAnalysisConfig,
pub behavior_analysis_config: BehaviorAnalysisConfig,
pub training_dynamics_config: TrainingDynamicsConfig,
pub differential_debugging_config: DifferentialDebuggingConfig,
pub interpretability_config: InterpretabilityConfig,
pub neural_network_debugging_config: Option<TransformerDebugConfig>,
pub advanced_ml_debugging_config: AdvancedMLDebuggingConfig,
pub advanced_gpu_profiling_config: AdvancedGpuProfilingConfig,
pub kernel_optimization_config: KernelOptimizationConfig,
pub ai_code_analysis_config: AIAnalysisConfig,
pub distributed_debugging_config: Option<DistributedDebugConfig>,
pub environmental_monitoring_config: EnvironmentalConfig,
}Expand description
Configuration for debugging session
Fields§
§enable_tensor_inspection: boolEnable tensor inspection
enable_gradient_debugging: boolEnable gradient debugging
enable_model_diagnostics: boolEnable model diagnostics
enable_visualization: boolEnable visual debugging (requires display)
enable_memory_profiling: boolEnable memory profiling
enable_computation_graph_analysis: boolEnable computation graph analysis
max_tracked_tensors: usizeMaximum number of tensors to track
max_gradient_history: usizeMaximum history length for gradients
output_dir: Option<String>Output directory for debug artifacts
sampling_rate: f32Sampling rate for expensive operations (0.0 to 1.0)
memory_profiling_config: MemoryProfilingConfigMemory profiling configuration
graph_analysis_config: GraphAnalysisConfigComputation graph analysis configuration
architecture_analysis_config: ArchitectureAnalysisConfigArchitecture analysis configuration
behavior_analysis_config: BehaviorAnalysisConfigBehavior analysis configuration
training_dynamics_config: TrainingDynamicsConfigTraining dynamics analysis configuration
differential_debugging_config: DifferentialDebuggingConfigDifferential debugging configuration
interpretability_config: InterpretabilityConfigInterpretability tools configuration
neural_network_debugging_config: Option<TransformerDebugConfig>Neural network debugging configuration
advanced_ml_debugging_config: AdvancedMLDebuggingConfigAdvanced ML debugging configuration
advanced_gpu_profiling_config: AdvancedGpuProfilingConfigAdvanced GPU profiling configuration
kernel_optimization_config: KernelOptimizationConfigKernel optimization configuration
ai_code_analysis_config: AIAnalysisConfigAI code analysis configuration
distributed_debugging_config: Option<DistributedDebugConfig>Distributed debugging configuration
environmental_monitoring_config: EnvironmentalConfigEnvironmental monitoring configuration
Trait Implementations§
Source§impl Clone for DebugConfig
impl Clone for DebugConfig
Source§fn clone(&self) -> DebugConfig
fn clone(&self) -> DebugConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DebugConfig
impl Debug for DebugConfig
Source§impl Default for DebugConfig
impl Default for DebugConfig
Source§impl<'de> Deserialize<'de> for DebugConfig
impl<'de> Deserialize<'de> for DebugConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for DebugConfig
impl RefUnwindSafe for DebugConfig
impl Send for DebugConfig
impl Sync for DebugConfig
impl Unpin for DebugConfig
impl UnwindSafe for DebugConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ConfigSerializable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
impl<T> ConfigSerializable for Twhere
T: Serialize + for<'de> Deserialize<'de>,
Source§fn save_to_file(&self, path: &Path) -> Result<(), TrustformersError>
fn save_to_file(&self, path: &Path) -> Result<(), TrustformersError>
Source§fn load_from_file(path: &Path) -> Result<Self, TrustformersError>where
Self: Sized,
fn load_from_file(path: &Path) -> Result<Self, TrustformersError>where
Self: Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.