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

fix gpu_info_cuda.c compile warning #3077

Merged
merged 1 commit into from Mar 12, 2024
Merged

Conversation

mofanke
Copy link
Contributor

@mofanke mofanke commented Mar 12, 2024

fix compile warning
gpu_info_cuda.c: In function ‘cuda_check_vram’: gpu_info_cuda.c:158:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long unsigned int’

Copy link
Contributor

@BruceMacD BruceMacD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the fix

@BruceMacD BruceMacD merged commit 51578d8 into ollama:main Mar 12, 2024
samyfodil pushed a commit to ollama-cloud/ollama-as-wasm-plugin that referenced this pull request Mar 14, 2024
byebyebruce pushed a commit to byebyebruce/ollama that referenced this pull request Mar 26, 2024
zhewang1-intc pushed a commit to zhewang1-intc/ollama that referenced this pull request May 13, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants