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

--dtype argument missing #3

Open
agarwalrachit399 opened this issue Jun 9, 2024 · 1 comment
Open

--dtype argument missing #3

agarwalrachit399 opened this issue Jun 9, 2024 · 1 comment

Comments

@agarwalrachit399
Copy link

While running on colab free tier with T4 GPU, I got the following error:

ValueError: Bfloat16 is only supported on GPUs with compute capability of at least 8.0. Your Tesla T4 GPU has compute capability 7.5. You can use float16 instead by explicitly setting thedtype flag in CLI, for example: --dtype=half.

I tried using --dtype, however its not working and I cannot locate this argument in any scripts as well.

@AnimateBow4809
Copy link

Hi i ran into the same issue you can go to math_eval.py and at line 90 add an additional dtype="float16" argument for a temporary fix
llm = LLM(model=args.model_name_or_path, tensor_parallel_size=len(available_gpus), trust_remote_code=True,dtype="float16")

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

2 participants