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 memory limit error (issue #3763) #4597

Merged
merged 2 commits into from
Nov 15, 2023
Merged

Conversation

null-dev
Copy link
Contributor

@null-dev null-dev commented Nov 15, 2023

get_max_memory_dict() was not properly formatting shared.args.cpu_memory

if shared.args.gpu_memory had the re.match('.*ib$', max_cpu_memory.lower()) check but elif shared.args.auto_devices didn't.

Fixes #3763

oobabooga and others added 2 commits November 13, 2023 11:39
get_max_memory_dict() was not properly formatting shared.args.cpu_memory
@oobabooga oobabooga changed the base branch from main to dev November 15, 2023 23:26
@oobabooga
Copy link
Owner

I never noticed this. Thank you!

@oobabooga oobabooga merged commit 025da38 into oobabooga:dev Nov 15, 2023
oobabooga added a commit that referenced this pull request Nov 16, 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.

Problem when setting CPU memory limit
2 participants