Closed carlosedubarreto closed 1 year ago
Hi @carlosedubarreto,
The compilation is handled by pytorch/ninja and a compiled version should be in the torch_extension
folder. It should only recompile if a file is changed. When we're using docker, the user folder is usually wiped on each docker instance, which causes recompiles, you may be experiencing something similar.
Thanks a lot for the explanation
I found that to make it work without trying to recompile (which gives me error when debugging) I can disable the torch.utils.cpp_extension.load
and add a path to a place I have the files compiled.
It worked fine with me.
I made those changes on
C:\
made a folder with these files
Hello and thansk for such amazing code.
I noticed that everytime that I run nvdiffrec it compiles some files. Is that really needed? Or can i disable it in some way?
I saw that some pyd gets in appdata (torch_extension folder) is created. If I point to that file I could skip the compiling everytime I run the script?
thanks a lot for you time