K00B404 commited on
Commit
be8260f
1 Parent(s): a2f7aaa

Update share.py

Browse files
Files changed (1) hide show
  1. share.py +8 -0
share.py CHANGED
@@ -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()