question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add helper to resolve namespace collision

See original GitHub issue

Many projects use a module called datasets, however this is incompatible with huggingface datasets. It would be great if there if there was some helper or similar function to resolve such a common conflict.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
thomwolfcommented, Dec 18, 2020

That’s a interesting option indeed. We’ll think about it.

1reaction
jramapuramcommented, Dec 17, 2020

Alternatively huggingface could consider some submodule type structure like:

import huggingface.datasets import huggingface.transformers

datasets is a very common module in ML and should be an end-user decision and not scope all of python ¯_(ツ)_/¯

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to properly use namespaces to avoid name collision?
I'm a bit confused concerning proper usage of C++ namespaces. It is clear for me how they can help to avoid conflicts (name...
Read more >
Add helper API on RRef to call functions on remote objects
Add helper API on RRef to call functions on remote objects #31743 ... It also avoids the name collision and implicit RPC problems...
Read more >
6.15 — Unnamed and inline namespaces - Learn C++
If you add a v3 namespace and want v3::doSomething() to be the resolved function when you call doSomething() unqualified, then you can just ......
Read more >
Top 10 C++ header file mistakes and how to fix them
Mistake # 1: Not using “include guards” in a header file. · MISTAKE # 2: Incorporating "using namespace" statements at top level in...
Read more >
User Procs and Helper Procs - 2022.1 English - Xilinx
When a user proc uses helper procs, it is recommended to create a sub-namespace under the app and move the user proc and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found