Skip to content

Change Graph.Compile to return an error instead of panicking#397

Open
janpfeifer wants to merge 1 commit intomainfrom
graph-compile-errors
Open

Change Graph.Compile to return an error instead of panicking#397
janpfeifer wants to merge 1 commit intomainfrom
graph-compile-errors

Conversation

@janpfeifer
Copy link
Copy Markdown
Contributor

This PR updates 'Graph.Compile' and 'Graph.CompileWithSharding' to return an error instead of panicking, allowing for more robust error handling during graph compilation. It also includes corresponding updates to call sites across various test files.

Updated all call sites, mostly in tests, to handle the error returned by Compile and CompileWithSharding.
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