Closed mostafafarzaneh closed 5 months ago
NeuronX Compiler version 2.12.68.0+4480452af
Python version 3.8.10 HWM version 2.12.0.0-422c9037c NumPy version 1.24.4
Running on AMI ami-0b64b64d4bd7327ee Running in region usw2-az3
@mostafafarzaneh looks like you an old driver/runtime on your instance. Please follow the instructions here: https://awsdocs-neuron.readthedocs-hosted.com/en/latest/general/setup/tensorflow-neuronx.html#setup-tensorflow-neuronx
Look under "install driver and tools"
@awsilya
I'm using the ami-0b64b64d4bd7327ee
(Deep Learning Base Neuron AMI (Ubuntu 20.04) 20231211). So It should be up to date. Nevertheless, I did update the driver/runtime but I still get the same error
I changed the ami to ami-02515bacfc7fafa88
(Deep Learning AMI Neuron TensorFlow 2.10 (Ubuntu 20.04) 20240102) and now the problem is gone.
I compiled my model with
tfnx.trace
and served it usingtensorflow_model_server_neuron
. I followed this and installed tensorflow-model-server-neuronx. The server isinf2.xlarge
.Here is the server error: