Skip to content

Commit

Permalink
More fixes (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffra committed Nov 4, 2020
1 parent 769fa1c commit ba5a99d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions deepspeed/runtime/zero/utils.py
Expand Up @@ -31,6 +31,8 @@ def _initialize_parameter_parallel_groups(parameter_parallel_size=None):
ZERO_SUPPORTED_OPTIMIZERS.append(apex.optimizers.FusedAdam)
except ImportError:
pass
except AttributeError:
pass


def is_zero_supported_optimizer(optimizer):
Expand Down
2 changes: 1 addition & 1 deletion op_builder/builder.py
Expand Up @@ -195,7 +195,7 @@ def jit_load(self, verbose=True):


class CUDAOpBuilder(OpBuilder):
def compute_capability_args(self, cross_compile_archs=['52', '60', '61', '70']):
def compute_capability_args(self, cross_compile_archs=['60', '61', '70']):
args = []
if self.jit_mode:
# Compile for underlying architecture since we know it at runtime
Expand Down

0 comments on commit ba5a99d

Please sign in to comment.