runtime error
Exit code: 1. Reason: server.run() File "/opt/conda/lib/python3.10/site-packages/uvicorn/server.py", line 65, in run return asyncio.run(self.serve(sockets=sockets)) File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/opt/conda/lib/python3.10/site-packages/uvicorn/server.py", line 69, in serve await self._serve(sockets) File "/opt/conda/lib/python3.10/site-packages/uvicorn/server.py", line 76, in _serve config.load() File "/opt/conda/lib/python3.10/site-packages/uvicorn/config.py", line 434, in load self.loaded_app = import_from_string(self.app) File "/opt/conda/lib/python3.10/site-packages/uvicorn/importer.py", line 19, in import_from_string module = importlib.import_module(module_str) File "/opt/conda/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/home/user/app.py", line 14, in <module> model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", torch_dtype="auto", device_map="auto") File "/opt/conda/lib/python3.10/site-packages/transformers/modeling_utils.py", line 4046, in from_pretrained dispatch_model(model, **device_map_kwargs) File "/opt/conda/lib/python3.10/site-packages/accelerate/big_modeling.py", line 496, in dispatch_model raise ValueError( ValueError: You are trying to offload the whole model to the disk. Please use the `disk_offload` function instead.
Container logs:
Fetching error logs...