Skip to content

Commit 16696aa

Browse files
authored
Make hash deterministic (#948)
1 parent 84c9613 commit 16696aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/cubecl-std/src/tensor/layout/virtual.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ mod launch {
229229
) -> Self {
230230
// Hash ahead of time so we don't need to store the actual data, which would be far
231231
// more complex
232-
let state = foldhash::fast::RandomState::default();
232+
let state = foldhash::fast::FixedState::default();
233233
let hash = state.hash_one(arg);
234234
Self {
235235
type_name: core::any::type_name::<L>().to_string(),

0 commit comments

Comments
 (0)