diff --git "a/Ascend-PyTorch\347\246\273\347\272\277\346\216\250\347\220\206\346\214\207\345\257\274/PyTorch\347\246\273\347\272\277\346\216\250\347\220\206-\347\216\257\345\242\203\351\203\250\347\275\262\344\270\216\344\275\277\347\224\250\350\257\264\346\230\216.md" "b/Ascend-PyTorch\347\246\273\347\272\277\346\216\250\347\220\206\346\214\207\345\257\274/PyTorch\347\246\273\347\272\277\346\216\250\347\220\206-\347\216\257\345\242\203\351\203\250\347\275\262\344\270\216\344\275\277\347\224\250\350\257\264\346\230\216.md" index 10676e12c3513551b42722c174efeb08a6344d31..214b0c94bb0308082a30c0bc0c069e1bb0bacdb5 100644 --- "a/Ascend-PyTorch\347\246\273\347\272\277\346\216\250\347\220\206\346\214\207\345\257\274/PyTorch\347\246\273\347\272\277\346\216\250\347\220\206-\347\216\257\345\242\203\351\203\250\347\275\262\344\270\216\344\275\277\347\224\250\350\257\264\346\230\216.md" +++ "b/Ascend-PyTorch\347\246\273\347\272\277\346\216\250\347\220\206\346\214\207\345\257\274/PyTorch\347\246\273\347\272\277\346\216\250\347\220\206-\347\216\257\345\242\203\351\203\250\347\275\262\344\270\216\344\275\277\347\224\250\350\257\264\346\230\216.md" @@ -97,6 +97,10 @@ export PATH=$PATH:/usr/local/TensorRT-7.2.3.4/targets/x86_64-linux-gnu/bin ``` +- 配置t4代理以访问外网 + export http_proxy=http://192.168.88.254:8080 + export https_proxy=http://192.168.88.254:8080 + - 添加普通用户 useradd -m your_name passwd your_name @@ -105,9 +109,6 @@ t4上在线推理需要使用sudo安装库: 修改/etc/sudoers添加your_name ALL=(ALL:ALL) ALL your_name用户便可使用sudo命令 - 配置t4代理以访问外网: - export http_proxy=http://192.168.88.254:8080 - export https_proxy=http://192.168.88.254:8080 - 使用说明: - /home/下每个普通用户创建一个自己的目录,原则上只允许用户在自己的这个目录下开发,不要修改其它目录的东西