Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
3e147e19
Commit
3e147e19
authored
Mar 28, 2024
by
zhuwenwen
Browse files
remove gfx and update torch version
parent
f0647bb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+2
-2
setup.py
setup.py
+1
-1
No files found.
README.md
View file @
3e147e19
...
@@ -14,9 +14,9 @@ vLLM支持
...
@@ -14,9 +14,9 @@ vLLM支持
#### 编译环境准备
#### 编译环境准备
提供2种环境准备方式:
提供2种环境准备方式:
1.
基于光源pytorch基础镜像环境:镜像下载地址:
[
https://sourcefind.cn/#/image/dcu/pytorch
](
https://sourcefind.cn/#/image/dcu/pytorch
)
,根据pytorch、python、dtk及系统下载对应的镜像版本。
1.
基于光源pytorch
2.1.0
基础镜像环境:镜像下载地址:
[
https://sourcefind.cn/#/image/dcu/pytorch
](
https://sourcefind.cn/#/image/dcu/pytorch
)
,根据pytorch
2.1.0
、python、dtk及系统下载对应的镜像版本。
2.
基于现有python环境:安装pytorch,pytorch whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.10
](
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.10
)
,根据python、dtk版本,下载对应pytorch的whl包。安装命令如下:
2.
基于现有python环境:安装pytorch
2.1.0
,pytorch whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.10
](
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.10
)
,根据python、dtk版本,下载对应pytorch
2.1.0
的whl包。安装命令如下:
```
shell
```
shell
pip
install
torch
*
(
下载的torch的whl包
)
pip
install
torch
*
(
下载的torch的whl包
)
pip
install
setuptools wheel
pip
install
setuptools wheel
...
...
setup.py
View file @
3e147e19
...
@@ -28,7 +28,7 @@ MAIN_CUDA_VERSION = "12.1"
...
@@ -28,7 +28,7 @@ MAIN_CUDA_VERSION = "12.1"
# Supported NVIDIA GPU architectures.
# Supported NVIDIA GPU architectures.
NVIDIA_SUPPORTED_ARCHS
=
{
"7.0"
,
"7.5"
,
"8.0"
,
"8.6"
,
"8.9"
,
"9.0"
}
NVIDIA_SUPPORTED_ARCHS
=
{
"7.0"
,
"7.5"
,
"8.0"
,
"8.6"
,
"8.9"
,
"9.0"
}
ROCM_SUPPORTED_ARCHS
=
{
"gfx908"
,
"gfx90a"
,
"gfx906"
,
"gfx926"
,
"gfx928"
,
"gfx936"
,
"gfx942"
,
"gfx1100"
}
ROCM_SUPPORTED_ARCHS
=
{
"gfx908"
,
"gfx90a"
,
"gfx906"
,
"gfx926"
,
"gfx942"
,
"gfx1100"
}
# SUPPORTED_ARCHS = NVIDIA_SUPPORTED_ARCHS.union(ROCM_SUPPORTED_ARCHS)
# SUPPORTED_ARCHS = NVIDIA_SUPPORTED_ARCHS.union(ROCM_SUPPORTED_ARCHS)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment