Skip to content
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

RuntimeError: range of [nan, inf] is not finite #3520

Open
ray-lee-94 opened this issue Nov 21, 2024 · 0 comments
Open

RuntimeError: range of [nan, inf] is not finite #3520

ray-lee-94 opened this issue Nov 21, 2024 · 0 comments
Labels
aimet-torch New feature or bug fix for AIMET PyTorch

Comments

@ray-lee-94
Copy link

File "/usr/local/lib/python3.8/dist-packages/aimet_torch/v2/quantization/encoding_analyzer.py", line 172, in collect_stats
histogram = torch.histc(hist_input.to(torch.float), bins=self.num_bins, min=bin_edges[0], max=bin_edges[-1])
RuntimeError: range of [nan, inf] is not finite

@quic-hitameht quic-hitameht added the aimet-torch New feature or bug fix for AIMET PyTorch label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aimet-torch New feature or bug fix for AIMET PyTorch
Projects
None yet
Development

No branches or pull requests

2 participants