add Torch to jd builds