Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cpu_accelerator): 🐛 Convert LOCAL_SIZE to integer #3971

Merged
merged 2 commits into from
Jul 17, 2023

Conversation

javsalgar
Copy link
Contributor

Currently, when using the CPU accelerator with the LOCAL_SIZE env var returns this error

'str' object cannot be interpreted as an integer

This is because in the device_count method we are returning a string instead of an integer. This PR fixes the issue #3970

Currently, when using the CPU accelerator with the LOCAL_SIZE env var
returns this error

```
'str' object cannot be interpreted as an integer
```

This is because in the `device_count` method we are returning a string
instead of an integer. This PR fixes the issue

Signed-off-by: Javier Salmeron Garcia <[email protected]>
@jeffra jeffra merged commit f5c834a into deepspeedai:master Jul 17, 2023
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