一个开源脚本,可自动安装在 AMD Radeon 7900XTX 上运行选定 AI 接口所需的所有内容

​一、软件介绍

文末提供程序和源码下载

        一个开源脚本,可自动安装在 AMD Radeon 7900XTX 上运行选定 AI 接口所需的所有内容。

二、ROCm-AI-Installer ROCm-AI-安装程序

一个开源脚本,可自动安装在 AMD Radeon 7900XTX 上运行选定 AI 接口所需的所有内容。它也应该适用于 7900XT 卡。对于其他卡,请在脚本开头更改 HSA_OVERRIDE_GFX_VERSION 和 GFX(未测试)

Note 注意

Ubuntu 24.04.2 LTS is recommended. Version 7.x is not tested on older systems.
建议使用 Ubuntu 24.04.2 LTS。版本 7.x 未在较旧的系统上进行测试。

Test platform: 测试平台:

Name 名字Info 信息
CPU 中央处理器AMD Ryzen 9950X3D (iGPU disabled in BIOS)
AMD Ryzen 9950X3D(iGPU 在 BIOS 中禁用)
GPU 图形处理器AMD Radeon 7900XTX AMD Radeon 7900XTX 显卡
RAM 公羊64GB DDR5 6600MHz
Motherboard 母板ASRock B650E PG Riptide WiFi (BIOS 3.20)
华擎 B650E PG Riptide WiFi (BIOS 3.20)
OSUbuntu 24.04.2 LTS
Kernel 内核6.11.0-25-generic 6.11.0-25-通用
ROCm6.4

Text generation 文本生成

Name 名字Links 链接Additional information 其他信息:
KoboldCPP 狗头人CPPGitHub - YellowRoseCx/koboldcpp-rocm: AI Inferencing at the Edge. A simple one-file way to run various GGML models with KoboldAI's UI with AMD ROCm offloading1. Support GGML and GGUF models.
1. 支持 GGML 和 GGUF 模型。
Text generation web UI
文本生成 Web UI
GitHub - oobabooga/text-generation-webui: A Gradio web UI for Large Language Models with support for multiple inference backends.
GitHub - ROCm/bitsandbytes: 8-bit CUDA functions for PyTorch
GitHub - turboderp-org/exllamav2: A fast inference library for running LLMs locally on modern consumer-class GPUs
1. Support ExLlamaV2, Transformers using ROCm and llama.cpp using Vulkan.
1. 支持 ExLlamaV2、使用 ROCm 的 Transformers 和使用 Vulkan 的 llama.cpp。
SillyTavern SillyTavern (愚蠢酒馆)GitHub - SillyTavern/SillyTavern: LLM Frontend for Power Users.
llama.cppGitHub - ggml-org/llama.cpp: LLM inference in C/C++1. Put model.gguf into llama.cpp folder.
1. 将 model.gguf 放入 llama.cpp 文件夹中。
2. Change context size in run.sh file (Default: 32768).
2. 更改文件中 run.sh 上下文大小(默认值:32768)。
3. Set GPU offload layers in run.sh file (Default: 1)
3. 在 run.sh 文件中设置 GPU 卸载图层(默认值:1)

Image generation 图像生成

Name 名字Links 链接Additional information 其他信息:
ComfyUI 舒适用户界面GitHub - comfyanonymous/ComfyUI: The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.1. Workflows templates are in the workflows folder.
1. 工作流模板位于 workflows 文件夹中。
Artist 艺术家GitHub - songrise/Artist: Official repo for DiffArtist: Towards Structure and Appearance Controllable Image Stylization
ComfyUI Addons ComfyUI 插件

Important 重要

For GGUF models: 对于 GGUF 型号:
1. Accept accept the conditions to access its files and content on HugginFace website:
1. 接受接受 HugginFace 网站访问其文件和内容的条件:
https://huggingface.co/black-forest-labs/FLUX.1-schnell
2. HugginFace token is required during installation.
2. 安装时需要 HugginFace 令牌。

Name 名字Link 链接Additional information 其他信息:
ComfyUI-Manager ComfyUI-管理器GitHub - Comfy-Org/ComfyUI-Manager: ComfyUI-Manager is an extension designed to enhance the usability of ComfyUI. It offers management functions to install, remove, disable, and enable various custom nodes of ComfyUI. Furthermore, this extension provides a hub feature and convenience functions to access a wide range of information within ComfyUI.Manage nodes of ComfyUI.
管理 ComfyUI 的节点。
ComfyUI-GGUF 舒适UI-GGUFGitHub - city96/ComfyUI-GGUF: GGUF Quantization support for native ComfyUI models
https://huggingface.co/city96/t5-v1_1-xxl-encoder-bf16
https://huggingface.co/openai/clip-vit-large-patch14
https://huggingface.co/black-forest-labs/FLUX.1-schnell
GGUF models loader. GGUF 模型加载器。
ComfyUI-AuraSR 舒适UI-AuraSRGitHub - alexisrolland/ComfyUI-AuraSR: Custom nodes for ComfyUI to run AuraSR models.
https://huggingface.co/fal/AuraSR
https://huggingface.co/fal/AuraSR-v2
ComfyUI node to upscale images.
ComfyUI 节点来放大图像。
AuraFlow-v0.3 光流 v0.3https://huggingface.co/fal/AuraFlow-v0.3Text to image model.
文本到图像模型。
FLUX.1-schnell GGUFhttps://huggingface.co/black-forest-labs/FLUX.1-schnell
https://huggingface.co/city96/FLUX.1-schnell-gguf
Text to image model.
文本到图像模型。
AnimePro FLUX GGUFhttps://huggingface.co/advokat/AnimePro-FLUXText to image model.
文本到图像模型。
Flex.1-alpha GGUFhttps://huggingface.co/ostris/Flex.1-alpha
https://huggingface.co/hum-ma/Flex.1-alpha-GGUF
Text to image model.
文本到图像模型。

Video generation 视频生成

Name 名字Links 链接Additional information 其他信息:
Cinemo 西莫https://huggingface.co/spaces/maxin-cn/Cinemo
GitHub - maxin-cn/Cinemo: [CVPR 2025] Consistent and Controllable Image Animation with Motion Diffusion Models
1. Interface PyTorch uses PyTorch 2.4.0
1. 接口 PyTorch 使用 PyTorch 2.4.0

Music generation 音乐生成

Name 名字Links 链接Additional information 其他信息:
ACE-Step ACE 步GitHub - ace-step/ACE-Step: ACE-Step: A Step Towards Music Generation Foundation Model

Voice generation 语音生成

Name 名字Links 链接Additional information 其他信息:
WhisperSpeech web UI WhisperSpeech 网页 UIGitHub - Mateusz-Dera/whisperspeech-webui: Simple WhisperSpeech web UI
GitHub - WhisperSpeech/WhisperSpeech: An Open Source text-to-speech system built by inverting Whisper.
F5-TTS F5-TTS 系列GitHub - SWivid/F5-TTS: Official code for "F5-TTS: A Fairytaler that Fakes Fluent and Faithful Speech with Flow Matching"1. Remember to select the voice file when using the interface.
1. 使用界面时记得选择语音文件。
Matcha-TTS 抹茶-TTSGitHub - shivammehta25/Matcha-TTS: [ICASSP 2024] 🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching
Dia 日GitHub - nari-labs/dia: A TTS model capable of generating ultra-realistic dialogue in one pass.
GitHub - tralamazza/dia: A TTS model capable of generating ultra-realistic dialogue in one pass.
1. Script uses the optional-rocm-cuda fork by tralamazza.
1. 脚本使用 tralamazza 的 optional-rocm-cuda fork。
Orpheus-TTShttps://huggingface.co/spaces/MohamedRashad/Orpheus-TTS/tree/main
GitHub - canopyai/Orpheus-TTS: Towards Human-Sounding Speech
1. If GPU is not detected change HIP_VISIBLE_DEVICES value.
1. 如果未检测到 GPU,请更改 HIP_VISIBLE_DEVICES 值。
IMS-Toucan IMS-巨嘴鸟GitHub - DigitalPhonetics/IMS-Toucan: Controllable and fast Text-to-Speech for over 7000 languages!1. PyTorch 2.7.0 slowed down performance, so the interface uses version 2.4.0
1. PyTorch 2.7.0 降低了性能,因此界面使用 2.4.0 版本

3D generation 3D 生成

Name 名字Links 链接Additional information 其他信息:
TripoSG TripoSG 系列GitHub - VAST-AI-Research/TripoSG: TripoSG: High-Fidelity 3D Shape Synthesis using Large-Scale Rectified Flow Models1. Added custom simple UI.
1. 添加了自定义简单 UI。
2. Sometimes there are probelms with the preview, but the model should still be available for download.
2. 有时预览存在问题,但模型仍应可供下载。

Tools 工具

