Skip to content

AutoML var result = await experiment.RunAsync(); runs indefinately #4144

@GaryFurash

Description

@GaryFurash

Describe the bug

Using a simple AUTOML example - the program behaves strangely in PolyGlot notebooks but the exact same code in a top level Visual Studio console CS app works fine.

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

Visual Studio Code: Latest

Net Ineractive
.NET Interactive
© 2020-2025 Microsoft Corporation
Version: 1.0.632301+7d35ce3be7eb7a603527a3683b691d5e9922adca
Library version: 1.0.0-beta.25323.1+7d35ce3be7eb7a603527a3683b691d5e9922adca

using polyglot notebooks 1.0.6323010 - if I install the latest polyglot notebook it doesn't allow me to select a .net kernel

  • OS
    • [ X] Windows 11
  • Frontend
    • [X ] Visual Studio Code

Screenshots

If applicable, please add screenshots of the entire VS Code window.

Image Image Image Image

the final step var result = await experiment.RunAsync() runs indefinitely - it never stops

The same exact code in 9.0.310 [C:\Program Files\dotnet\sdk] visual studio works fine and runs a 10 second test as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions