Disable urllib3 logger in prompt_tuner.py to disable aria2 warnings
This commit is contained in:
parent
a51e4f0651
commit
07eb2b5c4f
|
@ -34,6 +34,9 @@ from mkultra.tuning import GPTPromptTuningMixin, GPTNeoPromptTuningLM
|
||||||
from mkultra.soft_prompt import SoftPrompt
|
from mkultra.soft_prompt import SoftPrompt
|
||||||
from typing import Dict, List, Optional, TextIO, Union
|
from typing import Dict, List, Optional, TextIO, Union
|
||||||
|
|
||||||
|
import logging
|
||||||
|
logging.getLogger("urllib3").setLevel(logging.ERROR)
|
||||||
|
|
||||||
import breakmodel
|
import breakmodel
|
||||||
import torch_lazy_loader
|
import torch_lazy_loader
|
||||||
import utils
|
import utils
|
||||||
|
|
Loading…
Reference in New Issue