Name 名字Links 链接Additional information 其他信息:
Fastfetch 快速获取GitHub - fastfetch-cli/fastfetch: A maintained, feature-rich and performance oriented, neofetch like system information tool.1. Custom Fastfetch configuration with GPU memory info.
1. 带有 GPU 内存信息的自定义 Fastfetch 配置。
2. Script supports not only AMD but also NVIDIA graphics cards (nvidia-smi needed).
2. 脚本不仅支持 AMD,还支持 NVIDIA 显卡(需要 nvidia-smi)。
3. If you change the number or order of graphics cards you must run the installer again.
3. 如果更改了显卡的数量或顺序,则必须再次运行安装程序。

三、Instalation: 安装方式:

Note 注意

First startup after installation of the selected interface may take longer.
安装所选接口后首次启动可能需要更长的时间。

Important 重要

This script does not download any models. If the interface does not have defaults, download your own.
此脚本不会下载任何模型。如果界面没有默认值,请下载您自己的界面。

Caution 谨慎

If you update, back up your settings and models. Reinstallation deletes the previous directories.
如果您更新,请备份您的设置和模型。重新安装将删除以前的目录。

1. Add the user to the required groups.
1. 将用户添加到所需的组。

sudo adduser `whoami` video
sudo adduser `whoami` render

2. Reboot 2. 重新启动

sudo reboot

3. Clone repository 3. 克隆存储库

git clone https://github.com/Mateusz-Dera/ROCm-AI-Installer.git

4. Run installer 4. 运行安装程序

bash ./install.sh

5. Select installation path.
5. 选择安装路径。

6. Select ROCm installation if you are upgrading or running the script for the first time.
6. 如果您是首次升级或运行脚本,请选择 ROCm 安装。

7. Install selected interfaces
7. 安装选定的接口

8. Go to the installation path with the selected interface and run:
8. 转到包含所选接口的安装路径并运行:

./run.sh

软件下载

夸克网盘分享

本文信息来源于GitHub作者地址:GitHub - Mateusz-Dera/ROCm-AI-Installer: A script that automatically installs all the required stuff to run selected AI interfaces on AMD Radeon 7900XTX.

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.pswp.cn/news/907433.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

【Axure结合Echarts绘制图表】

1.绘制一个矩形,用于之后存放图表,将其命名为test: 2.新建交互 -> 载入时 -> 打开链接: 3.链接到URL或文件路径: 4.点击fx: 5.输入: javascript: var script document.createEleme…

Relooking:损失权重λ 、梯度权重α、学习率η

一般多任务,大家都喜欢叠加很多损失,由此产生很多损失权重系数。此外,有的学者直接对梯度进行操作。咋一看,上面三个系数貌似重复多余,直接用其中一个系数代替不行吗?为此,回顾了下神经网络的前…

数学复习笔记 20

复习方程组,还有随便复习一下高数和矩阵,向量。现在是复习高数的导数这一章。两个曲线相切,列出方程,然后解出参数,没有任何难度呢。算切线方程,就是,算导数,导数就用导数定义&#…

Sqlalchemy 连mssql坑

