Skip to content

update torchsharp to 0.105.0

6145645
Select commit
Loading
Failed to load commit list.
Open

update torchsharp to 0.105.0 #7416

update torchsharp to 0.105.0
6145645
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Azure Pipelines / MachineLearning-CI failed Mar 31, 2025 in 52m 31s

Build #20250331.5 had test failures

Details

Tests

  • Failed: 25 (0.16%)
  • Passed: 13,755 (86.08%)
  • Other: 2,200 (13.77%)
  • Total: 15,980

Annotations

Check failure on line 188 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Build log #L188

Bash exited with code '1'.

Check failure on line 318 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Build log #L318

Bash exited with code '1'.

Check failure on line 188 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Build log #L188

Bash exited with code '1'.

Check failure on line 318 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Build log #L318

Bash exited with code '1'.

Check failure on line 1 in Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNer

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNer

System.ArgumentException : Mismatched state_dict sizes: expected 60, but found 126 entries.
Raw output
   at TorchSharp.torch.nn.Module.load(BinaryReader reader, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at TorchSharp.torch.nn.Module.load(String location, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase.CreateModule(IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 211
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.TrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 156
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 185
   at Microsoft.ML.TorchSharp.NasBert.NerTrainer.Trainer..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NerTrainer.cs:line 121
   at Microsoft.ML.TorchSharp.NasBert.NerTrainer.CreateTrainer(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NerTrainer.cs:line 106
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 107
   at Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs:line 68
   at Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNer() in /__w/1/s/test/Microsoft.ML.TorchSharp.Tests/NerTests.cs:line 79
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNerOptions

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNerOptions

System.ArgumentException : Mismatched state_dict sizes: expected 60, but found 126 entries.
Raw output
   at TorchSharp.torch.nn.Module.load(BinaryReader reader, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at TorchSharp.torch.nn.Module.load(String location, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase.CreateModule(IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 211
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.TrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 156
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 185
   at Microsoft.ML.TorchSharp.NasBert.NerTrainer.Trainer..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NerTrainer.cs:line 121
   at Microsoft.ML.TorchSharp.NasBert.NerTrainer.CreateTrainer(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NerTrainer.cs:line 106
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 107
   at Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs:line 68
   at Microsoft.ML.TorchSharp.Tests.NerTests.TestSimpleNerOptions() in /__w/1/s/test/Microsoft.ML.TorchSharp.Tests/NerTests.cs:line 158
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestSingleSentence3Classes

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestSingleSentence3Classes

System.ArgumentException : Mismatched state_dict sizes: expected 60, but found 142 entries.
Raw output
   at TorchSharp.torch.nn.Module.load(BinaryReader reader, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at TorchSharp.torch.nn.Module.load(String location, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase.CreateModule(IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 211
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.TrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 156
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 185
   at Microsoft.ML.TorchSharp.NasBert.TextClassificationTrainer.Trainer..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/TextClassificationTrainer.cs:line 117
   at Microsoft.ML.TorchSharp.NasBert.TextClassificationTrainer.CreateTrainer(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/TextClassificationTrainer.cs:line 105
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 107
   at Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs:line 68
   at Microsoft.ML.RunTests.TestDataPipeBase.TestEstimatorCore(IEstimator`1 estimator, IDataView validFitInput, IDataView validTransformInput, IDataView invalidInput, IDataView validForFitNotValidForTransformInput, Boolean shouldDispose) in /__w/1/s/test/Microsoft.ML.TestFramework/DataPipe/TestDataPipeBase.cs:line 80
   at Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestSingleSentence3Classes() in /__w/1/s/test/Microsoft.ML.TorchSharp.Tests/TextClassificationTests.cs:line 239
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Check failure on line 1 in Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestDoubleSentence2Classes

See this annotation in the file changed.

@azure-pipelines azure-pipelines / MachineLearning-CI

Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestDoubleSentence2Classes

System.ArgumentException : Mismatched state_dict sizes: expected 60, but found 142 entries.
Raw output
   at TorchSharp.torch.nn.Module.load(BinaryReader reader, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at TorchSharp.torch.nn.Module.load(String location, Boolean strict, IList`1 skip, Dictionary`2 loadedParameters)
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase.CreateModule(IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 211
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.TrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 156
   at Microsoft.ML.TorchSharp.NasBert.NasBertTrainer`2.NasBertTrainerBase..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input, String modelUrl) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/NasBertTrainer.cs:line 185
   at Microsoft.ML.TorchSharp.NasBert.TextClassificationTrainer.Trainer..ctor(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/TextClassificationTrainer.cs:line 117
   at Microsoft.ML.TorchSharp.NasBert.TextClassificationTrainer.CreateTrainer(TorchSharpBaseTrainer`2 parent, IChannel ch, IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/NasBert/TextClassificationTrainer.cs:line 105
   at Microsoft.ML.TorchSharp.TorchSharpBaseTrainer`2.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.TorchSharp/TorchSharpBaseTrainer.cs:line 107
   at Microsoft.ML.Data.EstimatorChain`1.Fit(IDataView input) in /__w/1/s/src/Microsoft.ML.Data/DataLoadSave/EstimatorChain.cs:line 68
   at Microsoft.ML.RunTests.TestDataPipeBase.TestEstimatorCore(IEstimator`1 estimator, IDataView validFitInput, IDataView validTransformInput, IDataView invalidInput, IDataView validForFitNotValidForTransformInput, Boolean shouldDispose) in /__w/1/s/test/Microsoft.ML.TestFramework/DataPipe/TestDataPipeBase.cs:line 80
   at Microsoft.ML.TorchSharp.Tests.TextClassificationTests.TestDoubleSentence2Classes() in /__w/1/s/test/Microsoft.ML.TorchSharp.Tests/TextClassificationTests.cs:line 323
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)