Message Boards Message Boards

NetTrain and CUDA - Error

Posted 1 year ago

Until today everything was working fine, but today i got this result... What does it mean and how to correct it? Thaks for help! Tomas

 In[1]:= trained = 
 NetTrain[LinearLayer[], {1 -> 1.9, 2 -> 4.1, 3 -> 6.0, 4 -> 8.1}]

Out[1]= $Failed

In[2]:= Internal`$LastInternalFailure

Out[2]= \!\(\*
StyleBox[
PanelBox[
TagBox[GridBox[{
{
StyleBox["\<\"MXNetError\"\>",
StripOnInput->False,
FontSize->13,
FontWeight->Bold]},
{
StyleBox[
InterpretationBox["\<\"CUDA: Check failed: e == cudaSuccess (3 vs. 0) \
: initialization error\\nStack trace:\\n  File \\\"C:\\\\BuildAgent\\\
\\work\\\\cd49599405c3204\\\\mxnet-build\\\\Build\\\\Windows-x86-64\\\
\\CUDA\\\\mxnet\\\\include\\\\mxnet/base.h\\\", line 449\\n\"\>",
StringForm[
        "``", "CUDA: Check failed: e == cudaSuccess (3 vs. 0) : \
initialization error\nStack trace:\n  File \
\"C:\\BuildAgent\\work\\cd49599405c3204\\mxnet-build\\Build\\Windows-\
x86-64\\CUDA\\mxnet\\include\\mxnet/base.h\", line 449\n"],
Editable->False],
StripOnInput->False,
LineColor->GrayLevel[0],
FrontFaceColor->GrayLevel[0],
BackFaceColor->GrayLevel[0],
GraphicsColor->GrayLevel[0],
FontFamily->"Source Code Pro",
FontSize->11,
FontColor->GrayLevel[0]]},
{
TagBox[
DynamicModuleBox[{Typeset`var$$ = True}, 
InterpretationBox[
StyleBox[
PaneSelectorBox[{False->GridBox[{
{
OpenerBox[Dynamic[Typeset`var$$],
Appearance->Automatic,
AutoAction->False,
ContinuousAction->False,
Enabled->Automatic], 
TagBox[
RowBox[{"<<", 
InterpretationBox["\<\"\\!\\(\\*RowBox[{\\\"1\\\"}]\\) raw stack \
frames\"\>",
StringForm["`` raw stack frames", 1],
Editable->False], ">>"}],
HoldForm]}
},
AutoDelete->False,
BaselinePosition->{1, 1},
GridBoxAlignment->{"Columns" -> {{Left}}},
GridBoxBackground->{"Columns" -> {{Automatic}}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},

GridBoxSpacings->{"Columns" -> {{0.2}}, "Rows" -> {{0.5}}}], 
           True->GridBox[{
{
OpenerBox[Dynamic[Typeset`var$$],
Appearance->Automatic,
AutoAction->False,
ContinuousAction->False,
Enabled->Automatic], 
TagBox[
RowBox[{"<<", 
InterpretationBox["\<\"\\!\\(\\*RowBox[{\\\"1\\\"}]\\) raw stack \
frames\"\>",
StringForm["`` raw stack frames", 1],
Editable->False], ">>"}],
HoldForm]},
{"", 
PaneBox[
DynamicBox[ToBoxes[
GeneralUtilities`Code`PackagePrivate`formatInternalFailureStack[
ByteArray[{56, 67, 58, 120, 156, 75, 99, 44, 102, 241, 201, 44, 46, 
                   73, 99, 44, 230, 240, 200, 207, 73, 113, 203, 47, 
                   202, 77, 99, 42, 102, 14, 78, 45, 41, 230, 115, 
                   207, 201, 79, 74, 204, 73, 40, 41, 74, 204, 204, 
                   75, 77, 1, 10, 115, 248, 165, 150, 132, 128, 120, 
                   105, 12, 197, 220, 62, 64, 193, 196, 34, 159, 196, 
                   202, 212, 162, 52, 22, 168, 41, 76, 197, 44, 65, 
                   165, 57, 169, 206, 140, 69, 105, 96, 240, 207, 30, 
                   46, 196, 4, 21, 18, 112, 128, 11, 49, 23, 49, 128, 
                   129, 4, 66, 136, 165, 200, 24, 12, 20, 28, 0, 72, 
                   90, 47, 85}]], StandardForm],
ImageSizeCache->{313., {63.416992249083705`, 68.5830077509163}},
TrackedSymbols:>{}],
ImageMargins->0]}
},
AutoDelete->False,
BaselinePosition->{1, 1},
GridBoxAlignment->{"Columns" -> {{Left}}},
GridBoxBackground->{"Columns" -> {{Automatic}}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}},

GridBoxSpacings->{"Columns" -> {{0.2}}, "Rows" -> {{0.5}}}]}, Dynamic[
           Typeset`var$$],
Alignment->Automatic,
BaseStyle->{},
BaselinePosition->Baseline,
DefaultBaseStyle->"OpenerView",
ImageMargins->0,
ImageSize->Automatic],
Deployed->False,
StripOnInput->False],
OpenerView[{
HoldForm[
Skeleton[
StringForm["`` raw stack frames", 1]]], 
Dynamic[
GeneralUtilities`Code`PackagePrivate`formatInternalFailureStack[
ByteArray[{56, 67, 58, 120, 156, 75, 99, 44, 102, 241, 201, 44, 46, 
              73, 99, 44, 230, 240, 200, 207, 73, 113, 203, 47, 202, 
              77, 99, 42, 102, 14, 78, 45, 41, 230, 115, 207, 201, 79,
               74, 204, 73, 40, 41, 74, 204, 204, 75, 77, 1, 10, 115, 
              248, 165, 150, 132, 128, 120, 105, 12, 197, 220, 62, 64,
               193, 196, 34, 159, 196, 202, 212, 162, 52, 22, 168, 41,
               76, 197, 44, 65, 165, 57, 169, 206, 140, 69, 105, 96, 
              240, 207, 30, 46, 196, 4, 21, 18, 112, 128, 11, 49, 23, 
              49, 128, 129, 4, 66, 136, 165, 200, 24, 12, 20, 28, 0, 
              72, 90, 47, 85}]], TrackedSymbols :> {}]}, False]],
DynamicModuleValues:>Automatic],
Setting[#, {0}]& ]}
},
DefaultBaseStyle->"Column",
GridBoxAlignment->{"Columns" -> {{Left}}},
GridBoxItemSize->{"Columns" -> {{Automatic}}, "Rows" -> {{Automatic}}}],
"Column"],
Background->RGBColor[1, 0.925, 0.925]],
StripOnInput->False,
LineBreakWithin->False]\)
Attachment

Attachments:
POSTED BY: Tomáš Hruš
Posted 1 year ago

I'll add that it worked the day before.

POSTED BY: Tomáš Hruš
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract