removed remaining torch dependencies