repo stringclasses 147
values | number int64 1 172k | title stringlengths 2 476 | body stringlengths 0 5k | url stringlengths 39 70 | state stringclasses 2
values | labels listlengths 0 9 | created_at timestamp[ns, tz=UTC]date 2017-01-18 18:50:08 2026-01-06 07:33:18 | updated_at timestamp[ns, tz=UTC]date 2017-01-18 19:20:07 2026-01-06 08:03:39 | comments int64 0 58 โ | user stringlengths 2 28 |
|---|---|---|---|---|---|---|---|---|---|---|
huggingface/setfit | 178 | Question : evaluation after every training epoch | # Thank you
Hello!
I am Yongtae, a senior ML engineer in japan.
Thank you for publishing a genuinely excellent paper and code.
Few-shot learning and multilingual support are appreciated by engineers like me who work abroad!
# Question
I felt this model easily overfit to train data if the number of epochs is ov... | https://github.com/huggingface/setfit/issues/178 | closed | [
"question"
] | 2022-11-13T09:36:47Z | 2022-12-26T03:12:16Z | null | Yongtae723 |
pytorch/tutorials | 2,117 | Stable Diffusion Question | I am looking to leverage torch.nn.parallel.DistributedDataParallel per the documentation you have written to integrate dual 3090s into a workflow. I am using the automatic repo and after trying multiple things to update the following code to include what you have in the torch wiki, I have been unsuccessful in switchin... | https://github.com/pytorch/tutorials/issues/2117 | closed | [
"question",
"distributed"
] | 2022-11-12T06:18:43Z | 2025-05-12T15:33:35Z | null | jasonewest |
pytorch/TensorRT | 1,449 | โ [Question] How do you compile for multiple GPU architectures? | ## โ Question
How do you compile for multiple GPU architectures? Or do you need to compile one torchscript per architecture?
| https://github.com/pytorch/TensorRT/issues/1449 | closed | [
"question",
"No Activity",
"component: runtime"
] | 2022-11-11T22:02:07Z | 2023-05-04T00:02:18Z | null | dfung |
huggingface/setfit | 173 | How to setup gradient_accumulation? | Hi,
in order to train a model SetFit, I would like simulate a `batch_size` of 16 but with a `batch_size` of 8. For doing that, I need to setup `gradient_accumulation` to 2.
How to do that?
Thanks. | https://github.com/huggingface/setfit/issues/173 | closed | [
"question"
] | 2022-11-10T21:19:52Z | 2022-12-20T08:49:13Z | null | piegu |
huggingface/datasets | 5,226 | Q: Memory release when removing the column? | ### Describe the bug
How do I release memory when I use methods like `.remove_columns()` or `clear()` in notebooks?
```python
from datasets import load_dataset
common_voice = load_dataset("mozilla-foundation/common_voice_11_0", "ja", use_auth_token=True)
# check memory -> RAM Used (GB): 0.704 / Total (GB) 33.670... | https://github.com/huggingface/datasets/issues/5226 | closed | [] | 2022-11-10T18:35:27Z | 2022-11-29T15:10:10Z | 3 | bayartsogt-ya |
huggingface/datasets | 5,225 | Add video feature | ### Feature request
Add a `Video` feature to the library so folks can include videos in their datasets.
### Motivation
Being able to load Video data would be quite helpful. However, there are some challenges when it comes to videos:
1. Videos, unlike images, can end up being extremely large files
2. Often times ... | https://github.com/huggingface/datasets/issues/5225 | open | [
"enhancement",
"help wanted",
"vision"
] | 2022-11-10T17:36:11Z | 2022-12-02T15:13:15Z | 7 | nateraw |
huggingface/optimum | 462 | Add support for EncoderDecoderModel | ### Feature request
There's already support for `marian` and various LLMs. But sometimes users create their own generic `EncoderDecoderModel`, e.g.
```
from transformers import EncoderDecoderModel
from optimum.onnxruntime import ORTModelForSeq2SeqLM
model = EncoderDecoderModel.from_encoder_decoder_pretrained(... | https://github.com/huggingface/optimum/issues/462 | closed | [] | 2022-11-10T13:54:48Z | 2023-09-01T11:11:43Z | 1 | alvations |
huggingface/evaluate | 353 | What is the MAE range in evaluate? | In the MAE demo space, it is indicated that "Each MAE float value ranges from 0.0 to 1.0, with the best value being 0.0."
Doesn't it range from 0 to +inf in general ?
Is it a programmatic constraint added on the evaluate MAE score? | https://github.com/huggingface/evaluate/issues/353 | closed | [] | 2022-11-10T13:29:30Z | 2022-11-16T09:45:15Z | null | clefourrier |
pytorch/kineto | 681 | what is happen when I use torch.profiler.profile with activities=[torch.profiler.ProfilerActivity.CPU, torch.profiler.ProfilerActivity.CUDA] | I use profiler with `activities=[torch.profiler.ProfilerActivity.CPU, torch.profiler.ProfilerActivity.CUDA]`, and get time 0.22ms in cpu time , avg 5.14us in cuda time, and when I use `time.time()` with `torch.cuda.synchronize()`,the result is 0.24 ms. What is the difference between these results๏ผ
My code looks like:
... | https://github.com/pytorch/kineto/issues/681 | closed | [
"question"
] | 2022-11-10T07:19:18Z | 2023-10-10T15:13:14Z | null | qq1243196045 |
pytorch/functorch | 1,060 | aten::all not implemented | When I vmap "torch.all" function, I get the following:
/tmp/ipykernel_39088/2496106444.py:7: UserWarning: There is a performance drop because we have not yet implemented the batching rule for aten::all. Please file us an issue on GitHub so that we can prioritize its implementation. (Triggered internally at /__w/funct... | https://github.com/pytorch/functorch/issues/1060 | closed | [
"actionable",
"high priority",
"small"
] | 2022-11-09T13:01:55Z | 2023-01-11T05:56:13Z | 7 | iliTheFallen |
huggingface/diffusers | 1,204 | [Community] Can we composite Dreambooth network training? | Very impressed with Dreambooth capabilities. I have what i think is a feature request - or perhaps a clarification on what is and is not possible in training networks with Dreambooth. In particular, i was wondering if there was a way to composite two networks to enable embedding of two instances (e.g. an sks dog >and< ... | https://github.com/huggingface/diffusers/issues/1204 | closed | [
"question",
"stale"
] | 2022-11-09T01:59:05Z | 2022-12-21T15:03:19Z | null | felgryn |
huggingface/datasets | 5,216 | save_elasticsearch_index | Hi,
I am new to Dataset and elasticsearch. I was wondering is there any equivalent approach to save elasticsearch index as of save_faiss_index locally for later use, to remove the need to re-index a dataset? | https://github.com/huggingface/datasets/issues/5216 | open | [] | 2022-11-08T23:06:52Z | 2022-11-09T13:16:45Z | 1 | amobash2 |
huggingface/diffusers | 1,168 | What is "class images" mean for dreambooth training? | What is "class images" mean for dreambooth training?
If instance images meaning the subject i want to train on ๏ผ what does "class images" mean? | https://github.com/huggingface/diffusers/issues/1168 | closed | [] | 2022-11-07T03:41:07Z | 2022-11-08T06:07:10Z | null | universewill |
huggingface/transformers | 20,083 | Where is the Translation template ? | I want to translate the doc in leisure time, and I followed the guide, but not found Translation template... | https://github.com/huggingface/transformers/issues/20083 | closed | [] | 2022-11-06T06:44:12Z | 2022-11-14T08:40:44Z | null | bfss |
pytorch/torchx | 648 | Use GPU with `local_docker` | ## ๐ Bug
Can't use GPU with the `local_docker` scheduler.
Module (check all that applies):
* [ ] `torchx.spec`
* [ ] `torchx.component`
* [ ] `torchx.apps`
* [ ] `torchx.runtime`
* [x] `torchx.cli`
* [x] `torchx.schedulers`
* [ ] `torchx.pipelines`
* [ ] `torchx.aws`
* [ ] `torchx.examples`
... | https://github.com/meta-pytorch/torchx/issues/648 | closed | [
"question",
"docker"
] | 2022-11-05T17:31:18Z | 2022-11-13T01:26:30Z | 2 | vwxyzjn |
pytorch/data | 884 | Steps per epoch for training | ### ๐ The feature
For huge datasets, an epoch may take a very long time to complete and it's good practice to perform evaluation and model checkpointing every N steps instead of at the end of an epoch. The tricky part lies at resuming training: how to tell the data loader to start from where it was left off? It would... | https://github.com/meta-pytorch/data/issues/884 | closed | [] | 2022-11-04T16:39:32Z | 2022-11-04T21:00:30Z | 6 | netw0rkf10w |
huggingface/datasets | 5,200 | Some links to canonical datasets in the docs are outdated | As we don't have canonical datasets in the github repo anymore, some old links to them doesn't work. I don't know how many of them are there, I found link to SuperGlue here: https://huggingface.co/docs/datasets/dataset_script#multiple-configurations, probably there are more of them. These links should be replaced by li... | https://github.com/huggingface/datasets/issues/5200 | closed | [
"documentation"
] | 2022-11-04T10:06:21Z | 2022-11-07T18:40:20Z | 1 | polinaeterna |
pytorch/xla | 4,157 | How to wrap a model with dynamo | ## โ Questions and Help
I am trying to add a dynamo model test with
```
import torch
import torch_xla
import torch_xla.core.xla_model as xm
import torch_xla.utils.utils as xu
import torch_xla.debug.metrics as met
import torch._dynamo as dynamo
import torchvision
import unittest
class DynamoBasicTest(unit... | https://github.com/pytorch/xla/issues/4157 | closed | [
"dynamo"
] | 2022-11-04T02:19:01Z | 2022-11-04T22:55:13Z | null | JackCaoG |
huggingface/setfit | 147 | Reproducing RAFT experiments (Table 3) | Hi, I wasn't able to locate the code to reproduce Table 3. I looked in the `scripts` folder but didn't have success.
Any help with this is greatly appreciated!
A side question on the RAFT results: did you use 10 random seeds for this experiment? | https://github.com/huggingface/setfit/issues/147 | closed | [
"question"
] | 2022-11-02T18:34:55Z | 2022-12-13T22:50:48Z | null | dgiova |
pytorch/TensorRT | 1,437 | โ [Question] Are the interpolate plugins with align_corners=True still necessary? | ## โ Question
<!-- Your question -->
## What you have already tried
https://github.com/pytorch/TensorRT/blob/master/core/conversion/converters/impl/interpolate.cpp#L566
This note is in the aten::upsample_bilinear2d converter:
`Align corners and scale factor behave slightly different together in TRT and PyTorch... | https://github.com/pytorch/TensorRT/issues/1437 | closed | [
"question"
] | 2022-11-02T18:26:01Z | 2022-12-15T17:59:25Z | null | mfeliz-cruise |
huggingface/setfit | 145 | SetFit for a large number of classes | Hi there, thanks for releasing such an interesting library.
I am curious if any experiments have been run using SetFit in the extreme multiclass setting, say as `n_classes>=100`? | https://github.com/huggingface/setfit/issues/145 | closed | [
"question"
] | 2022-11-02T16:34:51Z | 2024-05-14T10:46:30Z | null | steve-marmalade |
huggingface/datasets | 5,189 | Reduce friction in tabular dataset workflow by eliminating having splits when dataset is loaded | ### Feature request
Sorry for cryptic name but I'd like to explain using code itself. When I want to load a specific dataset from a repository (for instance, this: https://huggingface.co/datasets/inria-soda/tabular-benchmark)
```python
from datasets import load_dataset
dataset = load_dataset("inria-soda/tabular-b... | https://github.com/huggingface/datasets/issues/5189 | open | [
"enhancement"
] | 2022-11-02T09:15:02Z | 2022-12-06T12:13:17Z | 33 | merveenoyan |
huggingface/datasets | 5,183 | Loading an external dataset in a format similar to conll2003 | I'm trying to load a custom dataset in a Dataset object, it's similar to conll2003 but with 2 columns only (word entity), I used the following script:
features = datasets.Features(
{"tokens": datasets.Sequence(datasets.Value("string")),
"ner_tags": datasets.Sequence(
datasets.featu... | https://github.com/huggingface/datasets/issues/5183 | closed | [] | 2022-11-01T13:18:29Z | 2022-11-02T11:57:50Z | 0 | Taghreed7878 |
huggingface/datasets | 5,182 | Add notebook / other resource links to the task-specific data loading guides | Does it make sense to include links to notebooks / scripts that show how to use a dataset for training / fine-tuning a model?
For example, here in [https://huggingface.co/docs/datasets/image_classification] we could include a mention of https://github.com/huggingface/notebooks/blob/main/examples/image_classificatio... | https://github.com/huggingface/datasets/issues/5182 | closed | [
"enhancement"
] | 2022-11-01T07:57:26Z | 2022-11-03T01:49:57Z | 2 | sayakpaul |
huggingface/datasets | 5,181 | Add a guide for semantic segmentation | Currently, we have these guides for object detection and image classification:
* https://huggingface.co/docs/datasets/object_detection
* https://huggingface.co/docs/datasets/image_classification
I am proposing adding a similar guide for semantic segmentation.
I am happy to contribute a PR for it.
Cc: @os... | https://github.com/huggingface/datasets/issues/5181 | closed | [
"documentation"
] | 2022-11-01T07:54:50Z | 2022-11-04T18:23:36Z | 2 | sayakpaul |
huggingface/datasets | 5,180 | An example or recommendations for creating large image datasets? | I know that Apache Beam and `datasets` have [some connector utilities](https://huggingface.co/docs/datasets/beam). But it's a little unclear what we mean by "But if you want to run your own Beam pipeline with Dataflow, here is how:". What does that pipeline do?
As a user, I was wondering if we have this support for... | https://github.com/huggingface/datasets/issues/5180 | open | [] | 2022-11-01T07:38:38Z | 2022-11-02T10:17:11Z | 2 | sayakpaul |
pytorch/functorch | 1,058 | Cuda Memory Overflow in Jacobian Computation | Hi,
I implemented a Jacobian computation using functorch, but encoutnered a memory overflow issue.
The function that I want to differentiate is `ResidualFunctional.residual`. I'd like to compute the Jacobian of this function w.r.t. its first argument `inputs`.
The output of `ResidualFunctional.residual` is a ... | https://github.com/pytorch/functorch/issues/1058 | open | [] | 2022-10-31T22:29:07Z | 2022-11-08T14:53:53Z | 6 | kayween |
huggingface/optimum | 442 | Add support for ORTModelForObjectDetection | ### Feature request
Hi, I went through optimum's code base and could not find support for object detection models. Is there plan to add ORTModelForObjectDetection just like ORTModelForImageClassification exists? Would be great to have this feature.
Object detection task is also supported as part of transformers `pi... | https://github.com/huggingface/optimum/issues/442 | open | [
"onnxruntime",
"onnx"
] | 2022-10-31T19:59:21Z | 2025-12-05T10:42:26Z | 9 | shivalikasingh95 |
pytorch/pytorch | 88,073 | How to export pytorch model to onnx, with input of List[Tuple[Tensor,Tensor]] and output of List[Tuple[Tensor,Tensor]] | I have no idea how to export this model to onnx. One of the inputs for this model accepts a list of uncertain tuple, each of which contains 2 tensor with size of (2, 1024). This model also returns a list of tuple of two tensors(2, 1024).
How can I export it? I've already searched in pytorch community, but most of th... | https://github.com/pytorch/pytorch/issues/88073 | closed | [
"module: onnx",
"triaged",
"onnx-triaged",
"onnx-needs-info"
] | 2022-10-31T08:22:16Z | 2022-11-22T06:07:07Z | null | yszhou2019 |
pytorch/tutorials | 2,105 | training fail | image https://docs.nvidia.com/deeplearning/tensorrt/container-release-notes/index.html?from=groupmessage
I train my model with ngc docker.
Sometime I train the network (like yolov7 ) , it will let linux disconect and reboot .
How can I debug it to find cause root?
| https://github.com/pytorch/tutorials/issues/2105 | closed | [
"question"
] | 2022-10-30T04:10:22Z | 2022-11-14T20:50:47Z | null | alicera |
pytorch/functorch | 1,057 | Installing functorch breaks torchaudio | I'm following along with [this](https://colab.research.google.com/drive/1GNfb01W_xf8JRu78ZKoNnLqiwcrJrbYG#scrollTo=nBj3vMvIhD9t) colab from the [functorch installation docs](https://pytorch.org/functorch/stable/install.html#colab).
After installing and restarting, when I try to import `torchaudio`, the runtime crash... | https://github.com/pytorch/functorch/issues/1057 | closed | [
"actionable"
] | 2022-10-28T18:16:13Z | 2022-12-09T18:59:35Z | 11 | dellis23 |
pytorch/pytorch | 87,862 | torch.where: `out` kwarg support is undocumented | ### ๐ The doc issue
https://pytorch.org/docs/stable/generated/torch.where.html doesn't mention anything about `out` kwarg support.
Ref:
https://github.com/pytorch/pytorch/blob/aaba0bd30641c56db1dc0550b81fbc458db46276/aten/src/ATen/native/native_functions.yaml#L5653
Eg.
```python
>>> torch.where(x < 0, ... | https://github.com/pytorch/pytorch/issues/87862 | closed | [
"module: docs",
"good first issue",
"actionable"
] | 2022-10-27T14:50:44Z | 2022-10-27T21:03:47Z | null | kshitij12345 |
pytorch/pytorch | 87,789 | Any ideas on how we can convert a model from huggingface (transformers library )to tensorflow lite? | ### ๐ Describe the bug
I want to convert CamembertQuestionAnsewring model to tensoflow lite, i download it from huggingface platform, because when i want to save the model locally it gives me the model with 'bin' format.
i'm asking here because huggingface use pytorch pretrained models.
- when i try to convert... | https://github.com/pytorch/pytorch/issues/87789 | closed | [] | 2022-10-26T16:00:34Z | 2022-10-27T05:40:57Z | null | BENSAFOUAN-Abdelhalim |
huggingface/setfit | 126 | Does num_iterations create duplicate data? | I am trying to get a better understanding behind this hyperparam. As far as I understand, you are iterating over the data `num_iterations` times and create a positive and negative pair by sampling. Could this result in duplicate data?
Also sometimes it tends to result in more examples than potential pairs for exampl... | https://github.com/huggingface/setfit/issues/126 | open | [
"question"
] | 2022-10-26T13:09:52Z | 2022-12-20T09:10:53Z | null | nsorros |
huggingface/datasets | 5,157 | Consistent caching between python and jupyter | ### Feature request
I hope this is not my mistake, currently if I use `load_dataset` from a python session on a custom dataset to do the preprocessing, it will be saved in the cache and in other python sessions it will be loaded from the cache, however calling the same from a jupyter notebook does not work, meaning th... | https://github.com/huggingface/datasets/issues/5157 | closed | [
"enhancement"
] | 2022-10-25T01:34:33Z | 2022-11-02T15:43:22Z | 2 | gpucce |
huggingface/setfit | 120 | Using SetFit Embeddings for Semantic Search? | Hi,
I was wondering if the semantic search would improve if one would train a multilabel-classification model and use those embeddings?
After training a binary classification model I have seen that the embeddings between similar topics on `all-MiniLM-L12-v2` vs `all-MiniLM-L12-v2-setfit` (fitted model) are very c... | https://github.com/huggingface/setfit/issues/120 | open | [
"question"
] | 2022-10-25T00:00:03Z | 2024-07-12T02:02:04Z | null | Raidus |
pytorch/pytorch | 87,564 | Meta impl for pirms.where is incorrect | ### ๐ Describe the bug
```
device = "meta"
pred = torch.randn(5, 5, device=device) > 0
a = torch.rand(5, 5, device=device).t()
out = torch.where(pred, a, 0)
print("pred.stride()", pred.stride())
print("a.stride()", a.stride())
print("out.stride()", out.stride())
pred.stride() (5, 1)
a.stride() (1, 5... | https://github.com/pytorch/pytorch/issues/87564 | closed | [
"triaged",
"module: primTorch",
"module: decompositions"
] | 2022-10-23T01:15:28Z | 2022-10-26T00:48:07Z | null | SherlockNoMad |
huggingface/setfit | 119 | Using SetFit for regression tasks? | I was curious about using SetFit for ordinal Likert scale outcomes (ie IMDB movie reviews). It doesn't seem like an obvious option in the SetFit API. Has anyone tried using SetFit for regression tasks? | https://github.com/huggingface/setfit/issues/119 | open | [
"question"
] | 2022-10-21T19:15:29Z | 2023-02-01T16:48:33Z | null | ericlinML |
pytorch/data | 848 | [RFC] Verify that the docs contain working code and self-contained examples using doctest | ### ๐ The feature
Currently there does not seem to be an automatic way to verify that the examples in the documentation are actually working. This leads to issues like (https://github.com/pytorch/data/issues/433).
An example should also be complete enough so that developers can easily try out the code.
A solu... | https://github.com/meta-pytorch/data/issues/848 | closed | [
"documentation",
"Better Engineering"
] | 2022-10-21T14:45:36Z | 2022-10-27T20:55:48Z | 1 | mathiasburger |
huggingface/dataset-viewer | 614 | [feat req] Alphabetical ordering for splits in dataset viewer | ### Link
https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0
### Description
Currently, the datasets splits for the viewer are displayed in a seemingly random order, see example for [Common Voice 11](https://huggingface.co/datasets/mozilla-foundation/common_voice_11_0):
<img width="1505" alt="Scree... | https://github.com/huggingface/dataset-viewer/issues/614 | closed | [
"question",
"feature request"
] | 2022-10-21T12:11:00Z | 2022-10-26T09:48:29Z | null | sanchit-gandhi |
huggingface/datasets | 5,144 | Inconsistent documentation on map remove_columns | ### Describe the bug
The page [process](https://huggingface.co/docs/datasets/process) says this about the parameter `remove_columns` of the function `map`:
When you remove a column, it is only removed after the example has been provided to the mapped function.
So it seems that the `remove_columns` parameter remo... | https://github.com/huggingface/datasets/issues/5144 | closed | [
"documentation",
"duplicate",
"good first issue",
"hacktoberfest"
] | 2022-10-21T08:37:53Z | 2022-11-15T14:15:10Z | 3 | zhaowei-wang-nlp |
huggingface/setfit | 117 | Using this for code gen? | Can we use this for code generation? | https://github.com/huggingface/setfit/issues/117 | closed | [
"question"
] | 2022-10-20T16:53:59Z | 2022-12-20T09:32:50Z | null | krrishdholakia |
huggingface/datasets | 5,143 | DownloadManager Git LFS support | ### Feature request
Maybe I'm mistaken but the `DownloadManager` does not support extracting git lfs files out of the box right?
Using `dl_manager.download()` or `dl_manager.download_and_extract()` still returns lfs files afaict.
Is there a good way to write a dataset loading script for a repo with lfs files?
##... | https://github.com/huggingface/datasets/issues/5143 | closed | [
"enhancement"
] | 2022-10-20T15:29:29Z | 2022-10-20T17:17:10Z | 2 | Muennighoff |
huggingface/setfit | 116 | How to take advantage of Mac M1 GPUs? | More than an issue, this is a request for help.
Do you have advice on how to take advantage of the Mac M1 Pro GPU for training a model, assuming the underlying Torch implementation provides support?
There are some tutorials on how to use Torch with the MPS driver, but I'm not sure how to signal SetFit to use a sp... | https://github.com/huggingface/setfit/issues/116 | closed | [
"question"
] | 2022-10-20T08:43:24Z | 2024-01-29T16:58:04Z | null | secastro |
huggingface/setfit | 115 | How many samples for setfit? | I understood that setfit is a light weight solution for few shot learning. Two questions came up:
.) What would be a number of samples of class you would switch to standard supervised learning and fine-tuning? E.g. 100 samples?
.) Is there any disadvantage of generating too many pairs (num_iterations) If I have 30 cl... | https://github.com/huggingface/setfit/issues/115 | open | [
"question"
] | 2022-10-20T06:13:41Z | 2023-02-27T10:52:50Z | null | hanshupe |
huggingface/optimum | 424 | Convert Seq2Seq model to ONNX while splitting encoder-decoder. | Hi guys, I've recently been trying to convert my trained BART model to onnx. I've found that when using `transformers.onnx` from transformers, the resulting onnx file is a singular `.onnx` file. However, when using `ORTModelForSequenceClassification.from_pretrained()` and then saving the result I have three files, enco... | https://github.com/huggingface/optimum/issues/424 | closed | [
"question",
"onnxruntime"
] | 2022-10-19T09:17:50Z | 2022-10-20T01:29:30Z | null | ZiyueWangUoB |
huggingface/datasets | 5,135 | Update docs once dataset scripts transferred to the Hub | ## Describe the bug
As discussed in:
- https://github.com/huggingface/hub-docs/pull/423#pullrequestreview-1146083701
we should update our docs once dataset scripts have been transferred to the Hub (and removed from GitHub):
- #4974
Concretely:
- [x] Datasets on GitHub (legacy): https://huggingface.co/docs/dat... | https://github.com/huggingface/datasets/issues/5135 | closed | [
"documentation"
] | 2022-10-19T06:58:19Z | 2022-10-20T08:10:01Z | 0 | albertvillanova |
huggingface/accelerate | 771 | What is the best practice to do inference in bf16 with accelerate during training? | ### System Info
```Shell
Basically, I want to do training with mixed precision and evaluate the model with bfloat16.
I found the model is stored in fp32 after calling acclerate.prepare() and have to convert it to bf16 for faster inference. Can I avoid `explictly` model conversion and make the most use of accelerate?... | https://github.com/huggingface/accelerate/issues/771 | closed | [] | 2022-10-18T13:15:39Z | 2022-10-18T13:32:02Z | null | huchinlp |
huggingface/setfit | 110 | more metrics addition (i.e f1score, precision ) in the trainer.evaluate() | was just checking the code and saw only accuracy as a metrics, are we planning to add more metrics? | https://github.com/huggingface/setfit/issues/110 | closed | [
"question"
] | 2022-10-18T11:03:18Z | 2023-06-26T14:49:05Z | null | snayan06 |
huggingface/setfit | 108 | Are checkpoints directly available with the SetFitTrainer? | Hi, just looking to see if checkpoints are implemented with the SetFitTrainer. Couldn't find it, unlike how the normal models in Hugging Face use `output_dir` for saving checkpoints when training a model. | https://github.com/huggingface/setfit/issues/108 | open | [
"question"
] | 2022-10-17T18:46:13Z | 2022-12-20T09:34:41Z | null | ajmcgrail |
pytorch/vision | 6,779 | How do you put a LibTorch (C++) torch::nn::Module on the CUDA device? | ### ๐ Describe the bug
I get an error when I try to put a `torch::nn::Module` on the CUDA device. How do I put the model on the CUDA device?
```
#include <torch/torch.h>
using namespace torch::indexing;
torch::Device device(torch::kCUDA);
struct Critic_Net : torch::nn::Module {
torch::Tensor next_stat... | https://github.com/pytorch/vision/issues/6779 | closed | [
"question"
] | 2022-10-16T23:36:15Z | 2022-10-17T14:52:20Z | null | MotorCityCobra |
huggingface/datasets | 5,118 | Installing `datasets` on M1 computers | ## Describe the bug
I wanted to install `datasets` dependencies on my M1 (in order to start contributing to the project). However, I got an error regarding `tensorflow`.
On M1, `tensorflow-macos` needs to be installed instead. Can we add a conditional requirement, so that `tensorflow-macos` would be installed on M1... | https://github.com/huggingface/datasets/issues/5118 | closed | [
"bug"
] | 2022-10-16T16:50:08Z | 2022-10-19T09:10:08Z | 1 | david1542 |
pytorch/pytorch | 87,029 | how to add adaptive_max_pool2d_backward_cuda does not have a deterministic implementation, but you set 'torch.use_deterministic_algorithms(True)' | ### ๐ Describe the bug
i have added attention mechanism to yolov5 repo, while doing the training I'm getting this issue , how can I solve this error?
error
i tried to train model using yolov5 command ,& i used C3CBAM attention mechanism , & I'm getting this error
```
!python train.py --img 640 --batch 16 ... | https://github.com/pytorch/pytorch/issues/87029 | closed | [] | 2022-10-16T04:37:56Z | 2022-10-16T05:17:15Z | null | akashAD98 |
pytorch/pytorch | 87,027 | how to add adaptive_max_pool2d_backward_cuda does not have a deterministic implementation, but you set 'torch.use_deterministic_algorithms(True)'. |
I'm adding an attention mechanism on yolov5 to train my model, I added C3CBAM ,& im getting this issue, what should I need to do to solve this issue?
| https://github.com/pytorch/pytorch/issues/87027 | closed | [] | 2022-10-16T04:01:06Z | 2022-10-16T04:33:34Z | null | akashAD98 |
huggingface/setfit | 106 | Function to get probability values of predicted output (like sklearn's predict_proba)? | Hi! I wanted to ask if there was an in-built function to get the probability value of predicted output from a classification task, something like predict_proba() from sklearn?
From what i understand currently the only way to get output is to run SetFitModel([text]), which works similar to sklearn predict(). | https://github.com/huggingface/setfit/issues/106 | closed | [
"question"
] | 2022-10-14T13:45:26Z | 2022-12-20T09:34:57Z | null | a-sharma123 |
pytorch/data | 831 | document of parameter buffer_size in MaxTokenBucketizer is wrong | According to the document [MaxTokenBucketizer](https://pytorch.org/data/main/generated/torchdata.datapipes.iter.MaxTokenBucketizer.html#torchdata.datapipes.iter.MaxTokenBucketizer)
buffer_size โ This restricts how many **tokens** are taken from prior DataPipe to bucketize
However, in the code, [bucketbatcher.py#L27... | https://github.com/meta-pytorch/data/issues/831 | closed | [
"documentation"
] | 2022-10-14T08:41:20Z | 2022-10-17T17:36:48Z | 1 | ling0322 |
pytorch/tensorpipe | 457 | Question: how to disable IB at runtime? | I wonder if there is an environment variable like `NCCL_IB_DISABLE` in NCCL so that I can disable IB at runtime.
Thanks! | https://github.com/pytorch/tensorpipe/issues/457 | open | [] | 2022-10-14T02:22:23Z | 2022-10-14T09:49:57Z | null | jasperzhong |
pytorch/examples | 1,082 | Query on loss calculation in word language model | In the main.py of word language model, I find that in the evaluate function the total_loss is getting multiplied by length of data
https://github.com/pytorch/examples/blob/ca1bd9167f7216e087532160fc5b98643d53f87e/word_language_model/main.py#L163
However in the train function, total_loss is not getting multiplied by... | https://github.com/pytorch/examples/issues/1082 | open | [
"help wanted"
] | 2022-10-14T01:23:15Z | 2022-10-17T21:31:55Z | 0 | AvisP |
huggingface/transformers | 19,592 | Sagemaker Estimator for fine tuning where all the transform code is in the train.py | ### Feature request
I work for a company that is a heavy user of AWS sagemaker. I am on a professional services team where I build a lot of examples for our data scientists to follow. I recently wanted to use the Sagemaker Huggingface estimator to fine tune a transformer and create a model for our custom NLP task.
... | https://github.com/huggingface/transformers/issues/19592 | closed | [] | 2022-10-13T19:24:14Z | 2022-11-21T15:02:11Z | null | j2cunningham |
pytorch/functorch | 1,043 | Is there a way to parallelize or accelerate a loop of column-by-column jvp? | Hi, experts.
I am currently calculating a Jacobian column-by-column and calculating the squared sum of each column to calculate the Trace of the Jacobian.
The code looks something like this:
```
def jvp_func(x, tgt):
return jvp(net, (x,), (tgt,))
tr = 0
for j in range(x[0].shape[0]):
tgt = torch.zer... | https://github.com/pytorch/functorch/issues/1043 | open | [] | 2022-10-11T00:43:43Z | 2022-10-11T21:34:44Z | 3 | kwmaeng91 |
pytorch/torchx | 611 | Kubernetes: Support mounting secrets as a volume | ## Description
<!-- concise description of the feature/enhancement -->
## Motivation/Background
<!-- why is this feature/enhancement important? provide background context -->
Kubernetes has a concept of a secret that can be mounted as a volume to a pod.
https://kubernetes.io/docs/concepts/configuration/se... | https://github.com/meta-pytorch/torchx/issues/611 | open | [
"enhancement",
"module: specs",
"kubernetes"
] | 2022-10-10T18:53:20Z | 2022-10-10T18:56:25Z | 0 | d4l3k |
pytorch/TensorRT | 1,396 | Question about triton example in tutorial | Why using platform: "pytorch_libtorch" while model.pt as Torch TensorRT
> model.pt as platform: "pytorch_libtorch"
instead of
> model.pt as platform: "tensorrt_plan" in [serving_torch_tensorrt_with_triton](https://pytorch.org/TensorRT/tutorials/serving_torch_tensorrt_with_triton.html) | https://github.com/pytorch/TensorRT/issues/1396 | closed | [
"question",
"examples"
] | 2022-10-10T11:57:33Z | 2022-12-15T17:55:53Z | null | allen-ash |
huggingface/setfit | 91 | Using Setfit for similarity classification | Hello,
I would like to test this promising framework on a similarity classification task. So basically, I have got a dataset with 3 columns: (sentence1,sentence2,label). From what I understand, currently it is only possible to train on a single sentence classification problem.
Is there a get around to use Setfit for ... | https://github.com/huggingface/setfit/issues/91 | open | [
"question"
] | 2022-10-07T09:58:09Z | 2025-01-21T10:05:54Z | null | castafra |
pytorch/examples | 1,077 | Running on Windows | ## ๐ Documentation
I'm trying to get DCGAN running on my Windows machine. It appears that the code may not support windows, but this is not mentioned in the readme. Is there a procedure to get it running on Windows?
| https://github.com/pytorch/examples/issues/1077 | open | [] | 2022-10-07T03:11:19Z | 2023-03-21T23:00:09Z | 6 | maxbonzulak |
huggingface/setfit | 86 | num_epochs range | Hi there!
I was wondering whether you can provide a range for typically "good" values to use/test for the argument num_epochs both in the single label classification case and the multi label classification case. Of course, the best performing number depends on the classes to be predicted and the dataset, but in non-FS... | https://github.com/huggingface/setfit/issues/86 | open | [
"question"
] | 2022-10-06T15:35:48Z | 2022-12-20T09:36:09Z | null | fhamborg |
huggingface/setfit | 83 | Running Evaluation | Hi,
Thanks for sharing this work.
I am wondering if it is possible to run evaluation dataset to tune hyperparameters.
The SetFitTrainer doesn't seem to accept arguments like 'evaluation_strategy', 'save_strategy', 'compute_metrics', etc.
Or perhaps Im doing something wrong?
Thanks.
| https://github.com/huggingface/setfit/issues/83 | open | [
"question"
] | 2022-10-06T05:58:19Z | 2022-12-20T09:36:43Z | null | dhkhey |
huggingface/setfit | 81 | Fine-tuning for Question-Answering | Hello,
Can this library be used for fine-tuning a question-answering model with small amount of data as well ?
I have a data that is in the same format with squad data. It has small amount of context, question, and answers data.
Is it possible use this library to fine tune a question-answering model in huggin... | https://github.com/huggingface/setfit/issues/81 | open | [
"question"
] | 2022-10-04T17:47:10Z | 2022-12-20T09:36:55Z | null | ozyurtf |
pytorch/pytorch | 86,205 | How to save only parts of the state_dict() | ### ๐ Describe the bug
Hi, I want to save only a small part of the model.
e.g. A layer requires grad but B layer does not. So I only want to save A layer rather than both A and B . Many thanks!
```
def model(nn.Module):
...
model=model()
model.save(model.state_dict())
```
### Versions
```
Py... | https://github.com/pytorch/pytorch/issues/86205 | closed | [
"module: nn",
"triaged"
] | 2022-10-04T13:47:47Z | 2022-10-13T13:46:21Z | null | CaffreyR |
pytorch/pytorch | 86,204 | How to perform unstructured interpolation | ### ๐ The feature, motivation and pitch
My feature request is very simple, I'm not sure if there already exists some approach or implementation to achieve this functionality.
In scipy, there is scipy.interpolate.NearestNDInterpolator class or scipy.interpolate.LinearNDInterpolator class to achieve unstructured int... | https://github.com/pytorch/pytorch/issues/86204 | open | [
"triaged",
"module: interpolation"
] | 2022-10-04T13:03:50Z | 2022-10-10T11:59:06Z | null | twangnh |
pytorch/TensorRT | 1,388 | โ [Question] How can we use torch_executed_modules? | ## โ Question
Could you give us and example of how to use `torch_executed_modules` in `torch_tensorrt.ts.compile`
## What you have already tried
I tried many things. I would appreciate a little sample of how to use it.
Thanks
| https://github.com/pytorch/TensorRT/issues/1388 | closed | [
"question",
"examples"
] | 2022-10-03T21:55:23Z | 2022-10-04T16:57:03Z | null | mjack3 |
pytorch/functorch | 1,037 | Get intermediate derivatives with nested jacobian and has_aux | Is it possible to get intermediate results with nested jacobian?
Say `functorch.jacfwd `is nested twice with `has_aux=True`, how to get 1st derivative in this case?
```python
import torch
import functorch
def foo(x):
y = torch.cos(x)
return y, y
def nest(fun, num):
bar = fun
for _ in ran... | https://github.com/pytorch/functorch/issues/1037 | closed | [] | 2022-10-03T08:29:27Z | 2022-10-03T16:54:06Z | 2 | i-a-morozov |
pytorch/vision | 6,676 | torchvision.transforms.Normalize has large absolute difference | ### ๐ Describe the bug
By definition, `torchvision.transforms.Normalize` should produce the same results if all input, std, and mean are divided or multiplied by the same number. When I test the API with the following input, I get the absolute difference up to 24978131.5 and the relative difference up to 3.5765e-08 f... | https://github.com/pytorch/vision/issues/6676 | closed | [
"question",
"module: transforms"
] | 2022-10-02T20:56:19Z | 2022-10-03T16:42:13Z | null | jiannanWang |
huggingface/datasets | 5,053 | Intermittent JSON parse error when streaming the Pile | ## Describe the bug
I have an intermittent error when streaming the Pile, where I get a JSON parse error which causes my program to crash.
This is intermittent - when I rerun the program with the same random seed it does not crash in the same way. The exact point this happens also varied - it happened to me 11B tok... | https://github.com/huggingface/datasets/issues/5053 | open | [
"bug"
] | 2022-10-02T11:56:46Z | 2022-10-04T17:59:03Z | 3 | neelnanda-io |
pytorch/examples | 1,075 | Need C++ L2 regularization example | How to add L2 Regularization to a layer like keras
model.add(Dense(kernel_regularizer=regularizers.l2(0.01), activation='elu'))
| https://github.com/pytorch/examples/issues/1075 | closed | [
"help wanted"
] | 2022-10-02T08:35:30Z | 2022-10-04T01:47:36Z | 1 | bitnick10 |
pytorch/functorch | 1,036 | support scan | it would be really nice to be able to eg take models implemented in jax with `jax.lax.scan` and port them over to torch without having to unroll scans over modules | https://github.com/pytorch/functorch/issues/1036 | open | [] | 2022-09-30T18:02:23Z | 2023-02-13T08:41:10Z | 3 | GallagherCommaJack |
pytorch/TensorRT | 1,386 | โ [Question] Why my model is not accelerated by using fp16 ? | ## โ Question
I tried the exact same example in the [notebook](https://github.com/pytorch/TensorRT/blob/master/notebooks/Hugging-Face-BERT.ipynb).
## What you have already tried
see the code (I just copy the code in the [.ipynb](https://github.com/pytorch/TensorRT/blob/master/notebooks/Hugging-Face-BERT.ipynb)... | https://github.com/pytorch/TensorRT/issues/1386 | closed | [
"question",
"No Activity",
"performance"
] | 2022-09-30T16:04:34Z | 2023-01-13T00:02:26Z | null | jcyk |
huggingface/datasets | 5,044 | integrate `load_from_disk` into `load_dataset` | **Is your feature request related to a problem? Please describe.**
Is it possible to make `load_dataset` more universal similar to `from_pretrained` in `transformers` so that it can handle the hub, and the local path datasets of all supported types?
Currently one has to choose a different loader depending on how ... | https://github.com/huggingface/datasets/issues/5044 | open | [
"enhancement"
] | 2022-09-29T17:37:12Z | 2025-06-28T09:00:44Z | 15 | stas00 |
huggingface/setfit | 72 | Few-Shot Named Entity Recognition work | Hi, really like your work, have you considered using this framework for few-shot named entity recognition work? or do you have an example code for it, looking forward to the progress in few-shot named entity recognition! | https://github.com/huggingface/setfit/issues/72 | open | [
"question"
] | 2022-09-29T09:32:11Z | 2022-12-20T09:37:02Z | null | zhanghaok |
pytorch/vision | 6,664 | Add a function to remove degenerate boxes | ### ๐ The feature
This function would filter boxes where x2 <= x1 or y2 <= y1
### Motivation, pitch
Degenerate boxes are filtered in at least two places in the current torchvision code:
* https://github.com/pytorch/vision/blob/f725901dde5bc996fe3d4e163f4d4e7d53720146/torchvision/prototype/transforms/_augment.py
... | https://github.com/pytorch/vision/issues/6664 | closed | [
"question",
"module: transforms"
] | 2022-09-28T19:23:36Z | 2022-09-28T21:54:52Z | null | Quintulius |
pytorch/examples | 1,071 | resnet training on imagenet is failing | ## Environment
pyTorch - upstream code base > 1.12
UB 20.04
GPU - 4
## Steps to Reproduce
`python imagenet/main.py -a resnet50 --dist-url tcp://127.0.0.1:8080 --dist-backend nccl --multiprocessing-distributed --world-size 1 --rank 0 <imagenet data dir> --epochs 3 --batch-size 256 -j64`
## Failure signatur... | https://github.com/pytorch/examples/issues/1071 | closed | [
"bug",
"help wanted"
] | 2022-09-28T06:16:22Z | 2022-09-30T19:42:39Z | 1 | pruthvistony |
pytorch/data | 794 | Does torchdata already work with GCP and Azure blob storage | ### ๐ The feature
We already have an S3 integration and it seems like the S3 API already works with both
* Azure: https://devblogs.microsoft.com/cse/2016/05/22/access-azure-blob-storage-from-your-apps-using-s3-api/
* GCP: https://vamsiramakrishnan.medium.com/a-study-on-using-google-cloud-storage-with-the-s3-compa... | https://github.com/meta-pytorch/data/issues/794 | closed | [] | 2022-09-27T21:37:43Z | 2022-10-20T17:52:35Z | 7 | msaroufim |
pytorch/pytorch | 85,695 | How to load checkpoint from .pt file | ### ๐ Describe the bug
I finetuned T5-large by pytorch lightning and saved a ckpt file.
```
ckpt = torch.load(<ckpt_path>)
print(ckpt.keys())
dict_keys(['epoch', 'global_step', 'pytorch-lightning_version', 'state_dict', 'loops', 'callbacks', 'optimizer_states', 'lr_schedulers', 'hparams_name', 'hyper_parameters... | https://github.com/pytorch/pytorch/issues/85695 | closed | [] | 2022-09-27T08:23:40Z | 2022-09-29T17:38:58Z | null | ZeyiLiao |
pytorch/functorch | 1,030 | Add support for `tree_map` or document recommended alternative | I'm working on testing some models using `functorch` along with `torch-mlir` and IREE. I don't see an analog of jax's `tree_map`. Is this something it makes sense for `functorch` to implement, or is there a recommended alternative? | https://github.com/pytorch/functorch/issues/1030 | open | [] | 2022-09-26T19:20:21Z | 2022-11-12T15:22:23Z | 9 | dellis23 |
pytorch/pytorch | 85,625 | How to install pytorch with cuda 11.7 in anaconda envirment? | ### ๐ The doc issue


could not find the version of cuda 11.7 when use conda or pip
### ... | https://github.com/pytorch/pytorch/issues/85625 | open | [
"triaged"
] | 2022-09-26T13:15:02Z | 2022-10-04T08:23:30Z | null | verigle |
pytorch/TensorRT | 1,379 | Why is size of tensorrt compiled INT8 model after QAT is same as size of FP16 model | ## โ Question
<!-- Your question -->
I have been trying to use INT8 inference for a trained pytorch model.
I followed this:
https://pytorch.org/TensorRT/_notebooks/vgg-qat.html
and
https://docs.nvidia.com/deeplearning/tensorrt/pytorch-quantization-toolkit/docs/tutorials/quant_resnet50.html
**My steps are... | https://github.com/pytorch/TensorRT/issues/1379 | closed | [
"question",
"No Activity",
"component: quantization"
] | 2022-09-26T09:30:28Z | 2023-05-02T15:33:16Z | null | SM1991CODES |
huggingface/datasets | 5,013 | would huggingface like publish cpp binding for datasets package ? | HI:
I use cpp env libtorch, I like use hugggingface ,but huggingface not cpp binding, would you like publish cpp binding for it.
thanks | https://github.com/huggingface/datasets/issues/5013 | closed | [
"wontfix"
] | 2022-09-23T07:42:49Z | 2023-02-24T16:20:57Z | 5 | mullerhai |
huggingface/datasets | 5,012 | Force JSON format regardless of file naming on S3 | I have a file on S3 created by Data Version Control, it looks like `s3://dvc/ac/badff5b134382a0f25248f1b45d7b2` but contains a json file. If I run
```python
dataset = load_dataset(
"json",
data_files='s3://dvc/ac/badff5b134382a0f25248f1b45d7b2'
)
```
It gives me
```
InvalidSchema: No connection adap... | https://github.com/huggingface/datasets/issues/5012 | closed | [
"enhancement"
] | 2022-09-22T18:28:15Z | 2023-08-16T09:58:36Z | 4 | junwang-wish |
huggingface/datasets | 5,000 | Dataset Viewer issue for asapp/slue | ### Link
https://huggingface.co/datasets/asapp/slue/viewer/
### Description
Hi,
I wonder how to get the dataset viewer of our slue dataset to work.
Best,
Felix
### Owner
Yes | https://github.com/huggingface/datasets/issues/5000 | closed | [] | 2022-09-20T16:45:45Z | 2022-09-27T07:04:03Z | 9 | fwu-asapp |
pytorch/data | 782 | Definition of `IterDataPipe` in `pyi` file breaks inheritance path for static type checking | See comments in https://github.com/pytorch/data/pull/780
@pmeier
At list for the first Error, the proper typing should be:
```py
def load(path: pathlib.Path) -> IterDataPipe[Tuple[str, BinaryIO]]:
if path.is_dir():
dp: IterDataPipe = FileLister(str(path), recursive=True)
else:
dp = It... | https://github.com/meta-pytorch/data/issues/782 | open | [
"Better Engineering"
] | 2022-09-20T16:23:07Z | 2023-04-11T16:49:04Z | 3 | ejguan |
pytorch/functorch | 1,024 | Get .item() error without calling .item() | Hello guys, I'm new to this package and I want to calculate batched Jacobian w.r.t a self-implemented vector function. But I got the following error when I'm doing this.
_RuntimeError: vmap: It looks like you're calling .item() on a Tensor. We don't support vmap over calling .item() on a Tensor, please try to rewrit... | https://github.com/pytorch/functorch/issues/1024 | open | [] | 2022-09-20T07:57:25Z | 2022-09-20T12:16:59Z | 1 | LiXinrong1012 |
huggingface/datasets | 4,990 | "no-token" is passed to `huggingface_hub` when token is `None` | ## Describe the bug
In the 2 lines listed below, a token is passed to `huggingface_hub` to get information from a dataset. If no token is provided, a "no-token" string is passed. What is the purpose of it ? If no real, I would prefer if the `None` value could be sent directly to be handle by `huggingface_hub`. I fee... | https://github.com/huggingface/datasets/issues/4990 | closed | [
"bug"
] | 2022-09-19T15:14:40Z | 2022-09-30T09:16:00Z | 6 | Wauplin |
pytorch/examples | 1,063 | question about drop_last=True on validation mode | I don't know why this code use drop_last=True on validation mode.
Also, this code only uses batch_size dividable datas for calculating average top1,5 errors.
And then re-generate auxiliary validation data&dataloader for printing remaining logs.
Can anyone tell me why this code uses this method? | https://github.com/pytorch/examples/issues/1063 | closed | [
"question",
"triaged"
] | 2022-09-19T01:41:05Z | 2022-09-23T04:08:12Z | null | DY112 |
pytorch/TensorRT | 1,362 | โ [Question] Why do you not build & release Windows wheels? | ## โ Question
Just curious why you only make Linux wheels. It seems like since the last release it totally should have been possible for you guys to pre-build windows wheels. Just curious why this is
| https://github.com/pytorch/TensorRT/issues/1362 | closed | [
"question",
"channel: windows"
] | 2022-09-17T14:22:22Z | 2022-09-19T15:53:58Z | null | joeyballentine |
huggingface/datasets | 4,983 | How to convert torch.utils.data.Dataset to huggingface dataset? | I look through the huggingface dataset docs, and it seems that there is no offical support function to convert `torch.utils.data.Dataset` to huggingface dataset. However, there is a way to convert huggingface dataset to `torch.utils.data.Dataset`, like below:
```python
from datasets import Dataset
data = [[1, 2]... | https://github.com/huggingface/datasets/issues/4983 | closed | [
"enhancement"
] | 2022-09-16T09:15:10Z | 2023-12-14T20:54:15Z | 15 | DEROOCE |
pytorch/torchx | 602 | YAML example of submitting a job using kubernetes | ## โ Questions and Help
### Please note that this issue tracker is not a help form and this issue will be closed.
Before submitting, please ensure you have gone through our
[documentation](https://pytorch.org/torchx).
### Question
I am new to use torchx with kubernetes scheduling. I followed the document... | https://github.com/meta-pytorch/torchx/issues/602 | closed | [] | 2022-09-15T22:42:21Z | 2022-10-20T17:44:15Z | 1 | yihaocs |
huggingface/datasets | 4,981 | Can't create a dataset with `float16` features | ## Describe the bug
I can't create a dataset with `float16` features.
I understand from the traceback that this is a `pyarrow` error, but I don't see anywhere in the `datasets` documentation about how to successfully do this. Is it actually supported? I've tried older versions of `pyarrow` as well with the same e... | https://github.com/huggingface/datasets/issues/4981 | open | [
"bug"
] | 2022-09-15T21:03:24Z | 2025-06-12T11:47:42Z | 8 | dconathan |
huggingface/dataset-viewer | 560 | Fill some of the dataset card info automatically? | See https://github.com/huggingface/datasets/issues/4977: `Providing dataset size`
Related issues: https://github.com/huggingface/datasets/issues/3507#issuecomment-1033752157 and https://github.com/huggingface/datasets/issues/4876 | https://github.com/huggingface/dataset-viewer/issues/560 | closed | [
"question",
"feature request"
] | 2022-09-14T16:20:30Z | 2023-06-14T12:15:54Z | null | severo |
pytorch/pytorch | 84,988 | Document how to use parameters in C++ modular API (was How to use torch.nn.Parameter in libtorch cpp?) | ### ๐ Describe the bug
HI Dear torch team:
in pytorch python env ,we always use torch.nn.Parameter for cache some tensor variable ,like this
```
import torch
import torch.nn as nn
memory_value = nn.Parameter(torch.cat([self.init_memory_value.unsqueeze(0) for _ in range(batch_size)], 0).data)... | https://github.com/pytorch/pytorch/issues/84988 | closed | [] | 2022-09-14T06:31:31Z | 2022-09-16T02:59:51Z | null | mullerhai |
pytorch/TensorRT | 1,355 | โ [Question] How can I add torchvision.transforms.functional.gaussian_blur to the conversion? | ## โ Question
How could I make torchvision.transforms.functional.gaussian_blur operation compatible with torch_tensorrt ?
## What you have already tried
Hello. The last step of my forward method is to apply gaussian_blur. Unfortunately this is not compatible with this framework and I must to put it out of the ... | https://github.com/pytorch/TensorRT/issues/1355 | closed | [
"question",
"component: converters",
"No Activity"
] | 2022-09-13T09:34:32Z | 2023-04-23T00:02:34Z | null | mjack3 |
pytorch/pytorch | 84,923 | [FX] How to replace torch.functional with nn.module? TypeError: forward() takes 2 positional arguments but 3 were given | ### ๐ Describe the bug
I would like to use `torch.fx` to replace `toirch.functional` into `nn.module` for further model optimization.
Example:
```Python
# Original
F.adaptive_avg_pool2d(x, 1)
# Target
nn.AdaptiveAvgPool2d(1)
```
Here is my code:
```Python
with model.graph.inserting_before(node):
... | https://github.com/pytorch/pytorch/issues/84923 | closed | [
"fx"
] | 2022-09-13T06:17:55Z | 2022-09-13T07:23:46Z | null | Qinghao-Hu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.