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

allow forward_fn to accept more arguments #1803

Conversation

mjurbanski-reef
Copy link
Contributor

AFAIK there is no downside, and it does allow some extra innovation when handling request by allowing to monitor HTTP headers or other params etc directly in forward_fn. This also helps with debugging.

While enabling it, I refactored this function a little to reduce code duplication & improve the readability of it.

@gus-opentensor
Copy link
Collaborator

@mjurbanski-reef thank you! We will test this out to ensure backwards compatibility.

@gus-opentensor
Copy link
Collaborator

@mjurbanski-reef we plan on getting this into 7.0.0

@mjurbanski-reef
Copy link
Contributor Author

superseded by #1822 which includes other related changes

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.

None yet

2 participants