We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14bb456 commit 3c06262Copy full SHA for 3c06262
llmc/data/dataset/base_dataset.py
@@ -255,7 +255,6 @@ def get_calib_dataset(self):
255
samples = self.get_calib_samples()
256
if self.calib_dataset_type in ['txt', 'img', 'img_txt']:
257
logger.info(f'len(samples) all : {len(samples)}')
258
- assert len(samples) % int(os.environ['WORLD_SIZE']) == 0
259
samples = samples[int(os.environ['RANK'])::int(os.environ['WORLD_SIZE'])]
260
logger.info(f'len(samples) rank : {len(samples)}')
261
calib_samples = []
0 commit comments