From 1d9f02fb0a7cc6c87f8643508268dc1ad178122b Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Tue, 6 Aug 2024 18:53:50 +0100 Subject: [PATCH] No need to set graph mode optimisations to false. --- wrapper/Convert/SireOpenMM/torchqm.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/wrapper/Convert/SireOpenMM/torchqm.cpp b/wrapper/Convert/SireOpenMM/torchqm.cpp index b3d8b8be9..aeb498e2d 100644 --- a/wrapper/Convert/SireOpenMM/torchqm.cpp +++ b/wrapper/Convert/SireOpenMM/torchqm.cpp @@ -169,7 +169,6 @@ void TorchQMForce::setModulePath(QString module_path) try { torch::jit::getProfilingMode() = false; - torch::jit::setGraphExecutorOptimize(false); this->torch_module = torch::jit::load(module_path.toStdString()); this->torch_module.eval(); }