Help Center/ ModelArts/ Troubleshooting/ Training Jobs/ Memory Limit Issues/ Insufficient Container Space for Copying Data
Updated on 2024-06-11 GMT+08:00
Insufficient Container Space for Copying Data
Symptom
When a ModelArts training job is running, the following error is reported in the log. As a result, data cannot be copied to the container.
OSError:[Errno 28] No space left on device
Possible Causes
The container space is insufficient for downloading data.
Solution
- Check whether data is downloaded to the /cache directory. Each GPU node has a /cache directory with 4 TB of storage.
- Check whether GPU resources are used. If CPU resources are used, /cache and the code directory share 10 GB of memory. As a result, the memory is insufficient. In this case, use GPU resources instead.
- Add the following environment variable to the code:
import os os.system('export TMPDIR=/cache')
Parent topic: Memory Limit Issues
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.