hpcaitech / TensorNVMe

A Python library transfers PyTorch tensors between CPU and NVMe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Will this kill the page cache?

marsupialtail opened this issue · comments

I see that this library is not using DirectIO to flush out the weights to disk:

this->fd = open(filename.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

Will this kill the page cache if you have a lot of weights?

Yes. We will add a flag to control it in the next release.