You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert DeepSeek-R1 into a onnx format, but i'm being presented with
ValueError: Loading deepseek-ai/DeepSeek-R1 requires you to execute the configuration file in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option trust_remote_code=True to remove this error.
Can i somehow enable this using cli, or do i have to manually download the model into my system and using cli i would have to perform onnx instead of repo link
if yes, then how can i enable trust_remote_code=True once i download the repo?
Information
The official example scripts
My own modified scripts
Tasks
An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
System Info
Who can help?
@michaelbenayoun
I'm trying to convert DeepSeek-R1 into a onnx format, but i'm being presented with
I'm trying to do this using optimum-cli
optimum-cli export onnx --model deepseek-ai/DeepSeek-R1 --task causal-lm C:\DeepSeek-R1-Onnx
Can i somehow enable this using cli, or do i have to manually download the model into my system and using cli i would have to perform onnx instead of repo link
if yes, then how can i enable trust_remote_code=True once i download the repo?
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
optimum-cli export onnx --model deepseek-ai/DeepSeek-R1 --task causal-lm C:\DeepSeek-R1-Onnx
Running this command doesn't provide an output
Expected behavior
The conversion should start for DeepSeek-R1 to ONNX
The text was updated successfully, but these errors were encountered: