runtime error
Exit code: 1. Reason: LAS when one has already been registered 2025-04-05 17:57:20.780885: I external/local_tsl/tsl/cuda/cudart_stub.cc:31] Could not find cuda drivers on your machine, GPU will not be used. 2025-04-05 17:57:20.781100: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2025-04-05 17:57:21.710973: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT tokenizer_config.json: 0%| | 0.00/1.87k [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 1.87k/1.87k [00:00<00:00, 14.4MB/s] tokenizer.json: 0%| | 0.00/1.37M [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 1.37M/1.37M [00:00<00:00, 46.8MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 6, in <module> model = AutoModelForCausalLM.from_pretrained(model_name, trust_remote_code=True) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1849, in __getattribute__ requires_backends(cls, cls._backends) File "/usr/local/lib/python3.10/site-packages/transformers/utils/import_utils.py", line 1828, in requires_backends raise ImportError(PYTORCH_IMPORT_ERROR_WITH_TF.format(name)) ImportError: AutoModelForCausalLM requires the PyTorch library but it was not found in your environment. However, we were able to find a TensorFlow installation. TensorFlow classes begin with "TF", but are otherwise identically named to our PyTorch classes. This means that the TF equivalent of the class you tried to import would be "TFAutoModelForCausalLM". If you want to use TensorFlow, please use TF classes instead! If you really do want to use PyTorch please go to https://pytorch.org/get-started/locally/ and follow the instructions that match your environment.
Container logs:
Fetching error logs...