runtime error
Exit code: 1. Reason: 418MB/s] /usr/local/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage() return self.fget.__get__(instance, owner)() FinBERT loaded successfully! Loading Gemma model... tokenizer_config.json: 0%| | 0.00/1.43k [00:00<?, ?B/s][A tokenizer_config.json: 100%|██████████| 1.43k/1.43k [00:00<00:00, 14.4MB/s] tokenizer.model: 0%| | 0.00/493k [00:00<?, ?B/s][A tokenizer.model: 100%|██████████| 493k/493k [00:00<00:00, 1.53MB/s] tokenizer.json: 0%| | 0.00/1.80M [00:00<?, ?B/s][A tokenizer.json: 100%|██████████| 1.80M/1.80M [00:00<00:00, 47.0MB/s] added_tokens.json: 0%| | 0.00/42.0 [00:00<?, ?B/s][A added_tokens.json: 100%|██████████| 42.0/42.0 [00:00<00:00, 400kB/s] special_tokens_map.json: 0%| | 0.00/168 [00:00<?, ?B/s][A special_tokens_map.json: 100%|██████████| 168/168 [00:00<00:00, 1.65MB/s] config.json: 0%| | 0.00/638 [00:00<?, ?B/s][A config.json: 100%|██████████| 638/638 [00:00<00:00, 6.39MB/s] Traceback (most recent call last): File "/home/user/app/app.py", line 18, in <module> llm_analyzer = LLMAnalyzer() File "/home/user/app/utils/llm_analyzer.py", line 27, in __init__ self.model = AutoModelForCausalLM.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained return model_class.from_pretrained( File "/usr/local/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3366, in from_pretrained raise ImportError( ImportError: Using `low_cpu_mem_usage=True` or a `device_map` requires Accelerate: `pip install 'accelerate>=0.26.0'`
Container logs:
Fetching error logs...