Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

显存几乎沾满,利用率却很低 #390

Open
zhishui3 opened this issue Aug 16, 2021 · 2 comments
Open

显存几乎沾满,利用率却很低 #390

zhishui3 opened this issue Aug 16, 2021 · 2 comments

Comments

@zhishui3
Copy link

不管数据量有多大,显存本身24000MB 多 占用了23000MB多(并且这个数量不变),请问这是怎么回事啊?
用了各种方式都不管用:1、tf.data.TFRecordDataset.cache(),2、tf.data.TFRecordDataset.shard,3、把tf_record 分成多份读取,4、epoch 和batch_size 分别改成 1和16,
最后只能用 session_config.gpu_options.per_process_gpu_memory_fraction
@macanv 求大佬指点!

@sharipp132
Copy link

俺也一样

@Anthony-BGST
Copy link

请问你验证用了多久?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants