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

"Couldn't build binding: [Petals.__init__() got an unexpected keyword argument 'lollmsCom']" when trying to install Petals from the Binding zoo #461

Open OhaDerErste opened 7 months ago

OhaDerErste commented 7 months ago

Expected Behavior

Install Button should work

Current Behavior

Install Button throws up a Error

Steps to Reproduce

  1. Download and run the linux installer
  2. Select AMD GPU and wait for the installer to finnish
  3. Try to install anything from the Binding zoo

Context

I'm on Arch Linux and my GPU is a RX 6600XT This is the full error message:

 - Reinstalling binding bs_petals...
Unmounting binding and model
Reinstalling binding
Exception ignored in: <function Petals.__del__ at 0x7f6ed699a680>
Traceback (most recent call last):
  File "/mnt/SteamGrab3/LoLLMS/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 "/mnt/SteamGrab3/LoLLMS/lollms-webui/app.py", line 1673, in install_binding
    self.binding =  BindingBuilder().build_binding(self.config, self.lollms_paths, InstallOption.FORCE_INSTALL, lollmsCom=self)
  File "/mnt/SteamGrab3/LoLLMS/lollms-webui/lollms_core/lollms/binding.py", line 552, in build_binding
    return binding(
TypeError: Petals.__init__() got an unexpected keyword argument 'lollmsCom'