# ValueError loading dataset in SageMaker notebook

**URL:** <https://discuss.huggingface.co/t/valueerror-loading-dataset-in-sagemaker-notebook/114845>\
**Category:** 🤗Datasets\
**Created:** [October 31, 2024, 9:05am UTC](https://discuss.huggingface.co/t/valueerror-loading-dataset-in-sagemaker-notebook/114845 "2024-10-31T09:05:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![easwar03](https://avatars.discourse-cdn.com/v4/letter/e/a3d4f5/32.png) [@easwar03](https://discuss.huggingface.co/u/easwar03)\
**Post date:** [October 31, 2024, 9:05am UTC](https://discuss.huggingface.co/t/valueerror-loading-dataset-in-sagemaker-notebook/114845/1 "2024-10-31T09:05:11Z")

</div>

![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/c/7/c7aef5f705c37236bc095853861a22c2dd20aaab.png)

Running the demo notebook [here](https://github.com/huggingface/notebooks/blob/main/sagemaker/01_getting_started_pytorch/sagemaker-notebook.ipynb) as is with PyTorch v1.13.1 installed as specified in SageMaker references.

---

<div class="post-metadata">

**Author:** ![John6666](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/john6666/32/27664_2.png) [@John6666](https://discuss.huggingface.co/u/John6666)\
**Post date:** [October 31, 2024, 9:24am UTC](https://discuss.huggingface.co/t/valueerror-loading-dataset-in-sagemaker-notebook/114845/2 "2024-10-31T09:24:45Z")

</div>

```py
pytorch_version='1.6',

```

This sample seems to assume torch 1.6. Either way, it’s a very old version…  
It’s 2.5.1 now…  
Even for stability, 2.2 is more common.  
2.3 is a minefield.
