Skip to content

Repaired a bug causing wrong agent ids in abs_self_obs#530

Merged
daphne-cornelisse merged 1 commit intoEmerge-Lab:mainfrom
zerlinwang:main
Dec 1, 2025
Merged

Repaired a bug causing wrong agent ids in abs_self_obs#530
daphne-cornelisse merged 1 commit intoEmerge-Lab:mainfrom
zerlinwang:main

Conversation

@zerlinwang
Copy link
Copy Markdown
Contributor

Problem

This bug is about the id of padding agents in absolute_self_observation_tensor, making the id of padding agents 0 rather than -1.
image

Reason

abs_self_obs is initialized automatically, so the values of all the attributes are set as zero by default.

Solution

Manually initialize it in createPaddingEntities.

@daphne-cornelisse daphne-cornelisse self-requested a review December 1, 2025 15:01
@daphne-cornelisse daphne-cornelisse merged commit aa48a43 into Emerge-Lab:main Dec 1, 2025
1 check failed
wangbingke0 pushed a commit to wangbingke0/gpudrive that referenced this pull request Feb 13, 2026
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.

2 participants