Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有用macos来finetune的啊 #247

Open
Json0926 opened this issue Jun 21, 2023 · 0 comments
Open

有没有用macos来finetune的啊 #247

Json0926 opened this issue Jun 21, 2023 · 0 comments

Comments

@Json0926
Copy link

===================================BUG REPORT===================================
Welcome to bitsandbytes. For bug reports, please submit your error trace to: https://github.com/TimDettmers/bitsandbytes/issues

CUDA SETUP: Required library version not found: libsbitsandbytes_cpu.so. Maybe you need to compile it from source?
CUDA SETUP: Defaulting to libbitsandbytes_cpu.so...
dlopen(/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so, 0x0006): tried: '/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (no such file), '/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (not a mach-o file)
CUDA SETUP: Required library version not found: libsbitsandbytes_cpu.so. Maybe you need to compile it from source?
CUDA SETUP: Defaulting to libbitsandbytes_cpu.so...
dlopen(/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so, 0x0006): tried: '/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (no such file), '/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so' (not a mach-o file)
/Users/jindada/miniconda3/lib/python3.8/site-packages/bitsandbytes/cextension.py:31: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers and GPU quantization are unavailable.
warn("The installed version of bitsandbytes was compiled without GPU support. "
Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision.
Explicitly passing a revision is encouraged when loading a configuration with custom code to ensure no malicious code has been contributed in a newer revision.
Explicitly passing a revision is encouraged when loading a model with custom code to ensure no malicious code has been contributed in a newer revision.
Traceback (most recent call last):
File "finetune.py", line 118, in
main()
File "finetune.py", line 77, in main
model = AutoModel.from_pretrained(
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 462, in from_pretrained
model_class = get_class_from_dynamic_module(
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/transformers/dynamic_module_utils.py", line 388, in get_class_from_dynamic_module
final_module = get_cached_module_file(
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/transformers/dynamic_module_utils.py", line 299, in get_cached_module_file
get_cached_module_file(
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/transformers/dynamic_module_utils.py", line 269, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/transformers/dynamic_module_utils.py", line 134, in check_imports
importlib.import_module(imp)
File "/Users/jindada/miniconda3/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 843, in exec_module
File "", line 219, in _call_with_frames_removed
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/cpm_kernels/init.py", line 1, in
from . import library
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/cpm_kernels/library/init.py", line 1, in
from . import nvrtc
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/cpm_kernels/library/nvrtc.py", line 5, in
nvrtc = Lib("nvrtc")
File "/Users/jindada/miniconda3/lib/python3.8/site-packages/cpm_kernels/library/base.py", line 59, in init
raise RuntimeError("Unknown platform: %s" % sys.platform)
RuntimeError: Unknown platform: darwin

RuntimeError: Unknown platform: darwin的平台问题要如何解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant