Hello PyTorch Community,
I am currently working on a research project that involves an old model developed using PyTorch 0.3.1. Given the advancements in hardware and software, I need to update this model to run on my modern computing environment. Below are the details of my current setup and the libraries involved:
Current Hardware and Software Setup
- Operating System: Ubuntu 20.04
- GPU: 2x NVIDIA 3090 GPUs
- CUDA Version: 12.3 (Base installation)
Original Model’s Environment
- six
- tqdm
- torch==0.3.1
- torchtext==0.2.3
- future
- pyxdameraulevenshtein
Situation
The code was initially designed for an environment with much older hardware and software versions. I am facing compatibility issues, particularly with the CUDA and PyTorch versions. Specifically, PyTorch 0.3.1 does not support CUDA 12.3, and there are substantial API changes between PyTorch 0.3.1 and the current version.
Request
Could anyone provide guidance or best practices on how to effectively update my old PyTorch 0.3.1 code to be compatible with the latest version of PyTorch? I am looking for concrete steps or examples to facilitate this transition.