studio-lab-examples
studio-lab-examples copied to clipboard
Example pytorch env
As title, with GPU dependencies installed. Thanks
The below recipe appears fine:
name: pytorch
dependencies:
- python=3.9
- pip
- pip:
- ipywidgets
- conda
- conda:
- ipykernel
- pytorch
- torchvision
Thanks Robin for sharing the yaml example, could you provide more details about the issue you have?
Hi @ioanfr this is not an issue as such, rather a feature request, for a validated env - note I did not test GPU access etc
The validation environment will depend on libraries and framework used by each user. You can find more sample environments here. Also we will continue to add more sample configuration files to create various environments.
An issue I encountered with this env: AttributeError: module 'torch._C' has no attribute '_cuda_setDevice' covered in https://github.com/pytorch/pytorch/issues/33655