Skip to content

[Extensions] JobConfig extensions processing does not propagate actual values, sets to zero #1243

@lessw2020

Description

@lessw2020

Bug description

Using the JobConfig extension point, values are not being propogated.
The new field(s) are added, but they all end up with zero as the value rather than what was set.

example:

@dataclass
class Parallelism:
    expert_parallel_degree: int = 2
    """ degree to parallelize experts """

will add expert_parallel_degree = 0 rather than 2.

Versions

525 nightly
latest Titan

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions