KEMBAR78
Input format for pytorch - discussion with Python PEP group · Issue #1505 · pytorch/serve · GitHub
Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Input format for pytorch - discussion with Python PEP group #1505

@msaroufim

Description

@msaroufim

Option 1

Context

Variadic generics mailing list post: https://mail.python.org/archives/list/typing-sig@python.org/thread/3B2TCMCXCQJJXMTGX5POV5I24SDKWXLF/

This new PEP fixes most things but I also really need runtime type checking for this feature to be useful like

Additional Contex

Limitations

https://gist.github.com/msaroufim/6e0645d917c3e664da81c545d4215900

This was fun but will park this work for now

Option 2

Come up with a YAML based format, spec TBD

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions