Closed DENGARDEN closed 1 year ago
Hello Juyoung Shin, It seems that the problem might be related to CUDA regarding the issue you encountered while using REDfold on macOS. REDfold requires torch (version 1.9 or higher) with cu111 support.
Regards, Aky
Juyoung Shin @.***> 於 2023年5月3日 週三 下午4:28寫道:
While using it on a Nvidia-activated Linux machine, it runs well. However, the program outputs an error on CUDA when running it on a laptop
[image: Screenshot 2023-05-03 at 17 26 48] https://user-images.githubusercontent.com/54666446/235866454-8d9b8e81-e672-45ee-8b2f-300300d92960.png Here is the specifications for my machine, and the error log is below
seq_name:test seq_len:72 current processing 1/1 All_file_list:1 Save RNA test data to data/test.pick Traceback (most recent call last): File "/Users/juyoungshin/Documents/code_repo/REDfold/.conda/bin/redfold", line 8, in
sys.exit(main()) File "/Users/juyoungshin/Documents/code_repo/REDfold/.conda/lib/python3.10/site-packages/redfold/main.py", line 16, in main test_data(args,file2) File "/Users/juyoungshin/Documents/code_repo/REDfold/.conda/lib/python3.10/site-packages/redfold/test_data.py", line 130, in test_data loss_weight= torch.Tensor([300]).cuda() File "/Users/juyoungshin/Documents/code_repo/REDfold/.conda/lib/python3.10/site-packages/torch/cuda/init.py", line 221, in _lazy_init raise AssertionError("Torch not compiled with CUDA enabled") AssertionError: Torch not compiled with CUDA enabled Thanks in advance!
— Reply to this email directly, view it on GitHub https://github.com/aky3100/REDfold/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUNXOYH2O22UMVDSAWAZNLXEIJKHANCNFSM6AAAAAAXUCLHKI . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Best Aky
While using it on a Nvidia-activated Linux machine, it runs well. However, the program outputs an error on CUDA when running it on a laptop
Here is the specifications for my machine, and the error log is below
Thanks in advance!