You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [[ ! " ${POSSIBLE_DATASETS[@]} " =~ " ${DATASET_PATH} " ]]; then
echo "Invalid dataset path. Please provide one of the following datasets: ${POSSIBLE_DATASETS[@]}"
exit 1
fi
# Quantization parameters
NUM_CODEBOOKS=$4
NBITS_PER_CODEBOOK=$5
IN_GROUP_SIZE=$6
echo "Running quantization with the following parameters:"
echo "Model path: $MODEL_PATH, Dataset path: $DATASET_PATH, Number of codebooks: $NUM_CODEBOOKS, Number of bits per codebook: $NBITS_PER_CODEBOOK, In-group size: $IN_GROUP_SIZE"