Skip to content
Merged
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
from ... import op_builder
import torch.nn as nn
from deepspeed import comm as dist
from deepspeed.utils.logging import log_dist

# Cuda modules will be imported if needed
inference_cuda_module = None
minus_inf = -10000.0
Expand Down Expand Up @@ -768,7 +770,7 @@ def __init__(self,
builder = op_builder.InferenceBuilder()
inference_cuda_module = builder.load()

print("DeepSpeed Transformer Inference config is ", self.config.__dict__)
log_dist(f"DeepSpeed-Inference config: {self.config.__dict__}", [0])

self.attention = DeepSpeedSelfAttention(self.config,
mp_group,
Expand Down