Spaces:
Configuration error
Configuration error
Update model/ea_model.py
Browse files- model/ea_model.py +0 -2
model/ea_model.py
CHANGED
|
@@ -160,8 +160,6 @@ class EaModel(nn.Module):
|
|
| 160 |
|
| 161 |
with torch.inference_mode():
|
| 162 |
# Pass input through the base model
|
| 163 |
-
print("Weight is on device:", self.base_model.base_model.embed_tokens.weight.device)
|
| 164 |
-
print("Input is on device:", input_ids.device)
|
| 165 |
outputs = self.base_model.model(
|
| 166 |
input_ids=input_ids,
|
| 167 |
attention_mask=attention_mask,
|
|
|
|
| 160 |
|
| 161 |
with torch.inference_mode():
|
| 162 |
# Pass input through the base model
|
|
|
|
|
|
|
| 163 |
outputs = self.base_model.model(
|
| 164 |
input_ids=input_ids,
|
| 165 |
attention_mask=attention_mask,
|