#!/bin/bash # This script is used to fine-tune a model using PyTorch with multiple GPUs. export HSA_FORCE_FINE_GRAIN_PCIE=1 set -x python finetune_hf.py /home/client/nb/AdvertiseGen_fix /home/model/ZhipuAI/chatglm3-6b configs/lora.yaml