Skip to content

Commit

Permalink
Update BUFSIZE to come from autotuner's constants.py, not numpy (#5686)
Browse files Browse the repository at this point in the history
  • Loading branch information
loadams authored Jun 19, 2024
1 parent 4000cee commit 0c979d6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions deepspeed/autotuning/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

import copy

import numpy
if numpy.__version__ < '2.0.0':
from numpy import BUFSIZE
else:
from numpy._core.umath import BUFSIZE
import json
import subprocess
import sys
Expand All @@ -22,7 +17,7 @@
from tqdm import tqdm

from ..utils import logger
from .constants import AUTOTUNING, AUTOTUNING_METRIC_PATH
from .constants import AUTOTUNING, AUTOTUNING_METRIC_PATH, BUFSIZE
from .utils import get_val_by_key, search_error, was_interruptted
"""
thread-0: loop over experiment queue dispatching experiments if they become available
Expand Down

0 comments on commit 0c979d6

Please sign in to comment.