Update model.py
Browse files
model.py
CHANGED
@@ -49,7 +49,7 @@ class INF5Model(PreTrainedModel):
|
|
49 |
|
50 |
# Download vocab.txt from HF Hub
|
51 |
vocab_path = hf_hub_download(config.name_or_path, filename="checkpoints/vocab.txt")
|
52 |
-
print(self
|
53 |
self.ema_model = torch.compile(load_model(
|
54 |
DiT,
|
55 |
dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
|
|
|
49 |
|
50 |
# Download vocab.txt from HF Hub
|
51 |
vocab_path = hf_hub_download(config.name_or_path, filename="checkpoints/vocab.txt")
|
52 |
+
print(self)
|
53 |
self.ema_model = torch.compile(load_model(
|
54 |
DiT,
|
55 |
dict(dim=1024, depth=22, heads=16, ff_mult=2, text_dim=512, conv_layers=4),
|