frameworks/base: enable torch