安装配置Skywork-R1V需要以下步骤:
environmental preparation
- software dependency:需要Python 3.8+和Git工具
- 硬件推荐:建议使用NVIDIA GPU,并安装CUDA和cuDNN加速库
- system requirements:至少16GB内存
Installation process
- Clone the code repository:
git clone https://github.com/SkyworkAI/Skywork-R1V.git
- Install the dependencies:
pip install -r requirements.txt
- 下载模型文件(约38GB):可通过Hugging Face官网手动下载或使用
huggingface-cli
command - 设置GPU环境变量(可选):
export CUDA_VISIBLE_DEVICES="0,1"
注意:虽然CPU环境也能运行,但推理速度会明显下降。对于复杂任务,建议使用多GPU配置。
This answer comes from the articleSkywork-R1V: A Graphical Hybrid Multimodal Reasoning Model Open Source by Kunlun WanwenThe