runtime error

ncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Attempting to cast a BatchEncoding to type torch.float16. This is not supported. Traceback (most recent call last): File "/home/user/app/app.py", line 123, in <module> main(api_name, base_url) File "/home/user/app/app.py", line 96, in main train_model(model, tokenizer, data, device) File "/home/user/app/app.py", line 43, in train_model training_args = TrainingArguments( File "<string>", line 125, in __init__ File "/usr/local/lib/python3.10/site-packages/transformers/training_args.py", line 1612, in __post_init__ raise ValueError( ValueError: FP16 Mixed precision training with AMP or APEX (`--fp16`) and FP16 half precision evaluation (`--fp16_full_eval`) can only be used on CUDA or MLU devices or NPU devices or certain XPU devices (with IPEX).

Container logs:

Fetching error logs...