Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv) ubuntu@ip-172-31-20-15:~/empath/lora$ python run_finetuned_clm.py
- ===================================BUG REPORT===================================
- Welcome to bitsandbytes. For bug reports, please run
- python -m bitsandbytes
- and submit this information together with your error trace to: https://github.com/TimDettmers/bitsandbytes/issues
- ================================================================================
- bin /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so
- /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
- warn("The installed version of bitsandbytes was compiled without GPU support. "
- /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: undefined symbol: cadam32bit_grad_fp32
- CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
- /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: WARNING: The following directories listed in your path were found to be non-existent: {PosixPath('/usr/local/cuda/lib64')}
- warn(msg)
- /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/cuda_setup/main.py:149: UserWarning: WARNING: No libcudart.so found! Install CUDA or the cudatoolkit package (anaconda)!
- warn(msg)
- CUDA SETUP: Highest compute capability among GPUs detected: 7.5
- CUDA SETUP: Detected CUDA version 117
- CUDA SETUP: Loading binary /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so...
- Loading checkpoint shards: 0%| | 0/33 [00:00<?, ?it/s]
- Traceback (most recent call last):
- File "/home/ubuntu/empath/lora/run_finetuned_clm.py", line 16, in <module>
- model = AutoModelForCausalLM.from_pretrained(config.base_model_name_or_path, return_dict=True, load_in_8bit=True, device_map='auto')
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/transformers/models/auto/auto_factory.py", line 490, in from_pretrained
- return model_class.from_pretrained(
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2838, in from_pretrained
- ) = cls._load_pretrained_model(
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 3184, in _load_pretrained_model
- new_error_msgs, offload_index, state_dict_index = _load_state_dict_into_meta_model(
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/transformers/modeling_utils.py", line 724, in _load_state_dict_into_meta_model
- set_module_quantized_tensor_to_device(
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/transformers/utils/bitsandbytes.py", line 89, in set_module_quantized_tensor_to_device
- new_value = bnb.nn.Int8Params(new_value, requires_grad=False, **kwargs).to(device)
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/nn/modules.py", line 294, in to
- return self.cuda(device)
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/nn/modules.py", line 258, in cuda
- CB, CBt, SCB, SCBt, coo_tensorB = bnb.functional.double_quant(B)
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/functional.py", line 1987, in double_quant
- row_stats, col_stats, nnz_row_ptr = get_colrow_absmax(
- File "/home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/functional.py", line 1876, in get_colrow_absmax
- lib.cget_col_row_stats(ptrA, ptrRowStats, ptrColStats, ptrNnzrows, ct.c_float(threshold), rows, cols)
- File "/usr/lib/python3.10/ctypes/__init__.py", line 387, in __getattr__
- func = self.__getitem__(name)
- File "/usr/lib/python3.10/ctypes/__init__.py", line 392, in __getitem__
- func = self._FuncPtr((name_or_ordinal, self))
- AttributeError: /home/ubuntu/empath/lora/venv/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so: undefined symbol: cget_col_row_stats
Add Comment
Please, Sign In to add comment