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

Updates needed for NumPy 2+ #5673

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion deepspeed/autotuning/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

METRIC_PERCENT_DIFF_CONST = 0.05
DS_CONFIG = "ds_config"
BUFSIZE = 1 # line buffer size for writing files

#########################################
# autotuner configuration constants
Expand Down
3 changes: 2 additions & 1 deletion deepspeed/autotuning/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import copy

from numpy import BUFSIZE
from numpy import getbufsize
import json
import subprocess
import sys
Expand All @@ -28,6 +28,7 @@
from deepspeed import comm as dist

TIMEOUT = 5
BUFSIZE = getbufsize()


class ResourceManager:
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
hjson
ninja
numpy
numpy>=2.0.0
nvidia-ml-py
packaging>=20.0
psutil
Expand Down
Loading