Skip to content

rocAL Serialize PR 5 : Add support to serialize parameter arguments#411

Merged
kiritigowda merged 169 commits intoROCm:developfrom
fiona-gladwin:fg/ser3_params_serialize
Dec 19, 2025
Merged

rocAL Serialize PR 5 : Add support to serialize parameter arguments#411
kiritigowda merged 169 commits intoROCm:developfrom
fiona-gladwin:fg/ser3_params_serialize

Conversation

@fiona-gladwin
Copy link
Copy Markdown
Contributor

Motivation

This PR implements serialization support for parameter types in the rocAL pipeline to serialize into the protobuf format.

Technical Details

  • Added template-based serialization functions for different parameter types (SimpleParameter, UniformRand, CustomRand)
  • Extended the protobuf schema to include a Parameter message type
  • Added getter methods to UniformRand and CustomRand classes to expose internal data for serialization

Test Plan

No new tests added, Existing tests must pass

NOTE : To be merged after PR #410

fiona-gladwin and others added 30 commits September 22, 2025 02:30
Remove the usage of API enums in internal node files
Add support to register all internal enums
Creates an argument instance for each arg passed in the Node
Handles different argument types i.e parameters, vectors, enums and predefined types
Add support to serialize the args and pipeline details
Add support to serialize the tensors.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Create single constructor with check for different data types in Argument class
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Collaborator

@rrawther rrawther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add unreleased changelog

Comment thread rocAL/source/pipeline/pipeline_serializer.cpp Outdated
@LakshmiKumar23
Copy link
Copy Markdown
Contributor

@fiona-gladwin please resolve merge conflicts

@fiona-gladwin
Copy link
Copy Markdown
Contributor Author

@fiona-gladwin please resolve merge conflicts

Done file changes reduced to 4

@kiritigowda kiritigowda merged commit b7390d0 into ROCm:develop Dec 19, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants