zzzzzzzzz

Results 8 issues of zzzzzzzzz

def _grad_norm(self): shared_device = self.param_groups[0]["params"][0].device # put everything on the same device, in case of model parallelism norm = torch.norm( torch.stack([ ((torch.abs(p) if group["adaptive"] else 1.0) * p.grad).norm(p=2).to(shared_device) for group...

LookupError: setuptools-scm was unable to detect version for /home/pyl/pythonproject_pyl/inplace_abn_main. Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs,...

![Image](https://github.com/user-attachments/assets/2462f1b0-e71c-4492-9300-6d0440c3542d)

support
integrations/onnx

![image](https://github.com/user-attachments/assets/739dacd7-cc31-4073-878a-ae2d278dbfbf)

When I run build on windwos, I get the error: https://github.com/onnx/onnx-mlir/blob/main/docs/BuildOnWindows.md ![image](https://github.com/user-attachments/assets/20c85165-53d4-47fa-800c-310afc3130d5) ERROR as follow: ![image](https://github.com/user-attachments/assets/8e7220a9-ef1d-42d7-8ec2-33803bcf1f07) how to fix it?

![image](https://github.com/user-attachments/assets/ab29ac03-810d-4a30-9259-c8389094a9fb)

https://github.com/onnx/onnx-mlir/blob/main/docs/BuildOnWindows.md ![image](https://github.com/user-attachments/assets/8867d915-bd8e-4e72-b7a4-ac82c1a45cbf) `FAILED: src/Accelerators/CMakeFiles/OMAccelerator.dir/Accelerator.cpp.obj D:\VisualStudio\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64\cl.exe /nologo /TP -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ID:\onnx-mlir\llvm-project\llvm\include -ID:\onnx-mlir\llvm-project\build\include -ID:\onnx-mlir\llvm-project\mlir\include -ID:\onnx-mlir\llvm-project\build\tools\mlir\include -ID:\onnx-mlir\onnx-mlir\include -ID:\onnx-mlir\onnx-mlir -ID:\onnx-mlir\onnx-mlir\build /DWIN32 /D_WINDOWS /WX /Zc:inline...