Snowflake Stage Error "OSError: [Errno 28] No space left on device "

56 Views Asked by At

I'm working on Snowflake Stored Procedure, trying to store trained ML model and other related artifacts like encoder and columns to be encoded in training pipeline to snowflake Stage. But I Keep getting this error "OSError: [Errno 28] No space left on device " everytime I try to store, even though in stage I can see space of 250MB available for each file and model I'm using is Random Forest ( which is less than 100 MB ).

Sample Code

encoder_filename = model_type + "encoder.joblib"
encoder_model_file = os.path.join(''/tmp'', encoder_filename)
joblib.dump(encoder, encoder_model_file)
session.file.put(encoder_model_file, "@DB.Schema",overwrite=True)
0

There are 0 best solutions below