Skip to content

Conversation

@LeiWang1999
Copy link
Contributor

This pull request includes several changes aimed at removing the attrs library and replacing its usage with a python 3.7+ builtin dataclasses in the codebase. Additionally, it updates various dependency lists and installation scripts to reflect this removal.

Code refactoring:

Dependency updates:

- Remove attrs from base requirements and constraints
- Replace attr.s decorator with @DataClass in memory_plan.py
- Simplify Region class definition using dataclass
- Remove attrs from conda recipe requirements
- Remove attrs from Docker installation scripts for Ubuntu
- Update documentation to remove attrs from pip install instructions
@tqchen tqchen merged commit 5673050 into apache:main Feb 13, 2025
10 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
* Remove attrs dependency and migrate to dataclasses

- Remove attrs from base requirements and constraints
- Replace attr.s decorator with @DataClass in memory_plan.py
- Simplify Region class definition using dataclass

* Remove attrs dependency from installation scripts and documentation

- Remove attrs from conda recipe requirements
- Remove attrs from Docker installation scripts for Ubuntu
- Update documentation to remove attrs from pip install instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants