mirror of
https://github.com/ostris/ai-toolkit.git
synced 2026-04-27 17:51:41 +00:00
Work to omprove pixart training
This commit is contained in:
@@ -333,7 +333,7 @@ class IPAdapter(torch.nn.Module):
|
||||
if not self.config.train_image_encoder:
|
||||
# compile it
|
||||
print('Compiling image encoder')
|
||||
torch.compile(self.image_encoder, fullgraph=True)
|
||||
#torch.compile(self.image_encoder, fullgraph=True)
|
||||
|
||||
self.input_size = self.image_encoder.config.image_size
|
||||
|
||||
|
||||
Reference in New Issue
Block a user