libtorch-ffi: test out alternative options for ffi interface to libtorch 2.x

[ bsd3, codegen, library ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Last Documentation]

  • Torch
    • Internal
      • Torch.Internal.Cast
      • Torch.Internal.Class
      • Torch.Internal.Const
      • Torch.Internal.GC
      • Managed
        • Torch.Internal.Managed.Autograd
        • Torch.Internal.Managed.Cast
        • Torch.Internal.Managed.Native
          • Torch.Internal.Managed.Native.Extra
          • Torch.Internal.Managed.Native.Native0
          • Torch.Internal.Managed.Native.Native1
          • Torch.Internal.Managed.Native.Native10
          • Torch.Internal.Managed.Native.Native11
          • Torch.Internal.Managed.Native.Native12
          • Torch.Internal.Managed.Native.Native13
          • Torch.Internal.Managed.Native.Native14
          • Torch.Internal.Managed.Native.Native15
          • Torch.Internal.Managed.Native.Native2
          • Torch.Internal.Managed.Native.Native3
          • Torch.Internal.Managed.Native.Native4
          • Torch.Internal.Managed.Native.Native5
          • Torch.Internal.Managed.Native.Native6
          • Torch.Internal.Managed.Native.Native7
          • Torch.Internal.Managed.Native.Native8
          • Torch.Internal.Managed.Native.Native9
        • Torch.Internal.Managed.Optim
        • Torch.Internal.Managed.Serialize
        • Torch.Internal.Managed.TensorFactories
        • Type
          • Torch.Internal.Managed.Type.C10Dict
          • Torch.Internal.Managed.Type.C10List
          • Torch.Internal.Managed.Type.C10Tuple
          • Torch.Internal.Managed.Type.Context
          • Torch.Internal.Managed.Type.Dimname
          • Torch.Internal.Managed.Type.DimnameList
          • Torch.Internal.Managed.Type.Extra
          • Torch.Internal.Managed.Type.Generator
          • Torch.Internal.Managed.Type.IValue
          • Torch.Internal.Managed.Type.IValueList
          • Torch.Internal.Managed.Type.IntArray
          • Torch.Internal.Managed.Type.Module
          • Torch.Internal.Managed.Type.Scalar
          • Torch.Internal.Managed.Type.StdArray
          • Torch.Internal.Managed.Type.StdString
          • Torch.Internal.Managed.Type.StdVector
          • Torch.Internal.Managed.Type.Storage
          • Torch.Internal.Managed.Type.Symbol
          • Torch.Internal.Managed.Type.Tensor
            • Torch.Internal.Managed.Type.Tensor.Tensor0
            • Torch.Internal.Managed.Type.Tensor.Tensor1
            • Torch.Internal.Managed.Type.Tensor.Tensor2
            • Torch.Internal.Managed.Type.Tensor.Tensor3
          • Torch.Internal.Managed.Type.TensorIndex
          • Torch.Internal.Managed.Type.TensorList
          • Torch.Internal.Managed.Type.TensorOptions
          • Torch.Internal.Managed.Type.Tuple
      • Torch.Internal.Objects
      • Torch.Internal.Type
      • Unmanaged
        • Torch.Internal.Unmanaged.Autograd
        • Torch.Internal.Unmanaged.Native
          • Torch.Internal.Unmanaged.Native.Extra
          • Torch.Internal.Unmanaged.Native.Native0
          • Torch.Internal.Unmanaged.Native.Native1
          • Torch.Internal.Unmanaged.Native.Native10
          • Torch.Internal.Unmanaged.Native.Native11
          • Torch.Internal.Unmanaged.Native.Native12
          • Torch.Internal.Unmanaged.Native.Native13
          • Torch.Internal.Unmanaged.Native.Native14
          • Torch.Internal.Unmanaged.Native.Native15
          • Torch.Internal.Unmanaged.Native.Native2
          • Torch.Internal.Unmanaged.Native.Native3
          • Torch.Internal.Unmanaged.Native.Native4
          • Torch.Internal.Unmanaged.Native.Native5
          • Torch.Internal.Unmanaged.Native.Native6
          • Torch.Internal.Unmanaged.Native.Native7
          • Torch.Internal.Unmanaged.Native.Native8
          • Torch.Internal.Unmanaged.Native.Native9
        • Torch.Internal.Unmanaged.Optim
        • Torch.Internal.Unmanaged.Serialize
        • Torch.Internal.Unmanaged.TensorFactories
        • Type
          • Torch.Internal.Unmanaged.Type.C10Dict
          • Torch.Internal.Unmanaged.Type.C10List
          • Torch.Internal.Unmanaged.Type.C10Tuple
          • Torch.Internal.Unmanaged.Type.Context
          • Torch.Internal.Unmanaged.Type.Dimname
          • Torch.Internal.Unmanaged.Type.DimnameList
          • Torch.Internal.Unmanaged.Type.Extra
          • Torch.Internal.Unmanaged.Type.Generator
          • Torch.Internal.Unmanaged.Type.IValue
          • Torch.Internal.Unmanaged.Type.IValueList
          • Torch.Internal.Unmanaged.Type.IntArray
          • Torch.Internal.Unmanaged.Type.Module
          • Torch.Internal.Unmanaged.Type.Scalar
          • Torch.Internal.Unmanaged.Type.StdArray
          • Torch.Internal.Unmanaged.Type.StdString
          • Torch.Internal.Unmanaged.Type.StdVector
          • Torch.Internal.Unmanaged.Type.Storage
          • Torch.Internal.Unmanaged.Type.Symbol
          • Torch.Internal.Unmanaged.Type.Tensor
            • Torch.Internal.Unmanaged.Type.Tensor.Tensor0
            • Torch.Internal.Unmanaged.Type.Tensor.Tensor1
            • Torch.Internal.Unmanaged.Type.Tensor.Tensor2
            • Torch.Internal.Unmanaged.Type.Tensor.Tensor3
          • Torch.Internal.Unmanaged.Type.TensorIndex
          • Torch.Internal.Unmanaged.Type.TensorList
          • Torch.Internal.Unmanaged.Type.TensorOptions
          • Torch.Internal.Unmanaged.Type.Tuple

Flags

Manual Flags

NameDescriptionDefault
cuda

A flag to link libtorch_cuda.

Disabled
rocm

A flag to link libtorch_hip.

Disabled
gcc

A flag to use gcc on macos

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 2.0.0.0, 2.0.0.1, 2.0.1.0, 2.0.1.1
Dependencies async, base (>=4.7 && <5), bytestring, containers, inline-c (>=0.9.1.10 && <0.10), inline-c-cpp (>=0.5.0.2 && <0.6.0.0), libtorch-ffi-helper, optparse-applicative (>=0.14.3.0), safe-exceptions, sysinfo, template-haskell [details]
License BSD-3-Clause
Copyright 2018 Austin Huang
Author Austin Huang
Maintainer hasktorch@gmail.com
Revised Revision 1 made by junjihashimoto at 2024-12-13T03:47:48Z
Category Codegen
Home page https://github.com/hasktorch/hasktorch#readme
Uploaded by junjihashimoto at 2024-12-13T03:40:34Z
Distributions
Reverse Dependencies 1 direct, 1 indirect [details]
Downloads 38 total (38 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2024-12-13 [all 2 reports]