Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 'NoneType' object has no attribute 'strip' #125

Open
Enferlain opened this issue Mar 7, 2024 · 2 comments
Open

Error: 'NoneType' object has no attribute 'strip' #125

Enferlain opened this issue Mar 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Enferlain
Copy link

Any idea what this is? I used auto merger yesterday, but I don't know what I'm doing differently today

 - loading sd_modelmixer.hyper...
 - set search lower, upper = -0.4 0.4
 - fix request parameter order...
####################  Auto merger using Hyperactive  ####################
 - search_space keys = dict_keys(['model_b.BASE', 'model_b.IN00', 'model_b.IN01', 'model_b.IN02', 'model_b.IN03', 'model_b.IN04', 'model_b.IN05', 'model_b.IN06', 'model_b.IN07', 'model_b.IN08', 'model_b.M00', 'model_b.OUT00', 'model_b.OUT01', 'model_b.OUT02', 'model_b.OUT03', 'model_b.OUT04', 'model_b.OUT05', 'model_b.OUT06', 'model_b.OUT07', 'model_b.OUT08', 'model_c.alpha'])
 - warm_start =  {'model_b.BASE': 0.5, 'model_b.IN00': 0.5, 'model_b.IN01': 0.5, 'model_b.IN02': 0.5, 'model_b.IN03': 0.5, 'model_b.IN04': 0.5, 'model_b.IN05': 0.5, 'model_b.IN06': 0.5, 'model_b.IN07': 0.5, 'model_b.IN08': 0.5, 'model_b.M00': 0.5, 'model_b.OUT00': 0.5, 'model_b.OUT01': 0.5, 'model_b.OUT02': 0.5, 'model_b.OUT03': 0.5, 'model_b.OUT04': 0.5, 'model_b.OUT05': 0.5, 'model_b.OUT06': 0.5, 'model_b.OUT07': 0.5, 'model_b.OUT08': 0.5, 'model_c.alpha': 0.5}
 - search type =  BayesianOptimizer SimulatedAnnealingOptimizer
{'xi': 0.3, 'max_sample_size': 10000000, 'sampling': {'random': 1000000}, 'rand_rest_p': 0.0} {'epsilon': 0.03, 'distribution': 'normal', 'n_neighbours': 3, 'start_temp': 1.0, 'annealing_rate': 0.97}
 - opt_strategy =  <hyperactive.optimizers.strategies.custom_optimization_strategy.CustomOptimizationStrategy object at 0x0000022E096AA170> <class 'hyperactive.optimizers.strategies.custom_optimization_strategy.CustomOptimizationStrategy'>
Error: 'NoneType' object has no attribute 'strip'

The log message just says "Failed to call hyper.run()"

Thought it happened because I added a model C, but I disabled it and I still get the same error :(

@Enferlain
Copy link
Author

Was something in the payload. Either an image with lora or some other stuff added to it.

@wkpark wkpark self-assigned this Mar 8, 2024
@wkpark wkpark added the bug Something isn't working label Mar 8, 2024
@wkpark
Copy link
Owner

wkpark commented Mar 8, 2024

thank you for your reporting!

Currently, auto merger does not manage/detect all possible conditions, that's why you've got the strange error.

@wkpark wkpark reopened this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants