Update modeling_avey.py
Browse files- modeling_avey.py +1 -1
modeling_avey.py
CHANGED
|
@@ -12,7 +12,7 @@ from .configuration_avey import AveyConfig
|
|
| 12 |
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
|
| 13 |
from torch.utils.checkpoint import checkpoint
|
| 14 |
|
| 15 |
-
torch._dynamo.config.allow_unspec_int_on_nn_module = True
|
| 16 |
|
| 17 |
class Contextualizer(nn.Module):
|
| 18 |
def __init__(self, config: AveyConfig, layer_idx):
|
|
|
|
| 12 |
from torch.nn import BCEWithLogitsLoss, CrossEntropyLoss, MSELoss
|
| 13 |
from torch.utils.checkpoint import checkpoint
|
| 14 |
|
| 15 |
+
# torch._dynamo.config.allow_unspec_int_on_nn_module = True
|
| 16 |
|
| 17 |
class Contextualizer(nn.Module):
|
| 18 |
def __init__(self, config: AveyConfig, layer_idx):
|