-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Encoding Error on Windows with WandB #143
Comments
borisdayma
pushed a commit
to borisdayma/openai-python
that referenced
this issue
Dec 7, 2022
* overload output type depending on stream literal (openai#142) * Bump to v22 * [numpy] change version (openai#143) * [numpy] change version * update comments * no version for numpy * Fix timeouts (openai#137) * Fix timeouts * Rename to request_timeout and add to readme * Dev/hallacy/request timeout takes tuples (openai#144) * Add tuple typing for request_timeout * imports * [api_requestor] Log request_id with response (openai#145) * Only import wandb as needed (openai#146) Co-authored-by: Felipe Petroski Such <felipe@openai.com> Co-authored-by: Henrique Oliveira Pinto <hponde@openai.com> Co-authored-by: Rachel Lim <rachel@openai.com>
borisdayma
added a commit
to borisdayma/openai-python
that referenced
this issue
Dec 7, 2022
Great catch, and you got the correct fix! |
hallacy
pushed a commit
that referenced
this issue
Dec 7, 2022
Merged
cgayapr
pushed a commit
to cgayapr/openai-python
that referenced
this issue
Dec 14, 2024
* overload output type depending on stream literal (openai#142) * Bump to v22 * [numpy] change version (openai#143) * [numpy] change version * update comments * no version for numpy * Fix timeouts (openai#137) * Fix timeouts * Rename to request_timeout and add to readme * Dev/hallacy/request timeout takes tuples (openai#144) * Add tuple typing for request_timeout * imports * [api_requestor] Log request_id with response (openai#145) * Only import wandb as needed (openai#146) Co-authored-by: Felipe Petroski Such <felipe@openai.com> Co-authored-by: Henrique Oliveira Pinto <hponde@openai.com> Co-authored-by: Rachel Lim <rachel@openai.com>
cgayapr
pushed a commit
to cgayapr/openai-python
that referenced
this issue
Dec 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When syncing with
openai wandb sync
, I get a character encoding issue on one of the run files. This happens specifically on Windows which often struggles with the default encoding on a file withopen(filename)
.One solution is
artifact.new_file(filename, "w", encoding="utf-8")
on line 279 of thewandb_logger.py
which solves the problem locally for me. Alternatively, using a default of"utf-8"
in theartifact.new_file
function should work too, but might have other unintended side effects.Here is the output:
The text was updated successfully, but these errors were encountered: