Ben Firshman
Ben Firshman
More typing-extensions data... https://canary.discord.com/channels/775512803439280149/979390547477274644/981627994097467482
> I think this is a good design. Cloud storage can pretty much be treated in this way. S3 has a REST API that you can PUT files to. GS...
When we document this, we should also add documentation to the HTTP as noted in #475.
@dependabot rebase
This doesn't work yet unfortunately. I've filed a ticket for it here: https://github.com/replicate/cog/issues/693 You can pass files with the command line like this: ``` cog predict -i image=@C:/../../input.jpg ``` Why...
@afiaka87 any ideas?
Thank you for dissecting this problem! These type things are rather gnarly. This was missing the `typing` import. I've added that, so let's see if the tests pass now.
It is. And come to think of it this is a downside of both (1) and (2) -- it's not obvious Cog is rewriting versions in both cases. Torch/Tensorflow packages...
A bit of interesting data from #325: we have some undocumented options `python_extra_index_urls` and `python_find_links`, but looks like nobody is using these for any public models: https://github.com/search?q=python_find_links+filename%3Acog.yaml&type=code https://github.com/search?q=python_extra_index_urls+filename%3Acog.yaml&type=code
Reopening this because if you fork and do a build, then you don't have any tags locally and the version doesn't get set. https://canary.discord.com/channels/775512803439280149/994294965574303826/1002257687356125295 At Replicate, we rely on the...