Sagemaker/Blazing text error ‘cudaMalloc((void **) &(gpuPointers_.cuInput), inputSize) == cudaSuccess’

Published on

Today I ran into a random error trying with hyperpermitter tuning for Blazingtext on Sagemaker. blazingtext2: src/gpu.cu:400: void blazingtext::BlazingText::initGPU(): Assertion ‘cudaMalloc((void **) &(gpuPointers_.cuInput), inputSize) == cudaSuccess’ failed. Thank to this post I learned the random error was a resource problem. 5 gigs of hard drive was not enough. Part of my code: bt_model = sagemaker.estimator.Estimator(container,role, … Continue reading Sagemaker/Blazing text error ‘cudaMalloc((void **) &(gpuPointers_.cuInput), inputSize) == cudaSuccess’