Creating bundles error

I’m trying to follow the instructions in https://github.com/pytorch/glow/blob/master/docs/AOT.md

When I reached this step, something went wrong,

  • cmake -G ninja <other cmake flags> -DGLOW_WITH_BUNDLES=ON -DGLOW_WITH_CPU=ON
  • ninja RunResNet50Bundle

    Error creating directory “/bundles/resnet50”

Is this because I am running the command in the wrong directory?

Sorry for the delayed response! It looks like GLOW_BINARY_DIR is not being set correctly. I believe it needs to be set in your environment if you’re not building the whole project via -DGLOW_WITH_BUNDLES=ON. In your case it’s probably /home/liss/projects/glow/.