Unverified Commit f549dfc6 authored by Muyang Li's avatar Muyang Li Committed by GitHub
Browse files

Merge pull request #146 from hdfhssg/main

Update Serialization.cpp
parents 07de11de e9618ab9
......@@ -106,7 +106,9 @@ SafeTensors::SafeTensors(const std::string &filename) {
}
SafeTensors::~SafeTensors() {
#ifndef _WIN32
checkCUDA(cudaHostUnregister(const_cast<char *>(this->mapped->data())));
#endif
}
void SafeTensors::parseHeader() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment