correct config for torch

Signed-off-by: Grarak <williye97@gmail.com>