Not able to run deepseek v4 pro using transformers in Google Collab

#95
by chandu8848 - opened

I used the template code from hugging face itself to run deepseek v4 pro in notebook. But after upgrading transformers library itself I am getting error that transformers is not able to understand deepseek v4 architecture.

Any Idea what's going wrong

Screenshot from 2026-04-24 11-19-08

I am not sure if it can run directly on CUDA framework now. However, thanks to America, it surely can run on Huawei CANN framework from now on.

DeepSeek org

We have not yet adapted our model to the transformers library. For inference, please refer to our official inference code

Sign up or log in to comment