mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
This reverts commit 2293fe1024.
Reverted https://github.com/pytorch/pytorch/pull/129374 on behalf of https://github.com/malfet due to failing internal ROCM builds with error: ModuleNotFoundError: No module named hipify ([comment](https://github.com/pytorch/pytorch/pull/129374#issuecomment-2562973920))
14 lines
233 B
Python
14 lines
233 B
Python
# Little stub file to get BUILD.bazel to play along
|
|
|
|
import os.path
|
|
import sys
|
|
|
|
|
|
root = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
|
sys.path.insert(0, root)
|
|
|
|
import torchgen.gen
|
|
|
|
|
|
torchgen.gen.main()
|