We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered:
@jianchang512 可以用CPU,不过这个gpt2模型比较大,用CPU太慢了,至少需要1080TI的GPU才比较流畅。 命令行运行加--no_gpu参数就可以:
python gpt2_ml_torch/generate.py --prompt 宇宙的意义是 --max_len 30 --n_seq 2 --no_gpu
Sorry, something went wrong.
No branches or pull requests
AssertionError: Torch not compiled with CUDA enabled
The text was updated successfully, but these errors were encountered: