This project uses Lightning for ML experiments, and Modal for distributed compute. We have a custom progress bar [LightningProgress](src/utils/progress/lightning.py) that works well in notebooks and console. But when running in Modal, the notebook environment isn't available, so it falls back to console output. Let's try adding a distributed mode for the progress bar. Here's how it might work: - Use a Modal Dict for communication - Have a local reader that displays the progress bar. This coul... #19
Annotations
10 errors
|
src/utils/progress/lightning.py#L182
Method "on_predict_start" is marked as override, but no base method of same name is present (reportGeneralTypeIssues)
|
|
src/utils/progress/distributed.py#L149
Cannot access attribute "__exit__" for class "ModalProgressWriter[Unknown]"
Attribute "__exit__" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L144
Cannot access attribute "__enter__" for class "Progress[T@DistributedProgress]"
Attribute "__enter__" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L144
Cannot access attribute "__enter__" for class "ModalProgressWriter[Unknown]"
Attribute "__enter__" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L138
Cannot access attribute "__aexit__" for class "ModalProgressWriter[Unknown]"
Attribute "__aexit__" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L133
Cannot access attribute "__aenter__" for class "ModalProgressWriter[Unknown]"
Attribute "__aenter__" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L125
Cannot access attribute "print" for class "ModalProgressWriter[Unknown]"
Attribute "print" is unknown (reportAttributeAccessIssue)
|
|
src/utils/progress/distributed.py#L117
Cannot access attribute "update" for class "ModalProgressWriter[Unknown]"
Attribute "update" is unknown (reportAttributeAccessIssue)
|
|
src/ex_color/__main__.py#L129
Argument of type "list[LightningProgress]" cannot be assigned to parameter "callbacks" of type "list[Callback] | Callback | None" in function "__init__"
"LightningProgress" is not assignable to "Callback" (reportArgumentType)
|
|
docs/m2-control/ex-2.1-isolate-red.ipynb#L1
Argument of type "list[LightningProgress]" cannot be assigned to parameter "callbacks" of type "list[Callback] | Callback | None" in function "__init__"
"LightningProgress" is not assignable to "Callback" (reportArgumentType)
|
The logs for this run have expired and are no longer available.
Loading