Revert "Fix ruff linter (#137)" (#143)

This reverts commit 6b3ad64388.
This commit is contained in:
Chenlei Hu
2024-02-09 02:24:04 +00:00
committed by GitHub
parent b49742354d
commit 388ca351f4
18 changed files with 39 additions and 25 deletions

View File

@@ -30,10 +30,10 @@ def initialize_forge():
for bad in bad_list:
if bad in sys.argv:
print(f'Arg {bad} is removed in Forge.')
print('Now memory management is fully automatic and you do not need any command flags.')
print('Please just remove this flag.')
print('In extreme cases, if you want to force previous lowvram/medvram behaviors, '
'please use --always-offload-from-vram')
print(f'Now memory management is fully automatic and you do not need any command flags.')
print(f'Please just remove this flag.')
print(f'In extreme cases, if you want to force previous lowvram/medvram behaviors, '
f'please use --always-offload-from-vram')
from ldm_patched.modules import args_parser