Open mohalmah opened 1 year ago
I'm having the same problem. When I run the code:
# Web UI tunnel
!COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue" REQS_FILE="requirements.txt" python launch.py
I get this output:
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version: 1.5.1
Commit hash: <none>
Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue
2023-08-11 18:13:11.987236: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-11 18:13:12.981865: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
reading lora /content/microsoftexcel/models/Lora/Goddess.safetensors: AssertionError
Traceback (most recent call last):
File "/content/microsoftexcel/extensions/a1111-microsoftexcel-locon/scripts/../../../extensions-builtin/Lora/network.py", line 35, in __init__
self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata)
File "/content/microsoftexcel/modules/cache.py", line 111, in cached_data_for_file
value = func()
File "/content/microsoftexcel/extensions/a1111-microsoftexcel-locon/scripts/../../../extensions-builtin/Lora/network.py", line 28, in read_metadata
metadata = sd_models.read_metadata_from_safetensors(filename)
File "/content/microsoftexcel/modules/sd_models.py", line 231, in read_metadata_from_safetensors
assert metadata_len > 2 and json_start in (b'{"', b"{'"), f"{filename} is not a safetensors file"
AssertionError: /content/microsoftexcel/models/Lora/Goddess.safetensors is not a safetensors file
Additional Network extension not installed, Only hijack built-in lora
LoCon Extension hijack built-in lora successfully
*** Error loading script: !adetailer.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/adetailer/scripts/!adetailer.py", line 20, in <module>
from adetailer import (
File "/content/microsoftexcel/extensions/adetailer/adetailer/__init__.py", line 2, in <module>
from .args import AD_ENABLE, ALL_ARGS, ADetailerArgs, EnableChecker
File "/content/microsoftexcel/extensions/adetailer/adetailer/args.py", line 39, in <module>
class ADetailerArgs(BaseModel, extra=Extra.forbid):
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 172, in __new__
set_model_fields(cls, bases, config_wrapper, types_namespace)
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 400, in set_model_fields
fields, class_vars = collect_model_fields(cls, bases, config_wrapper, types_namespace, typevars_map=typevars_map)
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_fields.py", line 98, in collect_model_fields
type_hints = get_cls_type_hints_lenient(cls, types_namespace)
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_typing_extra.py", line 212, in get_cls_type_hints_lenient
hints[name] = eval_type_lenient(value, globalns, localns)
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_typing_extra.py", line 224, in eval_type_lenient
return typing._eval_type(value, globalns, localns) # type: ignore
File "/usr/lib/python3.10/typing.py", line 327, in _eval_type
return t._evaluate(globalns, localns, recursive_guard)
File "/usr/lib/python3.10/typing.py", line 694, in _evaluate
eval(self.__forward_code__, globalns, localns),
File "<string>", line 1, in <module>
TypeError: constr() got an unexpected keyword argument 'regex'
---
*** Error loading script: api.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/api.py", line 8, in <module>
from modules.api.models import *
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
---
*** Error loading script: batch_hijack.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/batch_hijack.py", line 7, in <module>
from scripts import external_code
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module>
from internal_controlnet.external_code import *
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module>
from modules.api import api
File "/content/microsoftexcel/modules/api/api.py", line 19, in <module>
from modules.api import models
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
---
*** Error loading script: controlnet.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/controlnet.py", line 13, in <module>
from scripts import global_state, hook, external_code, processor, batch_hijack, controlnet_version, utils
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module>
from internal_controlnet.external_code import *
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module>
from modules.api import api
File "/content/microsoftexcel/modules/api/api.py", line 19, in <module>
from modules.api import models
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
---
2023-08-11 18:13:22,883 - ControlNet - INFO - ControlNet v1.1.237
*** Error loading script: external_code.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module>
from internal_controlnet.external_code import *
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module>
from modules.api import api
File "/content/microsoftexcel/modules/api/api.py", line 19, in <module>
from modules.api import models
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
---
*** Error loading script: xyz_grid_support.py
Traceback (most recent call last):
File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/xyz_grid_support.py", line 8, in <module>
from scripts.external_code import ResizeMode, ControlMode
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module>
from internal_controlnet.external_code import *
File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module>
from modules.api import api
File "/content/microsoftexcel/modules/api/api.py", line 19, in <module>
from modules.api import models
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
---
Loading weights [fe54b5d04d] from /content/microsoftexcel/models/Stable-diffusion/leosamMoonFilm_FilmGrainV2.safetensors
Traceback (most recent call last):
File "/content/microsoftexcel/launch.py", line 39, in <module>
main()
File "/content/microsoftexcel/launch.py", line 35, in main
start()
File "/content/microsoftexcel/modules/launch_utils.py", line 394, in start
webui.webui()
File "/content/microsoftexcel/webui.py", line 393, in webui
shared.demo = modules.ui.create_ui()
File "/content/microsoftexcel/modules/ui.py", line 504, in create_ui
modules.scripts.scripts_txt2img.setup_ui_for_section(category)
File "/content/microsoftexcel/modules/scripts.py", line 433, in setup_ui_for_section
self.create_script_ui(script)
File "/content/microsoftexcel/modules/scripts.py", line 383, in create_script_ui
import modules.api.models as api_models
File "/content/microsoftexcel/modules/api/models.py", line 112, in <module>
).generate_model()
File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model
DynamicModel.__config__.allow_population_by_field_name = True
File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__
raise AttributeError(item)
AttributeError: __config__
Creating model from config: /content/microsoftexcel/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying attention optimization: xformers... done.
Model loaded in 9.5s (load weights from disk: 2.7s, create model: 1.4s, apply weights to model: 2.3s, apply half(): 2.0s, move model to device: 1.0s, calculate empty prompt: 0.1s).
I'm having the same problem. When I run the code:
# Web UI tunnel !COMMANDLINE_ARGS="--share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue" REQS_FILE="requirements.txt" python launch.py
I get this output:
fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0] Version: 1.5.1 Commit hash: <none> Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension --gradio-queue 2023-08-11 18:13:11.987236: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-11 18:13:12.981865: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT reading lora /content/microsoftexcel/models/Lora/Goddess.safetensors: AssertionError Traceback (most recent call last): File "/content/microsoftexcel/extensions/a1111-microsoftexcel-locon/scripts/../../../extensions-builtin/Lora/network.py", line 35, in __init__ self.metadata = cache.cached_data_for_file('safetensors-metadata', "lora/" + self.name, filename, read_metadata) File "/content/microsoftexcel/modules/cache.py", line 111, in cached_data_for_file value = func() File "/content/microsoftexcel/extensions/a1111-microsoftexcel-locon/scripts/../../../extensions-builtin/Lora/network.py", line 28, in read_metadata metadata = sd_models.read_metadata_from_safetensors(filename) File "/content/microsoftexcel/modules/sd_models.py", line 231, in read_metadata_from_safetensors assert metadata_len > 2 and json_start in (b'{"', b"{'"), f"{filename} is not a safetensors file" AssertionError: /content/microsoftexcel/models/Lora/Goddess.safetensors is not a safetensors file Additional Network extension not installed, Only hijack built-in lora LoCon Extension hijack built-in lora successfully *** Error loading script: !adetailer.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/adetailer/scripts/!adetailer.py", line 20, in <module> from adetailer import ( File "/content/microsoftexcel/extensions/adetailer/adetailer/__init__.py", line 2, in <module> from .args import AD_ENABLE, ALL_ARGS, ADetailerArgs, EnableChecker File "/content/microsoftexcel/extensions/adetailer/adetailer/args.py", line 39, in <module> class ADetailerArgs(BaseModel, extra=Extra.forbid): File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 172, in __new__ set_model_fields(cls, bases, config_wrapper, types_namespace) File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 400, in set_model_fields fields, class_vars = collect_model_fields(cls, bases, config_wrapper, types_namespace, typevars_map=typevars_map) File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_fields.py", line 98, in collect_model_fields type_hints = get_cls_type_hints_lenient(cls, types_namespace) File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_typing_extra.py", line 212, in get_cls_type_hints_lenient hints[name] = eval_type_lenient(value, globalns, localns) File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_typing_extra.py", line 224, in eval_type_lenient return typing._eval_type(value, globalns, localns) # type: ignore File "/usr/lib/python3.10/typing.py", line 327, in _eval_type return t._evaluate(globalns, localns, recursive_guard) File "/usr/lib/python3.10/typing.py", line 694, in _evaluate eval(self.__forward_code__, globalns, localns), File "<string>", line 1, in <module> TypeError: constr() got an unexpected keyword argument 'regex' --- *** Error loading script: api.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/api.py", line 8, in <module> from modules.api.models import * File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ --- *** Error loading script: batch_hijack.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/batch_hijack.py", line 7, in <module> from scripts import external_code File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module> from internal_controlnet.external_code import * File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module> from modules.api import api File "/content/microsoftexcel/modules/api/api.py", line 19, in <module> from modules.api import models File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ --- *** Error loading script: controlnet.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/controlnet.py", line 13, in <module> from scripts import global_state, hook, external_code, processor, batch_hijack, controlnet_version, utils File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module> from internal_controlnet.external_code import * File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module> from modules.api import api File "/content/microsoftexcel/modules/api/api.py", line 19, in <module> from modules.api import models File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ --- 2023-08-11 18:13:22,883 - ControlNet - INFO - ControlNet v1.1.237 *** Error loading script: external_code.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module> from internal_controlnet.external_code import * File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module> from modules.api import api File "/content/microsoftexcel/modules/api/api.py", line 19, in <module> from modules.api import models File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ --- *** Error loading script: xyz_grid_support.py Traceback (most recent call last): File "/content/microsoftexcel/modules/scripts.py", line 319, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "/content/microsoftexcel/modules/script_loading.py", line 10, in load_module module_spec.loader.exec_module(module) File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/xyz_grid_support.py", line 8, in <module> from scripts.external_code import ResizeMode, ControlMode File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/scripts/external_code.py", line 1, in <module> from internal_controlnet.external_code import * File "/content/microsoftexcel/extensions/microsoftexcel-controlnet/internal_controlnet/external_code.py", line 9, in <module> from modules.api import api File "/content/microsoftexcel/modules/api/api.py", line 19, in <module> from modules.api import models File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ --- Loading weights [fe54b5d04d] from /content/microsoftexcel/models/Stable-diffusion/leosamMoonFilm_FilmGrainV2.safetensors Traceback (most recent call last): File "/content/microsoftexcel/launch.py", line 39, in <module> main() File "/content/microsoftexcel/launch.py", line 35, in main start() File "/content/microsoftexcel/modules/launch_utils.py", line 394, in start webui.webui() File "/content/microsoftexcel/webui.py", line 393, in webui shared.demo = modules.ui.create_ui() File "/content/microsoftexcel/modules/ui.py", line 504, in create_ui modules.scripts.scripts_txt2img.setup_ui_for_section(category) File "/content/microsoftexcel/modules/scripts.py", line 433, in setup_ui_for_section self.create_script_ui(script) File "/content/microsoftexcel/modules/scripts.py", line 383, in create_script_ui import modules.api.models as api_models File "/content/microsoftexcel/modules/api/models.py", line 112, in <module> ).generate_model() File "/content/microsoftexcel/modules/api/models.py", line 97, in generate_model DynamicModel.__config__.allow_population_by_field_name = True File "/usr/local/lib/python3.10/dist-packages/pydantic/_internal/_model_construction.py", line 205, in __getattr__ raise AttributeError(item) AttributeError: __config__ Creating model from config: /content/microsoftexcel/configs/v1-inference.yaml LatentDiffusion: Running in eps-prediction mode DiffusionWrapper has 859.52 M params. Applying attention optimization: xformers... done. Model loaded in 9.5s (load weights from disk: 2.7s, create model: 1.4s, apply weights to model: 2.3s, apply half(): 2.0s, move model to device: 1.0s, calculate empty prompt: 0.1s).
I think Google blocked running SD on Google Colab, I was running it fine 3 hours ago
don't lose hope! we'll be fine!
hello any updates on what happened or what's going on with the files?
don't lose hope! we'll be fine!
ComfyUI is working fine, Maybe you need to change microsoftexcel to googlesheet lol
same problem here
anyone have solution ?
I am also getting the error. Is there any solution?
I managed to solve,
first step: run the command pip install pip install pydantic==1.8.2
second step: run the desired model file for example majicmixrealist.ipynb
I managed to solve,
first step: run the command
!pip install pydantic==1.8.2
second step: run the desired model file for example majicmixrealist.ipynb
This indeed works, thank you!
It worked for me too. Thank you!
I managed to solve, first step: run the command
!pip install pydantic==1.8.2
second step: run the desired model file for example majicmixrealist.ipynbThis indeed works, thank you!
IT WORKS!!!! Thank you
Thank you.
!pip install pydantic==1.10.5 I found success with this command as well.
I think this colab targets Pydantic v2. So the latest version of v1 (v1.10.12) should be no problem.
I managed to solve,
first step: run the command
pip install pip install pydantic==1.8.2
second step: run the desired model file for example majicmixrealist.ipynb
how to implement this?
I managed to solve, first step: run the command
pip install pip install pydantic==1.8.2
second step: run the desired model file for example majicmixrealist.ipynbhow to implement this?
Click the + Code
button, paste that command, run it, then run the other cell as usual
I am noticing similar problems from starlette like Generate button not working or being unresponsive, maybe a lower version for it needs to be used too.
hey guys google colab stopped working? all collabs are not working for me anymore
getting this error, while trying to run the colab as it is without any modification
tried to add
!pip install tensorrt
but that didn't fix it