Sid Sahai

Results 7 comments of Sid Sahai

Do you mean something like this? ``` func marshal(data interface{}) []byte { marshaledData, err := json.Marshal(data) if err != nil { - panic(err) + return []byte("502 Server Error") } return...

Yes that's what will happen right, we are shifting the err check into marshal() func. If its successful marshaledData will get returned and written, else "server error" bytes will get...

Thanks for the context above @exo-pla-net! I'm planning to try and implement the `sample_euler_ancestral` sampler in a new scheduler. I read the `schedulers/scheduling_karras_ve.py` implementation that's similar to `sample_euler` so I'll...

How are you planning to do this? Would be happy to try and help out!

Open ai has a nice notebook around parsing python codebases - https://github.com/openai/openai-cookbook/blob/main/examples/Code_search.ipynb They parse and index all function embeddings and then get the most relevant functions per query using cosine...

Nice! Using ast to parse is probably better. Makes sense, generating documentation would help in searching better. Could be useful to have another intermediate prompt layer and generate class summary...

Its basically a shortcut for `play`, eg the prompt is at line 10, and you want to execute line 11 next, then 12, and so on, so instead of typing...