Skip to content

No option to set experiment configuration on expd run #1

@arao53

Description

@arao53

We are setting up an experiment with float and str inputs and a dict output. The trial is able to run successfully however, when we enter expd run in CLI, it opens a window that does not let us set the range of parameters of the inputs and returns the following traceback:

Traceback (most recent call last):
  File "~/venv/lib/python3.11/site-packages/marimo/_runtime/executor.py", line 157, in execute_cell
    exec(cell.body, glbls)
  Cell marimo:///var/folders/c4/xftw48qx1ln6q3hxvkc80tdw0000gn/T/tmpaflrku3r/explorer.py#cell=cell-3, line 1, in <module>
    args, constructors = get_explorer_elements(Inputs)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/elements.py", line 103, in get_explorer_elements
    types = get_object_annotated_types(inputs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 103, in get_object_annotated_types
    return {name: AnnotatedType.from_type(t) for name, t in types.items()}
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 103, in <dictcomp>
    return {name: AnnotatedType.from_type(t) for name, t in types.items()}
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtyping.py", line 77, in from_type
    metadata = dt.bare_type_to_dtype(t)
               ^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/venv/lib/python3.11/site-packages/expd/dtypes/dtypes.py", line 598, in bare_type_to_dtype
    raise NotImplementedError
NotImplementedError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions