(self, *args, **kwargs)
| 68 | return self |
| 69 | |
| 70 | def copy_(self, *args, **kwargs): |
| 71 | # fixes .weight.copy_ in comfy/clip_model/CLIPTextModel |
| 72 | try: |
| 73 | return super().copy_(*args, **kwargs) |
| 74 | except Exception as e: |
| 75 | logging.warning(f"ignoring 'copy_' on tensor: {e}") |
| 76 | |
| 77 | def new_empty(self, size, *args, **kwargs): |
| 78 | # Intel Arc fix, ref#50 |
nothing calls this directly
no outgoing calls
no test coverage detected