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

Issues installing - Bare with me please #1006

Closed
MistakingManx opened this issue Jul 28, 2023 · 1 comment
Closed

Issues installing - Bare with me please #1006

MistakingManx opened this issue Jul 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@MistakingManx
Copy link

Describe the bug
I'm trying to install it to test it out, but I'm not quite sure how to proceed, it's throwing an error when I run the last install command.
Furthermore, the first install command had an error, but I decided to ignore it in hopes that it didn't matter much.

To Reproduce
Steps to reproduce the behavior:

  1. Run the install commands

Expected behavior
Easy install of requirements and anything else it needs

Proposed solution
Help the noob out, that being me

Errors
ERROR: Could not build wheels for mpi4py which use PEP 517 and cannot be installed directly

/usr/lib/python3/dist-packages/requests/__init__.py:89: RequestsDependencyWarning: urllib3 (1.26.16) or chardet (3.0.4) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
  File "./megatron/fused_kernels/setup.py", line 23, in <module>
    _, bare_metal_major, _ = _get_cuda_bare_metal_version(cpp_extension.CUDA_HOME)
  File "./megatron/fused_kernels/setup.py", line 10, in _get_cuda_bare_metal_version
    [cuda_dir + "/bin/nvcc", "-V"], universal_newlines=True
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

Environment (please complete the following information):

  • GPUs: None (it could just use my CPU instead right?)
  • Configs: None, yet.

Additional context
I usually work with Node.JS, please forgive my lack of know-how with Python.

@MistakingManx MistakingManx added the bug Something isn't working label Jul 28, 2023
@MistakingManx MistakingManx changed the title Bare with me please, I've barely worked with Python before. Issues installing - Bare with me please Jul 28, 2023
@StellaAthena
Copy link
Member

This often happens when your pip is out of date or you have a system conflict with the instillation.

However if you don’t have GPUs there’s no reason to install this library. I’m not sure if the library runs on CPU, but it definitely isn’t the right tool for the job. You should check out libraries designed for CPU usage, like ggml or the HuggingFace transformers library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants