Questions tagged [opt]

2 questions
1
vote
0 answers

DeepSpeed: no operator matches operands error

When I try to use DeepSpeed example to finetune a OPT 1.3b model on my local machine, I have an unexpected error, which related to following code snippet: template __global__ void moe_res_matmul(T* residual, T* coef, T* mlp_out, int…
coderLMN
  • 3,076
  • 1
  • 21
  • 26
0
votes
0 answers

How can I run LLVM custom passes on the LLVM IR file of a CUDA code using opt?

I am having problem with running LLVM custom passes on the ".ll" file of a CUDA code. For example, I have a CUDA sample code named sample1.cu. I have compiled the CUDA code using the following command. ./bin/clang++ -flegacy-pass-manager -g -Xclang…
Tauro
  • 59
  • 7