Skip to content

Fix calculation of device index in multi-gpu setting#1194

Closed
LeStoe11 wants to merge 1 commit intoTransformerLensOrg:mainfrom
LeStoe11:LeStoe11-patch-multi-device
Closed

Fix calculation of device index in multi-gpu setting#1194
LeStoe11 wants to merge 1 commit intoTransformerLensOrg:mainfrom
LeStoe11:LeStoe11-patch-multi-device

Conversation

@LeStoe11
Copy link

@LeStoe11 LeStoe11 commented Mar 6, 2026

Description

Fix a bug where the model would index out-of-bounds devices.

Fixes # (issue)
#837

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • [ x] I have not rewritten tests relating to key interfaces which would affect backward compatibility

Fix a bug where the model would index out-of-bounds devices.
@LeStoe11
Copy link
Author

LeStoe11 commented Mar 6, 2026

Should be disregarded in favour of #907

@LeStoe11 LeStoe11 closed this Mar 6, 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.

1 participant