FBGEMM icon indicating copy to clipboard operation
FBGEMM copied to clipboard

include <torch/csrc/jit/runtime/static/ops.h> No such file or directory

Open fmo-mt opened this issue 1 month ago • 3 comments

I am building fbgemm_gpu from source, and this include throw an error. I found that this file is not included in the installed path of pytorch:

Image

fmo-mt avatar Nov 27 '25 08:11 fmo-mt

Hi @fmo-mt, torch 2.7.0 is very old by now and is no longer supported in the latest fbgemm releases. Please try with torch 2.9 instead. The build instructions we work with are located here.

q10 avatar Dec 01 '25 22:12 q10

thanks @q10 , I fixed this after upgrade torch to v2.9.0.

Btw, do you know how to run all unittest for fbgemm_gpu? I couldn't find the instructions of this.

fmo-mt avatar Dec 09 '25 11:12 fmo-mt

Hi @fmo-mt you can use the instructions here.

q10 avatar Dec 09 '25 18:12 q10