Isaac Gym 1.5. 4070 ti super 报错不识别 gpu arch

更换电脑后测试代码

python train.py task=Ant checkpoint=runs/Ant_26-21-14-55/nn/last_Ant_ep_500_rew__6816.49_.pth test=True num_envs=64

出现报错:

ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory

参考Python joint_monkey.py ImportError: libpython3.7m.so.1.0: - Isaac Gym - NVIDIA Developer Forums

执行命令后暂时解决问题

export LD_LIBRARY_PATH=/home/blamlight/anaconda3/envs/isaacgym/lib

随后报错:

RuntimeError: nvrtc: error: invalid value for --gpu-architecture (-arch)

更新前环境使用3090,当前使用4070 ti super,已经安装了驱动,但是识别不出架构。

系统驱动:

Conda环境cuda:

/home/blamlight/anaconda3/envs/isaacgym/bin/python /home/blamlight/Documents/Github/Reinforcement-Learning/Pytorch/T_Pytorch.py 
1.8.1+cu111
True
11.1
0
1
NVIDIA GeForce RTX 4070 Ti SUPER
True
8005

Process finished with exit code 0

检查最新Log in | NVIDIA Developer后,没有出现对cuda12.1的更新。所以新建一个使用cuda12.1的conda环境。

PyTorch

name: isaacgym2
channels:
  - pytorch
  - conda-forge
  - defaults
  - nvidia
dependencies:
  - python=3.8
  - torchvision
  - pytorch-cuda=12.1
  - pyyaml>=5.3.1
  - scipy>=1.5.0
  - tensorboard>=2.2.1

随后激活环境在IsaacGym和IsaacGymEnvs中安装相关库即可。

pip install -e .

测试正常运行。

  • 8
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值