diff --git a/crates/cubecl-runtime/src/tune/local.rs b/crates/cubecl-runtime/src/tune/local.rs index d97096749..9d07b36d0 100644 --- a/crates/cubecl-runtime/src/tune/local.rs +++ b/crates/cubecl-runtime/src/tune/local.rs @@ -116,7 +116,6 @@ impl Loc TuneCacheResult::Pending => { // We're waiting for results to come in. } - #[cfg(autotune_persistent_cache)] TuneCacheResult::Unchecked => { panic!("Should have checked the cache already.") } @@ -142,7 +141,6 @@ impl Loc TuneCacheResult::Miss => { panic!("Should have at least started autotuning"); } - #[cfg(autotune_persistent_cache)] TuneCacheResult::Unchecked => { panic!("Should have checked the cache.") } diff --git a/crates/cubecl-runtime/src/tune/tune_cache.rs b/crates/cubecl-runtime/src/tune/tune_cache.rs index a2c5e0d5f..ca396724d 100644 --- a/crates/cubecl-runtime/src/tune/tune_cache.rs +++ b/crates/cubecl-runtime/src/tune/tune_cache.rs @@ -65,7 +65,6 @@ pub enum TuneCacheResult { fastest_index: usize, }, /// The operation might be cached, but we don't know yet whether the checksum is valid. - #[cfg(autotune_persistent_cache)] Unchecked, /// We don't know yet what is fastest, but are waiting for a result to come in. Pending,