`datasets.disable_caching` doesn't work
NONE
cc
2025-03-17T02:36:54Z
https://github.com/huggingface/datasets/issues/7448#issuecomment-2727887609
https://api.github.com/repos/huggingface/datasets/issues/7448
IC_kwDODunzps6imEL5
https://api.github.com/repos/huggingface/datasets/issues/comments/2727887609/reactions
2025-03-17T02:36:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2727887609
https://avatars.githubusercontent.com/u/35629974?v=4
https://api.github.com/users/UCC-team/events{/privacy}
https://api.github.com/users/UCC-team/followers
https://api.github.com/users/UCC-team/following{/other_user}
https://api.github.com/users/UCC-team/gists{/gist_id}
https://github.com/UCC-team
UCC-team
MDQ6VXNlcjM1NjI5OTc0
https://api.github.com/users/UCC-team/orgs
https://api.github.com/users/UCC-team/received_events
https://api.github.com/users/UCC-team/repos
https://api.github.com/users/UCC-team/starred{/owner}{/repo}
https://api.github.com/users/UCC-team/subscriptions
User
https://api.github.com/users/UCC-team
public
NONE
Yes I have the same issue.  It's a confusingly named function.  See [here](https://github.com/huggingface/datasets/blob/main/src/datasets/fingerprint.py#L115-L130)

```
...
If disabled, the library will no longer reload cached datasets files when applying transforms to the datasets.
    More precisely, if the caching is disabled:
    - cache files are always recreated
    - cache files are written to a temporary directory that is deleted when session closes
    - cache files are named using a random hash instead of the dataset fingerprint
```

Also, unfortunately the member variable `ds.cache_files` is not populated either.

I'll let you know if I find a solution.
2025-03-22T04:37:06Z
https://github.com/huggingface/datasets/issues/7448#issuecomment-2744978375
https://api.github.com/repos/huggingface/datasets/issues/7448
IC_kwDODunzps6jnQvH
https://api.github.com/repos/huggingface/datasets/issues/comments/2744978375/reactions
2025-03-22T04:37:06Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2744978375
https://avatars.githubusercontent.com/u/5355286?v=4
https://api.github.com/users/hrbigelow/events{/privacy}
https://api.github.com/users/hrbigelow/followers
https://api.github.com/users/hrbigelow/following{/other_user}
https://api.github.com/users/hrbigelow/gists{/gist_id}
https://github.com/hrbigelow
hrbigelow
MDQ6VXNlcjUzNTUyODY=
https://api.github.com/users/hrbigelow/orgs
https://api.github.com/users/hrbigelow/received_events
https://api.github.com/users/hrbigelow/repos
https://api.github.com/users/hrbigelow/starred{/owner}{/repo}
https://api.github.com/users/hrbigelow/subscriptions
User
https://api.github.com/users/hrbigelow
public
When I use `Dataset.from_generator(my_gen)` to load my dataset, it simply skips my changes to the generator function.
I tried `datasets.disable_caching`, but it doesn't work!