We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pip -v 3.10.16 yanghouqing@yanghouqingdeMacBook-Pro ~ % iopaint start --model=lama --device=cpu --port=8080 2024-12-13 16:52:48.719 | INFO | iopaint.runtime:setup_model_dir:80 - Model directory: /Users/yanghouqing/.cache
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮ │ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/utils/import_utils.py:1793 in │ │ _get_module │ │ │ │ 1790 │ │ │ 1791 │ def _get_module(self, module_name: str): │ │ 1792 │ │ try: │ │ ❱ 1793 │ │ │ return importlib.import_module("." + module_name, self.name) │ │ 1794 │ │ except Exception as e: │ │ 1795 │ │ │ raise RuntimeError( │ │ 1796 │ │ │ │ f"Failed to import {self.name}.{module_name} because of the followin │ │ │ │ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/importlib/init.py:126 in import_module │ │ │ │ 123 │ │ │ if character != '.': │ │ 124 │ │ │ │ break │ │ 125 │ │ │ level += 1 │ │ ❱ 126 │ return _bootstrap._gcd_import(name[level:], package, level) │ │ 127 │ │ 128 │ │ 129 _RELOADING = {} │ │ in _gcd_import:1050 │ │ in _find_and_load:1027 │ │ in _find_and_load_unlocked:1006 │ │ in _load_unlocked:688 │ │ in exec_module:883 │ │ in _call_with_frames_removed:241 │ │ │ │ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/models/clip/modeling_clip.py:28 │ │ in │ │ │ │ 25 from ...activations import ACT2FN │ │ 26 from ...modeling_attn_mask_utils import _create_4d_causal_attention_mask, _prepare_4d_at │ │ 27 from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling, ImageClassi │ │ ❱ 28 from ...modeling_utils import PreTrainedModel │ │ 29 from ...pytorch_utils import is_torch_greater_or_equal_than_2_2 │ │ 30 from ...utils import ( │ │ 31 │ ModelOutput, │ │ │ │ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/modeling_utils.py:48 in │ │ │ │ │ │ 45 from .dynamic_module_utils import custom_object_save │ │ 46 from .generation import CompileConfig, GenerationConfig, GenerationMixin │ │ 47 from .integrations import PeftAdapterMixin, deepspeed_config, is_deepspeed_zero3_enabled │ │ ❱ 48 from .loss.loss_utils import LOSS_MAPPING │ │ 49 from .pytorch_utils import ( # noqa: F401 │ │ 50 │ Conv1D, │ │ 51 │ apply_chunking_to_forward, │ │ │ │ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/loss/loss_utils.py:19 in │ │
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pip -v 3.10.16 yanghouqing@yanghouqingdeMacBook-Pro ~ % iopaint start --model=lama --device=cpu --port=8080
2024-12-13 16:52:48.719 | INFO | iopaint.runtime:setup_model_dir:80 - Model directory: /Users/yanghouqing/.cache
╭───────────────────────────────────────── Traceback (most recent call last) ──────────────────────────────────────────╮
│ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/utils/import_utils.py:1793 in │
│ _get_module │
│ │
│ 1790 │ │
│ 1791 │ def _get_module(self, module_name: str): │
│ 1792 │ │ try: │
│ ❱ 1793 │ │ │ return importlib.import_module("." + module_name, self.name) │
│ 1794 │ │ except Exception as e: │
│ 1795 │ │ │ raise RuntimeError( │
│ 1796 │ │ │ │ f"Failed to import {self.name}.{module_name} because of the followin │
│ │
│ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/importlib/init.py:126 in import_module │
│ │
│ 123 │ │ │ if character != '.': │
│ 124 │ │ │ │ break │
│ 125 │ │ │ level += 1 │
│ ❱ 126 │ return _bootstrap._gcd_import(name[level:], package, level) │
│ 127 │
│ 128 │
│ 129 _RELOADING = {} │
│ in _gcd_import:1050 │
│ in _find_and_load:1027 │
│ in _find_and_load_unlocked:1006 │
│ in _load_unlocked:688 │
│ in exec_module:883 │
│ in _call_with_frames_removed:241 │
│ │
│ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/models/clip/modeling_clip.py:28 │
│ in │
│ │
│ 25 from ...activations import ACT2FN │
│ 26 from ...modeling_attn_mask_utils import _create_4d_causal_attention_mask, _prepare_4d_at │
│ 27 from ...modeling_outputs import BaseModelOutput, BaseModelOutputWithPooling, ImageClassi │
│ ❱ 28 from ...modeling_utils import PreTrainedModel │
│ 29 from ...pytorch_utils import is_torch_greater_or_equal_than_2_2 │
│ 30 from ...utils import ( │
│ 31 │ ModelOutput, │
│ │
│ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/modeling_utils.py:48 in │
│ │
│ │
│ 45 from .dynamic_module_utils import custom_object_save │
│ 46 from .generation import CompileConfig, GenerationConfig, GenerationMixin │
│ 47 from .integrations import PeftAdapterMixin, deepspeed_config, is_deepspeed_zero3_enabled │
│ ❱ 48 from .loss.loss_utils import LOSS_MAPPING │
│ 49 from .pytorch_utils import ( # noqa: F401 │
│ 50 │ Conv1D, │
│ 51 │ apply_chunking_to_forward, │
│ │
│ /Users/yanghouqing/.pyenv/versions/3.10.16/lib/python3.10/site-packages/transformers/loss/loss_utils.py:19 in │
│
The text was updated successfully, but these errors were encountered: