unload_model_clones(loaded_model,unload_weights_only=False)#unload the rest of the clones where the weights can stay loaded
weights_unloaded=unload_model_clones(loaded_model.model,unload_weights_only=False,force_unload=False)#unload the rest of the clones where the weights can stay loaded