stochasticai / xTuring

Build, customize and control you own LLMs. From data pre-processing to fine-tuning, xTuring provides an easy way to personalize open-source LLMs. Join our discord community: https://discord.gg/TgHXuSJEk6
https://xturing.stochastic.ai
Apache License 2.0
2.61k stars 207 forks source link

Can't install: assert len(weights) == expected_node_count #243

Closed blueberry64 closed 1 year ago

blueberry64 commented 1 year ago

pip install xturing

produces this error:

ERROR: Exception: Traceback (most recent call last): File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper status = run_func(*args) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper return func(self, options, args) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 389, in run to_install = resolver.get_installation_order(requirement_set) File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order weights = get_topological_weights( File "/home/deanroland/summarization/.venv/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights assert len(weights) == expected_node_count

It seems to install if I comment out the assert. len(weights) == 154 and expected_node_count == 156. I figure that's close enough lol.

tushar2407 commented 1 year ago

Hi @blueberry64! Seems like the issue not with xTuring library. Please refer to this issue. Hope this helps!