Aore commited on
Commit
6aeb56f
·
1 Parent(s): 6cf1cf3

Upload share.py

Browse files
Files changed (1) hide show
  1. share.py +8 -0
share.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import config
2
+ from cldm.hack import disable_verbosity, enable_sliced_attention
3
+
4
+
5
+ disable_verbosity()
6
+
7
+ if config.save_memory:
8
+ enable_sliced_attention()