Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stylegan2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dsenkin
stylegan2
Commits
ab6468f7
Unverified
Commit
ab6468f7
authored
Dec 28, 2019
by
Gene Kogan
Committed by
GitHub
Dec 28, 2019
Browse files
Options
Downloads
Patches
Plain Diff
circumvent nvcc bug
parent
af6d5e5a
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
dnnlib/tflib/custom_ops.py
+1
-1
1 addition, 1 deletion
dnnlib/tflib/custom_ops.py
with
1 addition
and
1 deletion
dnnlib/tflib/custom_ops.py
+
1
−
1
View file @
ab6468f7
...
...
@@ -61,7 +61,7 @@ def _run_cmd(cmd):
raise
RuntimeError
(
'
NVCC returned an error. See below for full command line and output log:
\n\n
%s
\n\n
%s
'
%
(
cmd
,
output
))
def
_prepare_nvcc_cli
(
opts
):
cmd
=
'
nvcc
'
+
opts
.
strip
()
cmd
=
'
nvcc
--std=c++11 -DNDEBUG
'
+
opts
.
strip
()
cmd
+=
'
--disable-warnings
'
cmd
+=
'
--include-path
"
%s
"'
%
tf
.
sysconfig
.
get_include
()
cmd
+=
'
--include-path
"
%s
"'
%
os
.
path
.
join
(
tf
.
sysconfig
.
get_include
(),
'
external
'
,
'
protobuf_archive
'
,
'
src
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment