[`Tests`] Update deprecated `output_type="numpy"` in test files and fix several typos
This pull request updates the deprecated output_type="numpy" to output_type="np" in the test files, and fixes several typos.
@stevhliu
Sorry for the unrelated commit history. I reversed them.
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
Yeah, that is not necessarily about timesteps. I am updating the docstring then?
Yeah, let's just keep the changes that are related to numpy --> np
I couldn't understand. Should I change timesteps to w in the get_guidance_scale_embedding()'s docstring? Plus, in the code, of course.
Sorry I wasn't clear before! Let's keep w in the code and change the docstring from timesteps to w.
- Keep
win the code and change the docstring fromtimestepstow. - Update the parameter description for it. Currently, it says "generate embedding vectors at these timesteps" but that's not the clearest or most accurate. Instead, let's say something like: "Generate embedding vectors with a specified guidance scale to subsequently enrich timestep embeddings."
There are lots of other deprecation warnings in tests. Can/Should I open another PR(s) to update them?
Yeah you can open a separate PR for the deprecation warnings. It'd be better to keep the focus of this PR on just numpy to np and updating the docstring from timestep to w with a clearer parameter description.
Thanks for reviewing and merging!