Skip to content

Consider upgrading pytorch version #421

@planetf1

Description

@planetf1

When adding integration tests for #212 I noted I was unable to run alora training on a macbook due to:

ValueError: Grad Scaler with MPS device requires a Pytorch >= 2.8.0

We are currently using 2.7.0 ( 2025-04-23)

2.10.0 -- 2026-01-21
2.9.1  -- 2025-11-20 
2.9.0  -- 2025-10-15 
2.8.0  -- 2025-07-30

Obviously a pytorch upgrade is significant given our usage

We use transformers 4.57.6 as mentioned in #367. This appears to have been validated against recent pytorch versions including 2.10.0

Metadata

Metadata

Assignees

No one assigned

    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