title: How to use Tensorflow Lite on AWS Lambda
body: <p>I'm trying to host a small model I have compiled down to a .tflite on AWS Lambda. Using either the python 3.6 or python 3.7 tflite wheel files available on the tensorflow website I zip up my packages/code, and upload to S3 and link to lambda with space to spare.  However, when I test my function it crashes when trying to load tflite.  Initially, it couldn't load shared object files.  This was the error </p>
  
  <pre><code>[ERROR] Runtime.ImportModuleError: Unable to import module 'lambda_predict': No module named '_interpreter_wrapper')
  </code></pre>
  
  <p>I found this shared object file and moved it up into the local directory, and then got another error</p>
  
  <pre><code>Unable to import module 'lambda_predict': /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /var/task/_interpreter_wrapper.so)
  </code></pre>
  
  <p>My base system is Ubuntu (Bionic Beaver)
  Both these errors come from importing tflite</p>