Skip to main content
syntax highlight
Source Link
AsukaMinato
  • 10.4k
  • 1
  • 17
  • 44

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

GeneralUtilities`PrintDefinitions@NetTrain

$DefaultContext = ParseTargetDevice @ targetDevice;

Click on ParseTargetDevice.

Then click on $GPUCount.

$GPUCount := With[
    {count = Quiet[Replace[mxlMXGetGPUCount[], Except[_Integer] -> 0]]},
    If[TrueQ[Greater[count, 0]], $GPUCount = count];
    count
];

mxlMXGetGPUCount = LibraryFunction[
    "C:\\Mathematica\\SystemFiles\\Components\\MXNetLink\\LibraryResources\\Windows-x86-64\\MXNetLink.dll",
    "mxlMXGetGPUCount", {}, Integer
];

Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]
Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]

0

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

GeneralUtilities`PrintDefinitions@NetTrain

$DefaultContext = ParseTargetDevice @ targetDevice;

Click on ParseTargetDevice.

Then click on $GPUCount.

$GPUCount := With[
    {count = Quiet[Replace[mxlMXGetGPUCount[], Except[_Integer] -> 0]]},
    If[TrueQ[Greater[count, 0]], $GPUCount = count];
    count
];

mxlMXGetGPUCount = LibraryFunction[
    "C:\\Mathematica\\SystemFiles\\Components\\MXNetLink\\LibraryResources\\Windows-x86-64\\MXNetLink.dll",
    "mxlMXGetGPUCount", {}, Integer
];

Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]

0

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

GeneralUtilities`PrintDefinitions@NetTrain

$DefaultContext = ParseTargetDevice @ targetDevice;

Click on ParseTargetDevice.

Then click on $GPUCount.

$GPUCount := With[
    {count = Quiet[Replace[mxlMXGetGPUCount[], Except[_Integer] -> 0]]},
    If[TrueQ[Greater[count, 0]], $GPUCount = count];
    count
];

mxlMXGetGPUCount = LibraryFunction[
    "C:\\Mathematica\\SystemFiles\\Components\\MXNetLink\\LibraryResources\\Windows-x86-64\\MXNetLink.dll",
    "mxlMXGetGPUCount", {}, Integer
];
Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]

0

added 641 characters in body
Source Link
Alexey Golyshev
  • 9.6k
  • 2
  • 27
  • 58

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

GeneralUtilities`PrintDefinitions@NetTrain

$DefaultContext = ParseTargetDevice @ targetDevice;

Click on ParseTargetDevice.

Then click on $GPUCount.

$GPUCount := With[
    {count = Quiet[Replace[mxlMXGetGPUCount[], Except[_Integer] -> 0]]},
    If[TrueQ[Greater[count, 0]], $GPUCount = count];
    count
];

mxlMXGetGPUCount = LibraryFunction[
    "C:\\Mathematica\\SystemFiles\\Components\\MXNetLink\\LibraryResources\\Windows-x86-64\\MXNetLink.dll",
    "mxlMXGetGPUCount", {}, Integer
];

Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]

0

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}

GeneralUtilities`PrintDefinitions@NetTrain

$DefaultContext = ParseTargetDevice @ targetDevice;

Click on ParseTargetDevice.

Then click on $GPUCount.

$GPUCount := With[
    {count = Quiet[Replace[mxlMXGetGPUCount[], Except[_Integer] -> 0]]},
    If[TrueQ[Greater[count, 0]], $GPUCount = count];
    count
];

mxlMXGetGPUCount = LibraryFunction[
    "C:\\Mathematica\\SystemFiles\\Components\\MXNetLink\\LibraryResources\\Windows-x86-64\\MXNetLink.dll",
    "mxlMXGetGPUCount", {}, Integer
];

Needs["MXNetLink`"]

MXNetLink`GPU`PackagePrivate`mxlMXGetGPUCount[]

0

Source Link
Alexey Golyshev
  • 9.6k
  • 2
  • 27
  • 58

Exploration

mxnet.dll has been modified. There are no changes in the rest of the files.

PacletFindRemote["MXNetResources"]

enter image description here

PacletInstall[%[[2]]]

enter image description here

MapThread[
 If[FileHash[#1, "SHA256", All] != FileHash[#2, "SHA256", All],
   FileNameSplit[#1][[-1]],
   Nothing
   ] &
 ,
 {
  FileNames["*", "MXNetResources-WIN64-12.2.404\\LibraryResources\\Windows-x86-64"],
  FileNames["*", "MXNetResources-WIN64-12.4.407\\LibraryResources\\Windows-x86-64"]
  }
 ]

{"mxnet.dll"}