Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to train For long context #233

Open
EasonXiao-888 opened this issue Mar 21, 2024 · 1 comment
Open

how to train For long context #233

EasonXiao-888 opened this issue Mar 21, 2024 · 1 comment

Comments

@EasonXiao-888
Copy link

EasonXiao-888 commented Mar 21, 2024

when i train a rwkv-v4 for 4096 context length, it takes error in
if seq_len > rwkv_cuda_kernel.max_seq_length: raise ValueError( f"Cannot process a batch with {seq_len} tokens at the same time, use a maximum of " f"{rwkv_cuda_kernel.max_seq_length} with this model." )

@BlinkDL
Copy link
Owner

BlinkDL commented Mar 26, 2024

change T_MAX in model.py

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

No branches or pull requests

2 participants