cant deploy flask app with machine leafning model

mohammed-samy-1TRIAL

a year ago

2024-04-27 23:36:14.672727: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-04-27 23:36:14.675423: I tensorflow/tsl/cuda/cudartstub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2024-04-27 23:36:14.742356: I tensorflow/core/platform/cpufeatureguard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-04-27 23:36:15.733872: W tensorflow/compiler/tf2tensorrt/utils/pyutils.cc:38] TF-TRT Warning: Could not find TensorRT No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision af0f99b (https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english). Using a pipeline without specifying a model name and revision in production is not recommended. 2024-04-27 23:36:27.934660: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-04-27 23:36:27.937758: I tensorflow/tsl/cuda/cudartstub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-04-27 23:36:27.991067: I tensorflow/core/platform/cpufeatureguard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-04-27 23:36:29.099584: W tensorflow/compiler/tf2tensorrt/utils/pyutils.cc:38] TF-TRT Warning: Could not find TensorRT
No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision af0f99b (https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english).
Using a pipeline without specifying a model name and revision in production is not recommended.
2024-04-27 23:36:40.849259: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-04-27 23:36:40.851869: I tensorflow/tsl/cuda/cudartstub.cc:28] Could not find cuda drivers on your machine, GPU will not be used. 2024-04-27 23:36:40.906471: I tensorflow/core/platform/cpufeatureguard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-04-27 23:36:41.923879: W tensorflow/compiler/tf2tensorrt/utils/pyutils.cc:38] TF-TRT Warning: Could not find TensorRT No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision af0f99b (https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english). Using a pipeline without specifying a model name and revision in production is not recommended. 2024-04-27 23:36:51.777976: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0. 2024-04-27 23:36:51.780694: I tensorflow/tsl/cuda/cudartstub.cc:28] Could not find cuda drivers on your machine, GPU will not be used.
2024-04-27 23:36:51.833976: I tensorflow/core/platform/cpufeatureguard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2024-04-27 23:36:52.834117: W tensorflow/compiler/tf2tensorrt/utils/pyutils.cc:38] TF-TRT Warning: Could not find TensorRT
No model was supplied, defaulted to distilbert/distilbert-base-uncased-finetuned-sst-2-english and revision af0f99b (https://huggingface.co/distilbert/distilbert-base-uncased-finetuned-sst-2-english).
Using a pipeline without specifying a model name and revision in production is not recommended.

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

a year ago

You're on a trial plan, it would be incredibly unlikely for any app that uses a modal of any kind to be able to run with only 500MB of memory, try upgrading to the Hobby plan for access to 8GB of memory.


cant deploy flask app with machine leafning model - Railway Help Station