您的位置:首页 > 汽车 > 新车 > 广东平台网站建设平台_什么是网络营销组合策略_公司网站的推广方案_北京百度快照推广公司

广东平台网站建设平台_什么是网络营销组合策略_公司网站的推广方案_北京百度快照推广公司

2025/4/18 9:27:44 来源:https://blog.csdn.net/weixin_44734413/article/details/146912146  浏览:    关键词:广东平台网站建设平台_什么是网络营销组合策略_公司网站的推广方案_北京百度快照推广公司
广东平台网站建设平台_什么是网络营销组合策略_公司网站的推广方案_北京百度快照推广公司

tiny-cuda-nn安装链接

https://github.com/NVlabs/tiny-cuda-nn.git

遇到的问题

  1. 服务器上不知道为啥设置了代理也不行,就是如下博主写的解决办法:增加代理解决git不上的问题
    仍然报如下的错误:
    在这里插入图片描述然后我用deepseek,他让我用git clone --recursive https://github.com/nvlabs/tiny-cuda-nn,可是git用不了啊,我要裂开了!!!!报了如下的错
(NerF) root@home:/www/nerfstudio-main/CustomNeRF-master/tiny-cuda-nn-master# pip install git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Looking in indexes: https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torchCloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-p8lb0w5qRunning command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-p8lb0w5qfatal: unable to access 'https://github.com/NVlabs/tiny-cuda-nn/': Failed to connect to 127.0.0.1 port 7890 after 0 ms: Connection refusederror: subprocess-exited-with-error× git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-p8lb0w5q did not run successfully.│ exit code: 128╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error× git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-p8lb0w5q did not run successfully.
│ exit code: 128
╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.

我成功部署的经验及步骤(仅针对git不能用的友友们)

1. 环境安装

python: 3.10 cuda:11.6 保证可以nvcc -V显示版本不然会编译出错
ubuntu:22.04

2. 下载安装包

2.1 tinny-cuda-nn安装包
2.2 cutlass安装包
2.3 fmt安装包
2.2和2.3安装包放置到2.1中的dependencies下

3. 编译

cd tiny-cuda-nn
cmake . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build --config RelWithDebInfo -j

3.1 编译结果

在这里插入图片描述

确保编译成功后再执行安装步骤

cd bindings/torch
python setup.py install

安装结果显示

在这里插入图片描述

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com