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

Fix data_tutorial.py #2445

Closed
wants to merge 1 commit into from
Closed

Conversation

ver2king
Copy link

@ver2king ver2king commented Jun 7, 2023

Fixes #1692

Description

Checklist

cc @suraj813

Add the following 2 lines of code for env compatibility (in case Conda is used):

import os
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 7, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2445

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 7f7cbac:
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@netlify
Copy link

netlify bot commented Jun 7, 2023

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit 7f7cbac
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/648106aabb5162000858ae9c
😎 Deploy Preview https://deploy-preview-2445--pytorch-tutorials-preview.netlify.app/beginner/basics/data_tutorial
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@github-actions github-actions bot added intro docathon-h1-2023 A label for the docathon in H1 2023 easy and removed cla signed labels Jun 7, 2023
Comment on lines +53 to +54
import os
os.environ['KMP_DUPLICATE_LIB_OK'] = 'True'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @ver2king , but as mentioned in #1692 (comment) I'm not sure we actually need to do anything. CC @svekars

@svekars svekars closed this Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed docathon-h1-2023 A label for the docathon in H1 2023 easy intro
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UserWarning during Datasets & DataLoaders Tutorial
4 participants