Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M metaseq
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 95
    • Issues 95
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 41
    • Merge requests 41
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • metaseq
  • Issues
  • #382
Closed
Open
Issue created Oct 04, 2022 by Administrator@rootOwner

Python version requirement more strict than stated

Created by: EIFY

🐛 Bug

According to https://github.com/facebookresearch/metaseq/blob/c4b33ba6e2cd9b33539bbb5a35d831096bde3282/setup.py#L12-L13 Python >= 3.6 should be compatible. However, since TypedDict was introduced by https://github.com/facebookresearch/metaseq/pull/352, metaseq now effectively requires Python 3.8. Furthermore, since torch==1.10.1+cu113 doesn't support Python 3.10,

pip3 install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html

no longer works for Python >= 3.10.

To Reproduce

Follow setup.md to install metaseq with python < 3.8 or >= 3.10.

Environment

  • metaseq Version: latest main (c4b33ba6)
  • PyTorch Version: 1.10.1+cu113
  • OS (e.g., Linux): Ubuntu 18.04.6 LTS
  • How you installed metaseq: pip
  • Python version: 3.7, 3.10
  • CUDA/cuDNN version: CUDA 11.7
  • GPU models and configuration: 1 x T4
Assignee
Assign to
Time tracking