连接失败: (pyodbc.OperationalError) (08001, [08001] [Microsoft][ODBC Driver 17 for SQL Server]SSL Provider: [error:0A00014D:SSL routines::legacy sigalg disallowed or unsupported] (-1) (SQLDriverConnect)) (Background on this error at: https://sqlalche.me/e/…

AI大模型学习三十、ubuntu安装comfyui,安装插件,修改返回405 bug,值得一看喔

一、说明 ComfyUI是一个开源的、基于节点的Web应用。它允许用户根据一系列文本提示(Prompt)生成图像。 ComfyUI使用扩散模型作为基础模型,并结合 ControlNet、Lora和LCM低阶自适应等模型,每个工具都由程序中的一个节点表示 二、开…

MySQL(40)如何使用DROP TABLE删除表?

DROP TABLE 语句用于从数据库中永久删除一个表及其所有数据。执行该语句后,表结构和数据都将被彻底删除,且无法恢复。因此,在执行 DROP TABLE 操作之前,请确保已备份好相关数据。 基本语法 DROP TABLE table_name;如果要删除多个…

element ui 表格 勾选复选框后点击分页不保存之前的数据问题

element ui 表格 勾选复选框后点击分页不保存之前的数据问题 给 el-table上加 :row-key"getRowKey"给type“selection” 上加 :reserve-selection"true"

vite常见面试问题

一、Vite 核心原理 1. Vite 为什么比 Webpack 快? 答案: Vite 的核心优势在于开发环境和生产环境的双重优化: 开发环境: 基于原生 ESM(ES Modules):浏览器直接加载 ES 模块,无需打包,启动时间极短(毫秒级)。按需编译:仅编译当前页面所需的模块,而非整个项目。预…

Screen 连接远程服务器(Ubuntu)

连接 1. 安装screen 默认预安装&#xff0c;可以通过命令查看&#xff1a; screen --version 若未安装&#xff1a; # Ubuntu/Debian sudo apt-get install screen 2. 本机连接远程服务器 ssh root192.168.x.x 在远程服务器中打开screen&#xff1a; screen -S <nam…

Flutter GridView网格组件

目录 常用属性 GridView使用配置 GridView.count使用 GridView.extent使用 GridView.count Container 实现列表 GridView.extent Container 实现列表 GridView.builder使用 GridView网格布局在实际项目中用的也是非常多的&#xff0c;当我们想让可以滚动的元素使用矩阵…

Jenkins实践(8):服务器A通过SSH调用服务器B执行Python自动化脚本

Jenkins实践(8):服务器A通过SSH调用服务器B执行Python自动化脚本 1、需求: 1、Jenkins服务器在74上,Python脚本在196服务器上 2、需要在服务器74的Jenkins上调用196上的脚本执行Python自动化测试 2、操作步骤 第一步:Linux Centos7配置SSH免密登录 Linux Centos7配置S…

C#二维码:利用 ThoughtWorks.QRCode 库实现二维码生成与解析

C#二维码&#xff1a;利用 ThoughtWorks.QRCode 库实现二维码生成与解析 在当今数字化信息交互频繁的时代&#xff0c;二维码凭借其信息容量大、容错能力强、易识别等特点&#xff0c;广泛应用于各个领域。从移动支付、产品溯源到活动签到&#xff0c;二维码无处不在。在 C# 开…

【Java Web】速通JavaScript

参考笔记:JavaWeb 速通JavaScript_javascript 速通-CSDN博客 目录 一、JavaScript快速入门 1. 基本介绍 2. JavaScript特点 3. JavaScript的引入方式(重要) 3.1 写在script标签中 ​​​​​3.2 以外部文件方式引入 二、JS的数据类型 1. 变量 2. 常用数据类型 3.特殊值 三、…

Python打卡训练营-Day13-不平衡数据的处理

浙大疏锦行 知识点&#xff1a; 不平衡数据集的处理策略&#xff1a;过采样、修改权重、修改阈值交叉验证代码 过采样 过采样一般包含2种做法&#xff1a;随机采样和SMOTE 过采样是把少的类别补充和多的类别一样多&#xff0c;欠采样是把多的类别减少和少的类别一样 一般都是缺…

Mac OS 使用说明

Mac 的启动组合键 了解可通过在启动时按住一个或多个按键来访问的 Mac 功能和工具。 若要使用这些组合键中的任何一个&#xff0c;请在按下电源按钮以开启 Mac 后或在 Mac 开始重新启动后&#xff0c;立即按住相应按键。请一直按住&#xff0c;直至电脑出现对应的行为。 !!!上…

LoadRunner 是什么

LoadRunner 是一款由 Micro Focus&#xff08;原惠普企业软件部门&#xff09;开发的性能测试工具&#xff0c;广泛应用于软件、应用程序和系统的 负载测试、压力测试 和 性能分析。它通过模拟大量用户并发操作&#xff0c;帮助测试人员评估系统在高负载下的性能、稳定性和可扩…

RISC-V PMA、PMP机制深入分析

1 PMA PMA&#xff08;Physical Memory Attributes&#xff09;&#xff0c;物理内存属性&#xff0c;顾名思义就是用来设置物理内存属性的&#xff0c;但这里说“设置”&#xff0c;并不合理&#xff0c;因为一般情况下各存储的属性&#xff0c;在芯片设计时就固定了&#xf…

SQL正则表达式总结

这里写目录标题 一、元字符二、正则表达函数1、 regexp_like(x,pattern[,match_option])2、 regexp_instr(x,pattern[,start[,occurrence[,return_option[, match_option]]]]) 3、 REGEXP_SUBSTR(x,pattern[,start[,occurrence[, match_option]]]) 4、 REGEXP_REPLACE(x,patter…

Shortest path 代码

Project https://graphics.cs.utah.edu/research/projects/shortest-path-to-boundary/ Build and Debug Fork:(在Win10上&#xff09; https://github.com/chunleili/Shortest-Path-to-Boundary-for-Self-Intersecting-Meshes commit hash d3160168d2b6a58188d12e6cd959da…

AMBA总线家族成员

在AMBA总线协议体系中&#xff0c;AXI4虽然是最新且性能最强的总线协议&#xff0c;但AHB和APB仍然被广泛使用&#xff0c;主要原因在于​​场景适配性、资源优化和系统兼容性​​的综合考量。以下是具体分析&#xff1a; AMBA 1‌&#xff1a;仅包含ASB和APB1。‌AMBA 2‌&am…