Skip to content

Conversation

@elliottslaughter
Copy link
Contributor

@elliottslaughter elliottslaughter commented Jan 17, 2026

Currently running end-to-end tests, except for (unimplemented) loss function.

Changes to local-execution:

  • ComputationGraphInstance now captures all the necessary state to run a computation
    • InitializedComputationGraphInstance has been removed
    • Creating the ComputationGraphInstance runs all passes, allocates and initializes the graph
  • local_task_registry.h is now static: no dynamic map is retained
    • This means task IDs are no longer used or required
  • LocalCostEstimator is temporarily disabled
  • Irrelevant sections of the old runtime have been removed

Changes to task-spec:

  • DynamicValueAttrs now stores a DynamicTensorAccessor (variant of GenericTensorAccessorR and GenericTensorAccessorW)
  • Exposed the mapping computed from labelled_open_kwarg_dataflow_graph_from_dynamic_open_dataflow_graph
  • Fixes for make_dynamic_open_dataflow_graph_from_cg
  • Fixes for perform_update_insertion
  • Fixes for linear op and optimizer wrappers

This change is Reviewable

Refactor computation graph instance as DTG.

Cut out more stuff that doesn't compile yet.
@elliottslaughter elliottslaughter marked this pull request as ready for review January 29, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant