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
bazel-bin/tensorflow/tools/pip_package/build_pip_package is pointed to tensorflow/tools/pip_package/build_pip_package.sh.
However, build_pip_package.sh --help shows no --gpu option in its usage.
Usage:
./build_pip_package.sh [--src srcdir] [--dst dstdir] [options]
./build_pip_package.sh dstdir [options]
--src prepare sources in srcdir
will use temporary dir if not specified
--dst build wheel in dstdir
if dstdir is not set do not build, only prepare sources
Options:
--project_name <name> set project name to name
--cpu build tensorflow_cpu
--gpudirect build tensorflow_gpudirect
--rocm build tensorflow_rocm
--nightly_flag build tensorflow nightly
Maybe it should be changed to --gpudirect or --rocm now.
And please also consider setting the srcdir for build_pip_package, or else it will use mktemp -d -t tmp.XXXXXXXXXX and break the build when /tmp is not big enough.
I guess "${srcdir}"/tmprocm is for dstdir. So the updated command may be like
Removing the patch label as the upstream PKGBUILD has removed the usage of build_pip_package and uses wheel instead. As such I have reverted the patch. Of course, we will need to add in this patch (at least for building rocm and optrocm in two separate dirs) later on, but I want to sort out the other issues that we encounter in the build first.
In
build()
,bazel-bin/tensorflow/tools/pip_package/build_pip_package --gpu "${srcdir}"/tmprocm
bazel-bin/tensorflow/tools/pip_package/build_pip_package
is pointed totensorflow/tools/pip_package/build_pip_package.sh
.However,
build_pip_package.sh --help
shows no--gpu
option in its usage.Maybe it should be changed to
--gpudirect
or--rocm
now.And please also consider setting the
srcdir
forbuild_pip_package
, or else it will usemktemp -d -t tmp.XXXXXXXXXX
and break the build when/tmp
is not big enough.I guess
"${srcdir}"/tmprocm
is fordstdir
. So the updated command may be likeThe text was updated successfully, but these errors were encountered: