You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran TorchTrainer.fit and got an unexpected warning:
(RayTrainWorker pid=3415) /Users/bveeramani/GitHub/ray/python/ray/air/_internal/torch_utils.py:122: UserWarning: The given NumPy array is not writable, and PyTorch does not support non-writable tensors. This means writing to this tensor will result in undefined behavior. You may want to copy the array to protect its data or make it writable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at /Users/runner/work/pytorch/pytorch/pytorch/torch/csrc/utils/tensor_numpy.cpp:178.)
The text was updated successfully, but these errors were encountered:
bveeramani
added
bug
Something that is supposed to be working; but isn't
triage
Needs triage (eg: priority, bug/not-bug, and owning component)
air
labels
Aug 18, 2022
bveeramani
changed the title
[AIR] NumPy UserWarning during training
[AIR] Torch UserWarning during training
Aug 18, 2022
What happened + What you expected to happen
I ran
TorchTrainer.fit
and got an unexpected warning:Versions / Dependencies
Ray: 7d981d6
Reproduction script
See "Training a Torch classifier" example.
Issue Severity
Low: It annoys or frustrates me.
The text was updated successfully, but these errors were encountered: