We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c964e40 commit df7c5c8Copy full SHA for df7c5c8
safetensors/src/tensor.rs
@@ -321,10 +321,6 @@ fn buffered_write_to_file<V: View>(
321
/// Serialize to a regular file the dictionnary of tensors.
322
/// Writing directly to file reduces the need to allocate the whole amount to
323
/// memory.
324
-///
325
-/// On Windows, this function writes to a temporary file first, then renames it
326
-/// to the target path. This avoids errors when the target file is memory-mapped
327
-/// (e.g., by another process reading the file via mmap).
328
#[cfg(feature = "std")]
329
pub fn serialize_to_file<S, V, I>(
330
data: I,
0 commit comments