# Set custom batch_size and num_gpus for faster loss calculation
# Smaller batch_size should give more precise results, at the cost of worse performance
model_cfg=dict(
batch_size=8,
run_cfg=dict(num_gpus=4,num_procs=1)
)
formdlinmodels:
mdl.update(model_cfg)
infer=dict(
# The OpenCompass implementation of BPC currently only supports NaivePartitioner, as the sliding window approach requires the dataset to be loaded sequentially. Using other partitioner types may produce incorrect results.