update
This commit is contained in:
15
enginex/Qwen2-Audio-7B-Instruct.md
Normal file
15
enginex/Qwen2-Audio-7B-Instruct.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# 运行方式
|
||||
|
||||
```python
|
||||
docker pull git.modelhub.org.cn:9443/enginex-hygon/pytorch:2.3.0-ubuntu22.04-dtk24.04.3-py3.10
|
||||
|
||||
docker run -it -v /path/your_code_data/:/path/your_code_data/ -v /opt/hyhal/:/opt/hyhal/:ro --shm-size=64G --privileged=true --network=host --device=/dev/kfd --device=/dev/dri/ --group-add video --name qwen2-audio bash
|
||||
|
||||
cd /path/your_code_data/Qwen2-Audio/demo
|
||||
|
||||
pip install -r requirements_web_demo.txt -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
|
||||
|
||||
pip install git+https://github.com/modelscope/swift.git#egg=ms-swift[llm]
|
||||
|
||||
pip install git+https://github.com/huggingface/transformers.git
|
||||
```
|
||||
Reference in New Issue
Block a user