【问题标题】:Using Theano and Lasagne with FIPS Enabled在启用 FIPS 的情况下使用 Theano 和 Lasagne
【发布时间】:2017-03-23 01:02:40
【问题描述】:

我有以下几点:

  • Python 2.7.5
  • 启用 FIPS 的 RHEL 7.3
  • 千层面 (0.2.dev1)
  • Theano (0.9.0)

我使用 pip 安装了 Theano 和 Lasange 没有问题,但是当我导入 lasange 时收到与 FIPS 相关的错误:

$: python
Python 2.7.5 (default, Aug  2 2016, 04:20:16)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lasagne
ERROR (theano.sandbox.cuda): Failed to compile cuda_ndarray.cu: error:060800A3:digital envelope routines:EVP_DigestInit_ex:disabled for fips

是否有一些已知或可用的解决方法?不幸的是,我必须启用 FIPS。

我刚开始使用 Theano 和 Lasagne,所以如果我需要更多帮助来解决问题,我深表歉意。

【问题讨论】:

    标签: theano lasagne theano-cuda


    【解决方案1】:

    截至目前,md5 哈希似乎已被硬编码到库中,并已得到 Theano 开发人员的认可:https://github.com/Theano/Theano/issues/5757

    更新:2017 年 5 月 25 日

    我已修改 theano 代码,使其使用 sha256 而不是 md5。这解决了我遇到的 FIPS 问题,并且没有减慢我一直在运行的任何计算。

    您可以在此处查看拉取请求:https://github.com/Theano/Theano/pull/5916 你可以在这里下载我的更改,直到它被合并:https://github.com/dareneiri/Theano,如果它确实被接受的话。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-14
      • 2017-10-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-07-21
      • 1970-01-01
      • 2017-01-25
      相关资源
      最近更新 更多