gevorgter

Results 4 issues of gevorgter

File src/Application/Common/Behaviours/ValidationBehaviour.cs Lines # 19-23 ``` var context = new ValidationContext(request); var validationResults = await Task.WhenAll( _validators.Select(v =>v.ValidateAsync(context, cancellationToken)) ); ``` Unfortunately context is not thread safe and adds validation...

[1217405.pdf](https://github.com/ststeiger/PdfSharpCore/files/10716904/1217405.pdf) Exception: System.InvalidCastException: 'Unable to cast object of type 'PdfSharpCore.Pdf.PdfNull' to type 'PdfSharpCore.Pdf.Advanced.PdfReference'.' This program would reproduce it var file = "1217405.pdf"; var document = PdfReader.Open(file, PdfDocumentOpenMode.Import); if (document.Outlines !=...

I would expect tokenizer's behavior to match Python version otherwise it will be hard to convert samples from Python to .NET 1. tokenizer.Encode should stop when sequenceLength is reached instead...

Great library but please provide some information on multi threading safety. In production use, models are normally wrapped into REST service which is inherently multithreaded. The Torch itself is safe...