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.

Linux CUDA packages don't restore

See original GitHub issue

The Linux CUDA packages failed to restore in the DiffSharp repo build, see https://github.com/DiffSharp/DiffSharp/actions/runs/958984202

         /home/runner/.nuget/packages/libtorch-cuda-11.1-linux-x64-part2-primary/1.9.0.5/buildTransitive/netstandard2.0/libtorch-cuda-11.1-linux-x64-part2-primary.targets(204,5): error MSB4018: The "FileRestitch" task failed unexpectedly. [/home/runner/work/DiffSharp/DiffSharp/bundles/DiffSharp-cuda-linux/DiffSharp-cuda-linux.fsproj]
       /home/runner/.nuget/packages/libtorch-cuda-11.1-linux-x64-part2-primary/1.9.0.5/buildTransitive/netstandard2.0/libtorch-cuda-11.1-linux-x64-part2-primary.targets(204,5): error MSB4018: System.Exception: Error downloading and reviving packages. Reconsituted file contents have incorrect SHA [/home/runner/work/DiffSharp/DiffSharp/bundles/DiffSharp-cuda-linux/DiffSharp-cuda-linux.fsproj]
       /home/runner/.nuget/packages/libtorch-cuda-11.1-linux-x64-part2-primary/1.9.0.5/buildTransitive/netstandard2.0/libtorch-cuda-11.1-linux-x64-part2-primary.targets(204,5): error MSB4018: 	Expected SHA: $94b99584debeb3c52a5d3f173d157db81289d7741923bccbcec10d8b9ff09f0e [/home/runner/work/DiffSharp/DiffSharp/bundles/DiffSharp-cuda-linux/DiffSharp-cuda-linux.fsproj]

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dsymecommented, Jun 22, 2021

Should be fixed by these versions

    <LibTorchNugetVersion>1.9.0.6</LibTorchNugetVersion>
    <TorchSharpVersion>0.91.52672</TorchSharpVersion>

0reactions
dsymecommented, Jun 23, 2021

OK, cool, dotnet / MSBuild can handle > 2GB native binaries as of 6.0.100-preview.5.21302.13, I’ve tested that in the DiffSharp repository. I will adjust the README to indicate that using this toolchain is necessary if consuming libtorch via the LINUX CUDA package.

So we now have both 1.9.0 and Mac support done.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error installing Cuda toolkit: Existing package manager ...
I'm using installer file: cuda_10.2.89_440.33.01_linux.run. I understand I need to remove something I previously installed but don't know what ...
Read more >
can't uninstall CUDA toolkit after trying all 3 methods
I am confident that I have used run file to install my cuda-10.0. Nontheless, I have tried all 3 methods suggested by
Read more >
Updating the CUDA Linux GPG Repository Key
Solution: If you previously used add-apt-repository to enable the CUDA repository, then remove the duplicate entry. sudo sed -i '/developer\.
Read more >
debian - How to recover from a failing Nvidia driver to load?
1 Answer 1 · 1) Uninstall previous driver, CUDA and others linked Nvidia packages: # apt purge nvidia-* · 2) Add contrib and...
Read more >
Different CUDA versions shown by nvcc and NVIDIA-smi
CUDA has 2 primary APIs, the runtime and the driver API. Both have a corresponding version (e.g. 8.0, 9.0, etc.).
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