admin管理员组文章数量:1315101
I am trying to run model from transformers
-> deepseek-ai/DeepSeek-V2-Lite
on Ubuntu 22.04.4 LTS as guest with VirtualBox 7.
When i run my test block:
prompt = "how may I help you"
inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
outputs = model.generate(inputs["input_ids"], max_length=50, temperature=0.7)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
I get an error:
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from .aspx
From what I have researched I should not install drivers on vm because this might cause issues (confirm please). How to approach this then?
when i run lspci |grep VBA
in terminal i get respone 00:02.0 VGA compatible controller: VMware SVGA II Adapter
版权声明:本文标题:artificial intelligence - Trying to run huggingface model on virtual machine (ubuntu guest) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741971230a2407849.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论