ParisNeo / lollms-webui

Lord of Large Language Models Web User Interface
https://parisneo.github.io/lollms-webui/
Apache License 2.0
4.11k stars 522 forks source link

Error while installing Petals (new) via WebUI #455

Open d13g4 opened 7 months ago

d13g4 commented 7 months ago

Expected Behavior

Installing Petals

Current Behavior

Throwing error and not installing.

Steps to Reproduce

Fresh install of lollms-webui via git: Click on Button to install Petals (new)

Possible Solution

Fix attribute error / possibly related to #454 At least its lollmsCom again.

Context

Exception ignored in: <function Petals.del at 0x7f8c0a885c60> Traceback (most recent call last): File "/home/diemo/lollms-webui/zoos/bindings_zoo/bs_petals/init.py", line 125, in del if self.tokenizer: AttributeError: 'Petals' object has no attribute 'tokenizer' Couldn't build binding: [Petals.init() got an unexpected keyword argument 'lollmsCom'] Traceback (most recent call last): File "/home/diemo/lollms-webui/app.py", line 1639, in install_binding self.binding = BindingBuilder().build_binding(self.config, self.lollms_paths, InstallOption.FORCE_INSTALL, lollmsCom=self) File "/home/diemo/lollms-webui/lollms_core/lollms/binding.py", line 552, in build_binding return binding( TypeError: Petals.init() got an unexpected keyword argument 'lollmsCom'