René's URL Explorer Experiment


Title: Memory consumption issue · Issue #53 · DeepGraphLearning/KnowledgeGraphEmbedding · GitHub

Open Graph Title: Memory consumption issue · Issue #53 · DeepGraphLearning/KnowledgeGraphEmbedding

X Title: Memory consumption issue · Issue #53 · DeepGraphLearning/KnowledgeGraphEmbedding

Description: I use the command: bash run.sh train RotatE FB15k-237 0 0 1024 256 1000 9.0 1.0 0.00005 100000 16 -de to train RotatE on a 11 GB GPU. I ensure it is completely free. I still get the following error: 2022-03-31 19:32:37,370 INFO negative_...

Open Graph Description: I use the command: bash run.sh train RotatE FB15k-237 0 0 1024 256 1000 9.0 1.0 0.00005 100000 16 -de to train RotatE on a 11 GB GPU. I ensure it is completely free. I still get the following error...

X Description: I use the command: bash run.sh train RotatE FB15k-237 0 0 1024 256 1000 9.0 1.0 0.00005 100000 16 -de to train RotatE on a 11 GB GPU. I ensure it is completely free. I still get the following error...

Opengraph URL: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Memory consumption issue","articleBody":"I use the command:\r\n```\r\nbash run.sh train RotatE FB15k-237 0 0 1024 256 1000 9.0 1.0 0.00005 100000 16 -de\r\n```\r\nto train RotatE on a 11 GB GPU. I ensure it is completely free.\r\nI still get the following error:\r\n```\r\n2022-03-31 19:32:37,370 INFO     negative_adversarial_sampling = False\r\n2022-03-31 19:32:37,370 INFO     learning_rate = 0\r\n2022-03-31 19:32:39,079 INFO     Training average positive_sample_loss at step 0: 5.635527\r\n2022-03-31 19:32:39,079 INFO     Training average negative_sample_loss at step 0: 0.003591\r\n2022-03-31 19:32:39,079 INFO     Training average loss at step 0: 2.819559\r\n2022-03-31 19:32:39,079 INFO     Evaluating on Valid Dataset...\r\n2022-03-31 19:32:39,552 INFO     Evaluating the model... (0/2192)\r\n2022-03-31 19:33:38,650 INFO     Evaluating the model... (1000/2192)\r\n2022-03-31 19:34:38,503 INFO     Evaluating the model... (2000/2192)\r\n2022-03-31 19:34:49,981 INFO     Valid MRR at step 0: 0.005509\r\n2022-03-31 19:34:49,982 INFO     Valid MR at step 0: 6894.798660\r\n2022-03-31 19:34:49,982 INFO     Valid HITS@1 at step 0: 0.004733\r\n2022-03-31 19:34:49,982 INFO     Valid HITS@3 at step 0: 0.005076\r\n2022-03-31 19:34:49,982 INFO     Valid HITS@10 at step 0: 0.005646\r\nTraceback (most recent call last):\r\n  File \"codes/run.py\", line 371, in \u003cmodule\u003e\r\n    main(parse_args())\r\n  File \"codes/run.py\", line 315, in main\r\n    log = kge_model.train_step(kge_model, optimizer, train_iterator, args)\r\n  File \"/home/prachi/related_work/KnowledgeGraphEmbedding/codes/model.py\", line 315, in train_step\r\n    loss.backward()\r\n  File \"/home/prachi/anaconda3/envs/py36/lib/python3.6/site-packages/torch/tensor.py\", line 102, in backward\r\n    torch.autograd.backward(self, gradient, retain_graph, create_graph)\r\n  File \"/home/prachi/anaconda3/envs/py36/lib/python3.6/site-packages/torch/autograd/__init__.py\", line 90, in backward\r\n    allow_unreachable=True)  # allow_unreachable flag\r\nRuntimeError: CUDA out of memory. Tried to allocate 1.95 GiB (GPU 0; 10.92 GiB total capacity; 7.41 GiB already allocated; 1.51 GiB free; 1.52 GiB cached)\r\nrun.sh: line 79: \r\nCUDA_VISIBLE_DEVICES=$GPU_DEVICE python -u $CODE_PATH/run.py --do_train \\\r\n    --cuda \\\r\n    --do_valid \\\r\n    --do_test \\\r\n    --data_path $FULL_DATA_PATH \\\r\n    --model $MODEL \\\r\n    -n $NEGATIVE_SAMPLE_SIZE -b $BATCH_SIZE -d $HIDDEN_DIM \\\r\n    -g $GAMMA -a $ALPHA -adv \\\r\n    -lr $LEARNING_RATE --max_steps $MAX_STEPS \\\r\n    -save $SAVE --test_batch_size $TEST_BATCH_SIZE \\\r\n    ${14} ${15} ${16} ${17} ${18} ${19} ${20}\r\n\r\n: No such file or directory\r\n```\r\nI get similar errors on trying to train FB15k using the command in best_config.sh file.\r\nI reduced the batchsize to 500 and it worked but the performance is much less than the numbers reported in the paper.\r\n\r\nI am not sure what is the issue.","author":{"url":"https://github.com/p6jain","@type":"Person","name":"p6jain"},"datePublished":"2022-03-31T14:21:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/53/KnowledgeGraphEmbedding/issues/53"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7bf90213-6c48-5661-d4a3-edeecbfd6def
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE942:284320:A10279:D42BC7:696B5657
html-safe-nonce1788a5038f3c2c073deafbd3b790cad366d90350eb6ff09c366fe44d3900f198
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTQyOjI4NDMyMDpBMTAyNzk6RDQyQkM3OjY5NkI1NjU3IiwidmlzaXRvcl9pZCI6IjE1NjMwODg2MTk2OTU3MjQxMTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf0925a7a864eba0b1e6ba14211f1d5d2f5e1c9449f48c6050a18c06fc51a146e
hovercard-subject-tagissue:1188163127
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DeepGraphLearning/KnowledgeGraphEmbedding/53/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eb6cd899ab15b7464b79e4eda21fda02c90f181c27aaf7df17a54a809269529e/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb6cd899ab15b7464b79e4eda21fda02c90f181c27aaf7df17a54a809269529e/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
og:image:altI use the command: bash run.sh train RotatE FB15k-237 0 0 1024 256 1000 9.0 1.0 0.00005 100000 16 -de to train RotatE on a 11 GB GPU. I ensure it is completely free. I still get the following error...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamep6jain
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/DeepGraphLearning/KnowledgeGraphEmbedding git https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding.git
octolytics-dimension-user_id38018154
octolytics-dimension-user_loginDeepGraphLearning
octolytics-dimension-repository_id167231866
octolytics-dimension-repository_nwoDeepGraphLearning/KnowledgeGraphEmbedding
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id167231866
octolytics-dimension-repository_network_root_nwoDeepGraphLearning/KnowledgeGraphEmbedding
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDeepGraphLearning%2FKnowledgeGraphEmbedding%2Fissues%2F53
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDeepGraphLearning%2FKnowledgeGraphEmbedding%2Fissues%2F53
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=DeepGraphLearning%2FKnowledgeGraphEmbedding
Reloadhttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
Reloadhttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
Reloadhttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
DeepGraphLearning https://github.com/DeepGraphLearning
KnowledgeGraphEmbeddinghttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding
Notifications https://github.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Fork 269 https://github.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Star 1.4k https://github.com/login?return_to=%2FDeepGraphLearning%2FKnowledgeGraphEmbedding
Code https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding
Issues 6 https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues
Pull requests 1 https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulls
Actions https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/actions
Projects 0 https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/security
Please reload this pagehttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
Insights https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulse
Code https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding
Issues https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues
Pull requests https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulls
Actions https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/actions
Projects https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/projects
Security https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/security
Insights https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/pulse
New issuehttps://github.com/login?return_to=https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
New issuehttps://github.com/login?return_to=https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53
Memory consumption issuehttps://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53#top
https://github.com/p6jain
https://github.com/p6jain
p6jainhttps://github.com/p6jain
on Mar 31, 2022https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/issues/53#issue-1188163127
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.