I’m getting the following mysterious error in hugging face:
3345 During handling of the above exception, another exception occurred:
3346 Traceback (most recent call last):
3347 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
3348 resp = conn.urlopen(
3349 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/connectionpool.py", line 798, in urlopen
3350 retries = retries.increment(
3351 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/util/retry.py", line 550, in increment
3352 raise six.reraise(type(error), error, _stacktrace)
3353 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/packages/six.py", line 769, in reraise
3354 raise value.with_traceback(tb)
3355 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/connectionpool.py", line 714, in urlopen
3356 httplib_response = self._make_request(
3357 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/connectionpool.py", line 466, in _make_request
3358 six.raise_from(e, None)
3359 File "<string>", line 3, in raise_from
3360 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/urllib3/connectionpool.py", line 461, in _make_request
3361 httplib_response = conn.getresponse()
3362 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/http/client.py", line 1375, in getresponse
3363 response.begin()
3364 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/http/client.py", line 318, in begin
3365 version, status, reason = self._read_status()
3366 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/http/client.py", line 287, in _read_status
3367 raise RemoteDisconnected("Remote end closed connection without"
3368 urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
3369 During handling of the above exception, another exception occurred:
3370 Traceback (most recent call last):
3371 File "/lfs/hyperturing2/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 591, in <module>
3372 print(f'{all_columns=}')
3373 File "/lfs/hyperturing2/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 553, in experiment_compute_diveristy_coeff_single_dataset_then_combined_datasets_with_domain_weights
3374 File "/lfs/hyperturing2/0/brando9/beyond-scale-language-data-diversity/src/diversity/div_coeff.py", line 64, in get_diversity_coefficient
3375 embedding, loss = Task2Vec(probe_network, classifier_opts={'seed': seed}).embed(tokenized_batch)
3376 File "/afs/cs.stanford.edu/u/brando9/beyond-scale-language-data-diversity/src/diversity/task2vec.py", line 133, in embed
3377 loss = self._finetune_classifier(dataset, loader_opts=self.loader_opts, classifier_opts=self.classifier_opts, max_samples=self.max_samples, epochs=epochs)
3378 File "/afs/cs.stanford.edu/u/brando9/beyond-scale-language-data-diversity/src/diversity/task2vec.py", line 198, in _finetune_classifier
3379 for step, batch in enumerate(epoch_iterator):
3380 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/tqdm/std.py", line 1182, in __iter__
3381 for obj in iterable:
3382 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 633, in __next__
3383 data = self._next_data()
3384 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 677, in _next_data
3385 data = self._dataset_fetcher.fetch(index) # may raise StopIteration
3386 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 32, in fetch
3387 data.append(next(self.dataset_iter))
3388 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 1353, in __iter__
3389 for key, example in ex_iterable:
3390 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 652, in __iter__
3391 yield from self._iter()
3392 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 667, in _iter
3393 for key, example in iterator:
3394 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 1088, in __iter__
3395 for key, example in self.ex_iterable:
3396 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 1013, in __iter__
3397 yield from islice(self.ex_iterable, self.n)
3398 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 400, in __iter__
3399 yield next(iterators[i])
3400 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 73, in __next__
3401 result = next(self.it)
3402 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 652, in __iter__
3403 yield from self._iter()
3404 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 714, in _iter
3405 for key, example in iterator:
3406 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 1088, in __iter__
3407 for key, example in self.ex_iterable:
3408 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/iterable_dataset.py", line 255, in __iter__
3409 for key, pa_table in self.generate_tables_fn(**self.kwargs):
3410 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/packaged_modules/parquet/parquet.py", line 77, in _generate_tables
3411 parquet_file = pq.ParquetFile(f)
3412 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/pyarrow/parquet/core.py", line 334, in __init__
3413 self.reader.open(
3414 File "pyarrow/_parquet.pyx", line 1220, in pyarrow._parquet.ParquetReader.open
3415 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/datasets/download/streaming_download_manager.py", line 333, in read_with_retries
3416 out = read(*args, **kwargs)
3417 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/fsspec/spec.py", line 1790, in read
3418 out = self.cache._fetch(self.loc, self.loc + length)
3419 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/fsspec/caching.py", line 156, in _fetch
3420 self.cache = self.fetcher(start, end) # new block replaces old
3421 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/huggingface_hub/hf_file_system.py", line 404, in _fetch_range
3422 r = http_backoff("GET", url, headers=headers)
3423 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 258, in http_backoff
3424 response = session.request(method=method, url=url, **kwargs)
3425 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
3426 resp = self.send(prep, **send_kwargs)
3427 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
3428 r = adapter.send(request, **kwargs)
3429 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 63, in send
3430 return super().send(request, *args, **kwargs)
3431 File "/lfs/hyperturing2/0/brando9/miniconda/envs/beyond_scale/lib/python3.10/site-packages/requests/adapters.py", line 501, in send
3432 raise ConnectionError(err, request=request)
3433 requests.exceptions.ConnectionError: (ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')), '(Request ID: d98c4e56-198a-40cb-a53e-9e1348ea1c58)')
How does one solve this issue in the context of hugging face?