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

本站现有博文327篇,共被浏览834150

本站已经建立2539天!

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