-
Notifications
You must be signed in to change notification settings - Fork 358
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
Build Failed on Amazon Linux 2023 + Cuda 12.6 / 12.7 #1126
Comments
@aminnasiri can you please use |
Thanks @EricLBuehler, I pulled the last code from master and run cargo clean and then run cargo build --release --features cuda, but I am still getting error. |
Hi @aminnasiri ! Can you please recompile with NVCC_CUDA_FLAGS="-fPIC" (#286) |
Thanks @EricLBuehler , It was build successfully with this command; I do have an issue of loading 8B models, like Do you have any idea? |
@aminnasiri can you please paste the error/log? |
Sorry to forgot add error logs, and unfortunately I missed it. I ran cargo clean and then rebuilt it with this command
Logs:
and then running this curl command, but after long wait there is no any response. |
then I tried to run it again with this model deepseek-ai/DeepSeek-R1-Distill-Llama-8B
logs:
and then running this curl command: response:
|
@aminnasiri this has been fixed, can you please try it again after |
@EricLBuehler I am master branch and git commit#: |
@EricLBuehler But those error that I mentioned are happening in Master branch after a successful build with commit |
@aminnasiri the current latest commit is c9ac321. If running |
@EricLBuehler I did and am getting this error. (gist)[https://gist.github.com/aminnasiri/cb3f4aec219aed9eb803648bfaa71930] |
@aminnasiri did you specify the NVCC_CUDA_FLAGS variable (i.e. |
@EricLBuehler
|
Minimum reproducible example
The build is failing on Amazon Linux 2023 with Cuda 12.6 / 12.7
Error
these are my instructions:
and seeing this error
Gist
Other information
Please specify:
Operating system: Linux - Amazon Linux 2023 version
GPU or accelerator information
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M.|
| | | MIG M. |
|===============================+=================+=================|
| 0 NVIDIA A10G Off | 00000000:00:1E.0 Off | 0 |
| 0% 16C P8 9W / 300W | 4MiB / 23028MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+---------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|===================================================================|
| No running processes found |
+-----------------------------------------------------------------------------------------+
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Sep_12_02:18:05_PDT_2024
Cuda compilation tools, release 12.6, V12.6.77
Build cuda_12.6.r12.6/compiler.34841621_0
Latest commit or version
I am using tag v0.4.0
The text was updated successfully, but these errors were encountered: