remove unnecessary unmap
This commit is contained in:
parent
16582cdf4e
commit
323881ef4b
1 changed files with 0 additions and 1 deletions
|
@ -2462,7 +2462,6 @@ struct llama_model_loader {
|
||||||
// unmap offloaded tensors and metadata
|
// unmap offloaded tensors and metadata
|
||||||
if (use_mmap && mapping) {
|
if (use_mmap && mapping) {
|
||||||
mapping->unmap_fragment(0, mmap_first);
|
mapping->unmap_fragment(0, mmap_first);
|
||||||
mapping->unmap_fragment(mmap_last, mmap_last);
|
|
||||||
mapping->unmap_fragment(mmap_last, mapping->size);
|
mapping->unmap_fragment(mmap_last, mapping->size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue