support patch ascend
This commit is contained in:
2
patch.ascend/device.py.patch
Normal file
2
patch.ascend/device.py.patch
Normal file
@@ -0,0 +1,2 @@
|
||||
27d26
|
||||
< assert eles[0] in ['cpu', 'cuda', 'gpu'], err_msg
|
||||
10
patch.ascend/text_to_video_synthesis_model.py.patch
Normal file
10
patch.ascend/text_to_video_synthesis_model.py.patch
Normal file
@@ -0,0 +1,10 @@
|
||||
60a61
|
||||
> print(f"kwargs: {kwargs}")
|
||||
62a64
|
||||
> print(f"device: {self.device}")
|
||||
129c131
|
||||
< layer='penultimate')
|
||||
---
|
||||
> layer='penultimate', device=self.device)
|
||||
224a227
|
||||
> print(f"self.device: {self.device}")
|
||||
Reference in New Issue
Block a user