Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
如何打包 windows 下的 Python +cuda+tensorflow 程序成为 exe?
2
ykk
·
Jul 16, 2021
· 2926 views
This topic created in 1814 days ago, the information mentioned may be changed or developed.
这块确实是知识盲区,是用 pyinstaller 做的还是 VS 做的呢?
需要打包完成后在没有 cuda 环境的任意一台有 GPU 的 windows 电脑上运行,目前看到别人打包的程序中有大量的 dll 文件,同时也存在原始 python 代码
Python
打包
CUDA
Windows
5 replies
•
2021-07-16 18:52:19 +08:00
1
tan90du2
Jul 16, 2021
cuda 是个显卡的驱动程序,和操作系统版本、显卡可能都有关系,怎么能打包到你的应用里在所有电脑上运行?
2
3dwelcome
Jul 16, 2021
@
tan90du2
可以直接发布 cuda 二进制的 dll, 只要是 N 卡并且驱动版本不旧,就能直接用。
waifu2x-caffe 就是这样做的。
3
zxCoder
Jul 16, 2021 via Android
这么奇怪的需求
4
ykk
OP
Jul 16, 2021
@
3dwelcome
是的 请问如何发布 cuda 的 dll,是用 VS 吗?
5
7075
Jul 16, 2021
node + tf.js 更现实点?
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2884 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 42ms ·
UTC 09:33
·
PVG 17:33
·
LAX 02:33
·
JFK 05:33
♥ Do have faith in what you're doing.
❯