Views
No views yet

1SkinGPT-R1/
2├── checkpoints/
3├── environment.yml
4├── inference/
5│ ├── full_precision/
6│ └── int4_quantized/
7├── requirements.txt
8└── README.mdenvironment.yml is a Conda environment definition file for reproducing the recommended runtime environment.1git clone https://huggingface.co/yuhos16/SkinGPT-R1
2cd SkinGPT-R1
3conda env create -f environment.yml
4conda activate skingpt-r11git clone https://huggingface.co/yuhos16/SkinGPT-R1
2cd SkinGPT-R1
3conda create -n skingpt-r1 python=3.10.20 -y
4conda activate skingpt-r1
5pip install -r requirements.txt./checkpoints directory as the model weights directory../test_images/lesion.jpg.bash inference/full_precision/run_infer.sh --image ./test_images/lesion.jpgbash inference/int4_quantized/run_infer.sh --image_path ./test_images/lesion.jpg| Mode | Full Precision | INT4 Quantized |
|---|---|---|
| Single image | bash inference/full_precision/run_infer.sh --image ./test_images/lesion.jpg | bash inference/int4_quantized/run_infer.sh --image_path ./test_images/lesion.jpg |
| Multi-turn chat | bash inference/full_precision/run_chat.sh --image ./test_images/lesion.jpg | bash inference/int4_quantized/run_chat.sh --image ./test_images/lesion.jpg |
| API service | bash inference/full_precision/run_api.sh | bash inference/int4_quantized/run_api.sh |
59005901CUDA_VISIBLE_DEVICES=0 if you want to pin one GPU.sdpa path.flash_attention_2 if their CUDA stack supports it.POST /v1/upload/{state_id}POST /v1/predict/{state_id}POST /v1/reset/{state_id}POST /diagnose/streamGET /health