Skip to content

Fix input_tokens assignment for device transfer - #298

Open
Seas0 wants to merge 1 commit into
evalplus:masterfrom
Seas0:patch-1
Open

Seas0 wants to merge 1 commit into
evalplus:masterfrom
Seas0:patch-1

Conversation

@Seas0

@Seas0 Seas0 commented Apr 15, 2026

Copy link
Copy Markdown

For models run with hf backend (without accelerate device_map), the input_tokens never get assigned to correct device, this will fix it.

@ethahtz

ethahtz commented Apr 18, 2026

Copy link
Copy Markdown

I second this - without this, the hf backend will not run on gpu devices.

This branch has not been deployed

No deployments
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