trainer classes now takes care of auto-casting numpy to torch tensors, and setting correct device based on model parameter devices

This commit is contained in:
Phil Wang
2022-05-15 15:25:45 -07:00
parent 0f0011caf0
commit 99778e12de
2 changed files with 33 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ setup(
'dream = dalle2_pytorch.cli:dream'
],
},
version = '0.2.32',
version = '0.2.34',
license='MIT',
description = 'DALL-E 2',
author = 'Phil Wang',
@@ -30,6 +30,7 @@ setup(
'einops-exts>=0.0.3',
'embedding-reader',
'kornia>=0.5.4',
'numpy',
'pillow',
'resize-right>=0.0.2',
'rotary-embedding-torch',