Hugging Face's logo
John2J
/
Agents
Runtime error

runtime error

Exit code: 1. Reason: "/usr/local/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 560, in run self.add_defaults() File "/usr/local/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 597, in add_defaults sdist.add_defaults(self) File "/usr/local/lib/python3.10/site-packages/setuptools/command/sdist.py", line 106, in add_defaults super().add_defaults() File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 252, in add_defaults self._add_defaults_ext() File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext build_ext = self.get_finalized_command('build_ext') File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command cmd_obj = self.distribution.get_command_obj(command, create) File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 860, in get_command_obj cmd_obj = self.command_obj[command] = klass(self) File "<string>", line 295, in __init__ ModuleNotFoundError: No module named 'psutil' [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> flash-attn note: This is an issue with the package mentioned above, not pip. hint: See above for details. Traceback (most recent call last): File "/home/user/app/app.py", line 48, in <module> subprocess.run([python_executable, "-m", "pip", "install", "flash-attn==2.5.9.post1", "--no-build-isolation"], check=True) File "/usr/local/lib/python3.10/subprocess.py", line 526, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'pip', 'install', 'flash-attn==2.5.9.post1', '--no-build-isolation']' returned non-zero exit status 1.

Container logs:

Fetching error logs...