mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-02 23:14:49 +08:00
Lint all unused variables (#5989)
* Enable F841 * Autofix * Remove all unused variable assignment
This commit is contained in:
@@ -103,7 +103,6 @@ def cleanup_additional_models(models):
|
||||
|
||||
|
||||
def prepare_sampling(model: 'ModelPatcher', noise_shape, conds):
|
||||
device = model.load_device
|
||||
real_model: 'BaseModel' = None
|
||||
models, inference_memory = get_additional_models(conds, model.model_dtype())
|
||||
models += model.get_nested_additional_models() # TODO: does this require inference_memory update?
|
||||
|
Reference in New Issue
Block a user