Skip to content

Add v1 file format for MappedParallelComputationGraph and from_v1 conversion functions#1634

Open
elliottslaughter wants to merge 2 commits intoflexflow:masterfrom
elliottslaughter:json-mpcg-v1
Open

Add v1 file format for MappedParallelComputationGraph and from_v1 conversion functions#1634
elliottslaughter wants to merge 2 commits intoflexflow:masterfrom
elliottslaughter:json-mpcg-v1

Conversation

@elliottslaughter
Copy link
Contributor

@elliottslaughter elliottslaughter commented Mar 7, 2026

Adds two things:

  • V1MappedParallelComputationGraph
  • from_v1 conversion from v1 back to normal objects

Written with Claude and manually inspected/cleaned. The only part I question is the from_v1 in lib/pcg/include/pcg/file_format/v1/graphs/v1_labelled_kwarg_dataflow_graph.h, but I've looked through the code and I don't see a more obvious way to do it, so maybe that's the best we can do. Otherwise the code is fairly obvious.


This change is Reviewable

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