当前位置: 首页 > news >正文

[移植] tgi 编译

这里写自定义目录标题

  • 报错

报错

Collecting numpy==1.26.4 (from -r requirements_cuda.txt (line 21))Downloading numpy-1.26.4.tar.gz (15.8 MB)━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.8/15.8 MB 15.0 MB/s eta 0:00:00Installing build dependencies ... doneGetting requirements to build wheel ... doneInstalling backend dependencies ... errorerror: subprocess-exited-with-error× pip subprocess to install backend dependencies did not run successfully.│ exit code: 1╰─> [63 lines of output]Collecting patchelf>=0.11.0Downloading patchelf-0.17.2.1.tar.gz (167 kB)Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Collecting ninja>=1.8.2Downloading ninja-1.11.1.1.tar.gz (132 kB)Installing build dependencies: startedInstalling build dependencies: finished with status 'done'Getting requirements to build wheel: startedGetting requirements to build wheel: finished with status 'done'Preparing metadata (pyproject.toml): startedPreparing metadata (pyproject.toml): finished with status 'done'Building wheels for collected packages: patchelf, ninjaBuilding wheel for patchelf (pyproject.toml): startedBuilding wheel for patchelf (pyproject.toml): finished with status 'error'error: subprocess-exited-with-error× Building wheel for patchelf (pyproject.toml) did not run successfully.│ exit code: 1╰─> [9 lines of output]Traceback (most recent call last):File "/tmp/pip-build-env-mtjgz_n7/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 639, in setupcmkr = cmaker.CMaker(cmake_executable)File "/tmp/pip-build-env-mtjgz_n7/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 145, in __init__self.cmake_version = get_cmake_version(self.cmake_executable)File "/tmp/pip-build-env-mtjgz_n7/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 102, in get_cmake_versionraise SKBuildError(msg) from errProblem with the CMake installation, aborting build. CMake executable is cmake[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for patchelfBuilding wheel for ninja (pyproject.toml): startedBuilding wheel for ninja (pyproject.toml): finished with status 'error'error: subprocess-exited-with-error× Building wheel for ninja (pyproject.toml) did not run successfully.│ exit code: 1╰─> [13 lines of output]/tmp/pip-build-env-58pxmg2f/overlay/lib/python3.10/site-packages/setuptools_scm/git.py:312: UserWarning: git archive did not support describe outputwarnings.warn("git archive did not support describe output")/tmp/pip-build-env-58pxmg2f/overlay/lib/python3.10/site-packages/setuptools_scm/git.py:331: UserWarning: unprocessed git archival found (no export subst applied)warnings.warn("unprocessed git archival found (no export subst applied)")Traceback (most recent call last):File "/tmp/pip-build-env-58pxmg2f/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 639, in setupcmkr = cmaker.CMaker(cmake_executable)File "/tmp/pip-build-env-58pxmg2f/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 145, in __init__self.cmake_version = get_cmake_version(self.cmake_executable)File "/tmp/pip-build-env-58pxmg2f/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 102, in get_cmake_versionraise SKBuildError(msg) from errProblem with the CMake installation, aborting build. CMake executable is cmake[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.ERROR: Failed building wheel for ninjaFailed to build patchelf ninjaERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (patchelf, ninja)[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
make[1]: *** [Makefile:26: install-server] Error 1
make[1]: Leaving directory '/app/text-generation-inference/server'
make: *** [Makefile:2: install-server] Error 2
bash: text-generation-launcher: command not found

apt install patchelf ninja-build
apt install gfortran

http://www.lryc.cn/news/457240.html

相关文章:

  • vue-element-admin后台集成方案
  • 40条经典ChatGPT论文指令,圈定选题和进行论文构思
  • 在不支持WSL2的Windows环境下安装Redis并添加环境变量的方法
  • 《Electron 基础知识》代码打开开发者工具DevTools
  • 小米R3G刷机OP
  • 移动机器人规划控制合集
  • Type-C接口桌面显示器的优势
  • 机器学习中的熵(Entropy)是什么?
  • JAVA基础:Lock不同的锁形式
  • 【LeetCode每日一题】——679.24 点游戏
  • 【Conda】Conda命令详解:高效更新与环境管理指南
  • 机器学习:回归模型和分类模型的评估方法介绍
  • 担心学术窃取?阿里云加密的AI论文工具帮你锁紧数据!
  • leetcode经典算法题总结
  • 运维工具之ansible
  • 基于 CSS Grid 的简易拖拉拽 Vue3 组件,从代码到NPM发布(1)- 拖拉拽交互
  • 【华为HCIP实战课程六】OSPF邻居关系排错网络子网掩码问题,网络工程师
  • 基础教程 | 用VuePress搭建一个简单的个人博客(附源码)
  • Ubuntu20.04,编译安装BCC
  • # 显卡算力参数对比
  • 掌握RocketMQ4.X消息中间件(一)-RocketMQ基本概念与系统架构
  • 实际开发中,java开发的准备工作
  • SQL进阶技巧:Order by 中 NULLS LAST特性使用?
  • Redis:cpp.redis++类型操作
  • 感冒用药记录
  • JMeter性能测试时,如何做CSV参数化
  • 爬虫获取不同数据类型(如JSON,HTML)的处理方法以及图片相对URL地址的转换
  • Elasticsearch 实战应用
  • 前端数据加载慢的解决方法
  • 探索MultiApp:一款强大的多应用管理工具