Skip to content

PyTorch 1.12 and 1.13 might need extra arguments for CUDA 11.6 #789

Description

@bfirsh

The default PyTorch 1.12 binary doesn't work with CUDA 11.6, it seems.

Screenshot 2022-11-04 at 15 24 32

This is why there's this bodge:

https://github.com/replicate/cog-stable-diffusion/blob/bbedf972a628f7e3befcf8acb36efdb95a9bebc6/cog.yaml#L5-L7

Looking at the PyTorch website, looks like selecting 11.6 you need that argument:

Screenshot 2022-11-04 at 16 27 46

But for 11.7 you don't need the argument:

Screenshot 2022-11-04 at 16 27 15

We should represent this in the compatibility tables.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions