Skip to content

feat(compile): add IR serialization and interpretation functionality#417

Merged
chenghuaWang merged 2 commits intoUbiquitousLearning:v2from
chenghuaWang:v2
Aug 31, 2025
Merged

feat(compile): add IR serialization and interpretation functionality#417
chenghuaWang merged 2 commits intoUbiquitousLearning:v2from
chenghuaWang:v2

Conversation

@chenghuaWang
Copy link
Copy Markdown
Collaborator

feat(compile): add IR serialization and interpretation functionality

  • Implement IRSerializer class to serialize IR to JSON format
  • Add IRInterpreter class to load and run serialized IR programs
  • Update main.cpp to use IRSerializer for model and visual IR serialization
  • Refactor JIT code to support new serialization and interpretation features
  • Update PackageFile structure to support multiple IR source and tuning files

- Update main.cpp to trace and compile both model and visual IR
- Enable eager memory solver for both model and visual IR
- Print both model and visual IR after compilation
- Implement IRSerializer class to serialize IR to JSON format
- Add IRInterpreter class to load and run serialized IR programs
- Update main.cpp to use IRSerializer for model and visual IR serialization
- Refactor JIT code to support new serialization and interpretation features
- Update PackageFile structure to support multiple IR source and tuning files
@chenghuaWang chenghuaWang changed the title V2 feat(compile): add IR serialization and interpretation functionality Aug 31, 2025
@chenghuaWang chenghuaWang merged commit b0a5525 into UbiquitousLearning:v2 Aug 31, 2025
2 checks passed
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