# OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k

**URL:** <https://forum.serverless.com/t/openblas-warning-could-not-determine-the-l2-cache-size-on-this-system-assuming-256k/12846>\
**Category:** Serverless Framework\
**Created:** [October 13, 2020, 8:31pm UTC](https://forum.serverless.com/t/openblas-warning-could-not-determine-the-l2-cache-size-on-this-system-assuming-256k/12846 "2020-10-13T20:31:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NielsHoogeveen1990](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@NielsHoogeveen1990](https://forum.serverless.com/u/NielsHoogeveen1990)\
**Post date:** [October 13, 2020, 8:31pm UTC](https://forum.serverless.com/t/openblas-warning-could-not-determine-the-l2-cache-size-on-this-system-assuming-256k/12846/1 "2020-10-13T20:31:05Z")

</div>

Hi!  
I am trying to create an API with Serverless, where I download a pickled machine learning model in memory. However, it works offline but not in the AWS Lambda function.  
This is my code. What can I do? I am lost.

def predict(event, context):  
body = {  
“message”: “Ok.”,  
}  
s3 = boto3.resource(‘s3’)

```
with BytesIO() as file:
    s3.Bucket("ml-models").download_fileobj('model_6.pkl', file)
    file.seek(0)
    model = joblib.load(file)

```

What would be a solution to load the machine learning model that is saved in an S3 bucket?

---

<div class="post-metadata">

**Author:** ![zeke-john](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/zeke-john/32/6867_2.png) [@zeke-john](https://forum.serverless.com/u/zeke-john)\
**Post date:** [July 15, 2022, 2:15am UTC](https://forum.serverless.com/t/openblas-warning-could-not-determine-the-l2-cache-size-on-this-system-assuming-256k/12846/2 "2022-07-15T02:15:52Z")

</div>

i have this same problem, do you have any updates?
