Skip to content

OpenRL-Lab/PyTorch_Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyTorch_Tutorial

0. 环境设置

  • Ubuntu or Red Hat
  • Python3.8
  • pip install -r requirements.txt

1. Pytorch 2.0 初探

这部分主要讲torch.comple()函数的使用。详细介绍见: 知乎:PyTorch 2.0初探。 以下是一些测试代码,进入./compile/文件后通过python xxx.py进行运行:

Citing PyTorch_Tutorial

If you use PyTorch_Tutorial in your work, please cite us:

@article{openrl2023ptt,
    title={PyTorch Tutorial},
    author={OpenRL Contributors},
    year={2023},
    howpublished={\url{https://github.com/OpenRL-Lab/PyTorch_Tutorial}},
}