mirror of
https://github.com/SkyworkAI/Skywork-R1V.git
synced 2026-11-28 07:27:27 +08:00
update setup.sh
This commit is contained in:
1 parent
6c21c022e3
commit
052daf6388
3 files changed
+13
-11
No files matched your search
@@ -253,8 +253,9 @@ cd skywork-r1v/inference
|
||||
### 2. Set Up the Environment
|
||||
|
||||
```shell
|
||||
pip install -r requirements.txt
|
||||
pip install flash-attn --no-build-isolation
|
||||
conda create -n r1-v python=3.10
|
||||
conda activate r1-v
|
||||
bash setup.sh
|
||||
```
|
||||
|
||||
### 3. Run the Inference Script
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
torch==2.6.0
|
||||
pillow==11.1.0
|
||||
torchvision>=0.15
|
||||
transformers==4.37.2
|
||||
einops==0.6.1
|
||||
einops-exts==0.0.4
|
||||
timm==0.9.12
|
||||
bitsandbytes==0.42.0
|
||||
accelerate==1.5.2
|
||||
@@ -0,0 +1,10 @@
|
||||
pip install torch==2.6.0
|
||||
pip install pillow==11.1.0
|
||||
pip install torchvision==0.21.0
|
||||
pip install transformers==4.37.2
|
||||
pip install einops==0.6.1
|
||||
pip install einops-exts==0.0.4
|
||||
pip install timm==0.9.12
|
||||
pip install bitsandbytes==0.42.0
|
||||
pip install accelerate==1.5.2
|
||||
pip install flash-attn --no-build-isolation
|
||||
Reference in new issue
Block a user