EADST

torch.cuda.is_available()返回false的解决办法

显卡是没问题的,主要还是cudatoolkit版本的问题。

nvidia-smi 查看cuda版本

然后复制这一行就搞定了

conda install pytorch torchvision cudatoolkit=xxx(选择对应的版本) -c pytorch

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
Quantize LLAMA Linux Heatmap YOLO ms-swift BeautifulSoup CC Llama 域名 Dataset FP16 Qwen uwsgi CLAP Augmentation Permission 阿里云 torchinfo Michelin Bipartite Ptyhon GPT4 HaggingFace Land Logo Git VSCode Vmess Use GIT 多进程 VPN MD5 Random Anaconda NameSilo Conda 强化学习 Hotel Markdown 证件照 NLP logger Firewall Vim Template Food Transformers git-lfs printf Sklearn 签证 Safetensors Jev SVR Color Agent 飞书 Excel FlashAttention uWSGI DeepStream 图标 Pickle Knowledge PDB PyTorch Statistics Pillow TensorRT Tensor SPIE Algorithm LeetCode Translation Qwen2.5 XGBoost Data SQL Github v0.dev hf SAM Diagram transformers VGG-16 WAN 财报 论文速读 WebCrawler GPTQ 报税 Freesound SQLite Harness Mixtral Animate icon Windows Tiktoken PyCharm PDF Quantization FastAPI ModelScope API网关 RL Shortcut Docker Ubuntu 音频 Search ChatGPT Gemma 图形思考法 AI Plate 递归学习法 EXCEL Clash C++ Math 版权 LLM tar 第一性原理 mmap Pandas IndexTTS2 v2ray Jetson CTC Pytorch InvalidArgumentError OpenAI CAM JSON Proxy Hilton 云服务器 FP8 Password UNIX Django Breakpoint LoRA ONNX TTS 净利润 Bin CV Tracking Review 多线程 OCR Hungarian Video 搞笑 Claude Jupyter QWEN Magnet Plotly RAR Nginx Distillation Disk Website llama.cpp CEIR Paper Crawler 顶会 LaTeX 腾讯云 GGML Qwen2 API 公式 Interview GoogLeNet CUDA RGB Datetime OpenCV Rebuttal BF16 Web Input 论文 scipy Bert 继承 Zip NLTK FP32 ResNet-50 News Bitcoin 关于博主 算法题 HuggingFace Numpy Python git Domain Base64 COCO FP64 Card Miniforge Attention tqdm Baidu Google PIP TensorFlow CSV diffusers Paddle BTC DeepSeek TSV Cloudreve Image2Text XML UI Streamlit
站点统计

本站现有博文337篇,共被浏览958347次

本站已经建立2669天!

热门文章
文章归档
回到顶部