diff --git a/pytorch/src/main/java/org/bytedeco/pytorch/presets/gloo.java b/pytorch/src/main/java/org/bytedeco/pytorch/presets/gloo.java index 32a7975cd1..78c9f4c859 100644 --- a/pytorch/src/main/java/org/bytedeco/pytorch/presets/gloo.java +++ b/pytorch/src/main/java/org/bytedeco/pytorch/presets/gloo.java @@ -23,23 +23,15 @@ import org.bytedeco.javacpp.ClassProperties; import org.bytedeco.javacpp.LoadEnabled; -import org.bytedeco.javacpp.annotation.Platform; import org.bytedeco.javacpp.annotation.Properties; import org.bytedeco.javacpp.presets.chrono; import org.bytedeco.javacpp.tools.*; -import static org.bytedeco.pytorch.presets.torch.template; - /** * @author Hervé Guillemet */ @Properties( inherit = { torch.class, chrono.class }, - value = { - @Platform( - library = "jnitorch" - ) - }, target = "org.bytedeco.pytorch.gloo", global = "org.bytedeco.pytorch.global.gloo" ) diff --git a/pytorch/src/main/java/org/bytedeco/pytorch/presets/torch_cuda.java b/pytorch/src/main/java/org/bytedeco/pytorch/presets/torch_cuda.java index 4702b9298f..e09ee4b90f 100644 --- a/pytorch/src/main/java/org/bytedeco/pytorch/presets/torch_cuda.java +++ b/pytorch/src/main/java/org/bytedeco/pytorch/presets/torch_cuda.java @@ -53,8 +53,7 @@ exclude = { "", // pytorch includes cublas_v2, which is not compatible with cublas included from inherited cudnn presets "" // causes #warning - }, - library = "jnitorch" + } ), }, target = "org.bytedeco.pytorch.cuda",