Skip to content

Conversation

@DerrickYLJ
Copy link
Owner

Update pyproject.toml with correct and compatible dependency versions to enable environment recreation.

The previous pyproject.toml was incorrect. This update establishes core dependencies like transformers (>=4.52,<4.53) and torch (>=2.1,<2.6, with Flex Attention features optionally enabling >=2.5) based on API usage detected in the codebase (e.g., scaled_dot_product_attention, flex_attention, use_kernel_forward_from_hub). Optional dependency groups for experiments, Flash Attention, and development are also included.


Open in Cursor Open in Web

Co-authored-by: ly3223 <ly3223@princeton.edu>
@cursor
Copy link

cursor bot commented Sep 12, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

3 participants