# \[LLaVA-1.5-7B\] \[PTQ\] Script Error During Calibration

**URL:** <https://genio-community.mediatek.com/t/llava-1-5-7b-ptq-script-error-during-calibration/1058>\
**Category:** NeuroPilot - GenAI\
**Tags:** Genio-720\
**Created:** [September 24, 2025, 9:08am UTC](https://genio-community.mediatek.com/t/llava-1-5-7b-ptq-script-error-during-calibration/1058 "2025-09-24T09:08:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jing\_liao](https://yyz2.discourse-cdn.com/flex004/user_avatar/genio-community.mediatek.com/jing_liao/32/294_2.png) [@jing\_liao](https://genio-community.mediatek.com/u/jing_liao)\
**Post date:** [September 24, 2025, 9:08am UTC](https://genio-community.mediatek.com/t/llava-1-5-7b-ptq-script-error-during-calibration/1058/1 "2025-09-24T09:08:17Z")

</div>

### Environment Information

- Platform: Genio-720, D9300
- Toolkit Version: [GAI-Deployment-Toolkit-v2.0.6\_llava1.5-7b-speculative-decoding-v0.2.tar.gz](https://neuropilot.mediatek.inc/resources/downloads/5ec4c65a-7338-411c-8d1c-58e66c13fbf1)

**Issue Description:**  
Script `1_make_calib_llava1.5.sh` fails with:

```auto
FileNotFoundError: Config file does not exist: ../../models/llava-llama-1.5-7b/config.json
line 2: name_or_path: command not found

```

**Solution:**  
Convert the shell script to Unix format before execution using:

```auto
dos2unix 1_make_calib_llava1.5.sh

```

---

<div class="post-metadata">

**Author:** ![joying.kuo](https://yyz2.discourse-cdn.com/flex004/user_avatar/genio-community.mediatek.com/joying.kuo/32/167_2.png) [@joying.kuo](https://genio-community.mediatek.com/u/joying.kuo)\
**Post date:** [September 25, 2025, 8:55am UTC](https://genio-community.mediatek.com/t/llava-1-5-7b-ptq-script-error-during-calibration/1058/2 "2025-09-25T08:55:31Z")

</div>

The solution was tested and verified on July 15th, 2025
