Skip to content

Should the minimal python version be 3.10? #1250

@jmkuebler

Description

@jmkuebler

Hi folks, it seems that the minimal python version should be 3.10.
Otherwise I am getting a syntax error here
https://github.com/vllm-project/llm-compressor/blob/main/src/llmcompressor/modifiers/obcq/base.py#L122-L126

            with (
                torch.no_grad(),
                align_module_device(module),
                CompressionLogger(module) as comp_logger,
            ):

I got the error when running with python 3.8. Installing it in 3.10 it got resolved.

Or am I missing sth?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions